[Ilugc] Image processing in 16 bit color depth?

2012-06-25 Thread Arun Venkataswamy
Hi,

Gimp is limited to handling 8 bit color depth only.
Any pointers to a good alternative in Linux to handle 16 bit color depth?
I use UFRaw to manage raw file from the camera and it handles all color
depths. But I need something interactive like Gimp for post processing.

Also, anybody else interested in long exposure photography and/or astro
photography? One tool which is an absolute must is a stacking software.
This seems non existent in the Linux world. My image processing / math
skills are not good enough to write one on my own. Anybody else having any
luck on this? I am forced to depend on my Windows box to do most of the
processing work. Writing a stacking software for Linux does seem inviting
as the monsoons have set in and our telescopes and cameras are locked in...

Regards,
Arun
http://wondroussky.blogspot.in/

கற்றது கைமண் அளவு, கல்லாதது உலகளவு - ஔவையார்
Known is a drop, Unknown is an ocean
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Net Traffic Log

2012-06-25 Thread Balasubramaniam Natarajan
On Sat, Jun 23, 2012 at 11:37 PM, Harisankar P S mai...@hsps.in wrote:

 Hey,

 Is there a way to keep track of the network traffic through all the
 different interface devices in my system. Or a library to do so, I want to
 create a log that store the total size of file transfered since the script
 or program starts running.


vnstat is also good at it.

vnstat -i eth0 -d

 eth0  /  daily

 day rx  | tx  |total|   avg. rate
 +-+-+---
  05/27/12 28.17 MiB |5.02 MiB |   33.19 MiB |3.15 kbit/s
  05/28/12 0 KiB |   0 KiB |   0 KiB |0.00 kbit/s
  05/29/12 20.62 MiB |3.32 MiB |   23.94 MiB |2.27 kbit/s


-- 
Regards,
Balasubramaniam Natarajan
www.etutorshop.com/moodle/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Image processing in 16 bit color depth?

2012-06-25 Thread Balasubramaniam Natarajan
I don't have much idea about this, How about imagemagick ?

-- 
Regards,
Balasubramaniam Natarajan
www.etutorshop.com/moodle/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Tools for simulating network issues

2012-06-25 Thread Suraj Kumar
Hi Bala,

On Mon, Jun 25, 2012 at 10:21 AM, Balachandran Sivakumar 
benignb...@gmail.com wrote:

I guess the tc tool would be of use to you. You can do
 something like this:

 # tc qdisc add dev eth0 root netem delay 100ms

 for adding a 100ms delay to all packets. It can be deleted later. tc
 lets us do a lot of things. This was just an example. A wrapper script
 over tc should be able to do the job.


Thanks. didn't know about tc. Looks like this will be useful for part of my
needs (for atleast simulating latency).

cheers,

  -Suraj

-- 
Career Gear - Industry Driven Talent Factory
http://careergear.in/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Free CAD/AUTOCAD Software

2012-06-25 Thread Rajagopal Swaminathan
Greetings,

On Sun, Jun 24, 2012 at 8:36 AM, Kingsley G. Morse Jr.
kings...@loaner.com wrote:
 Hi Jacob,

 I liked blender better than librecad.

 If I recall correctly, it has better
 documentation, and a more helpful IRC channel.

 I hope that helps,
 Kingsley


For drafting alone, IMHO, Autocad is an overkill.

And there is freecad.
http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Main_Page

etc.

-- 
Regards,

Rajagopal
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Watermark using Composite, Python and Identify

2012-06-25 Thread Balasubramaniam Natarajan
A few days ago I wanted to watermark few of my images on command line and I
wrote this blog
http://bullet-bala.blogspot.in/2012/06/adding-watermark.htmland the
trouble which I had was that the Watermark was either very small or
very big and got out of the final image. The result of which I created a
small python script to extract the Dimension of an image and resize my
Watermarker so my water marker always looks okay on the final image.

Initial step create an watermark image and put in inside
/usr/local/src/watermark1.jpeg or whereever you desire and change the
script accordingly.

Next call my python script on command line like so

Process of Adding
WaterMarkhttp://4.bp.blogspot.com/-wbKms9uXOns/T-gGScyN-yI/ASs/mcbu7XXpjO0/s1600/WaterMarkProcess.jpeg

Python 
Scripthttp://1.bp.blogspot.com/-csmV0mkdgAI/T-gGvcvMHwI/AS8/44f-fRdyVaI/s1600/WaterMarkProcess_PythonScript.jpeg


The text version of the python script is in
herehttp://bullet-bala.blogspot.in/2012/06/watermark-using-composite-python-and.html

-- 
Regards,
Balasubramaniam Natarajan
www.etutorshop.com/moodle/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Tools for simulating network issues

2012-06-25 Thread Balasubramaniam Natarajan

 Thanks. didn't know about tc. Looks like this will be useful for part of my
 needs (for atleast simulating latency).


Just had a look at its manpages, I am happy to learn that at least learned
that such a tool exists.

http://manpages.ubuntu.com/manpages/lucid/man8/tc.8.html
-- 
Regards,
Balasubramaniam Natarajan
www.etutorshop.com/moodle/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Query: Tools for monitoring servers

2012-06-25 Thread Balasubramaniam Natarajan
On Mon, Jun 25, 2012 at 11:16 AM, K.C. Ramakrishna
kcramakris...@yahoo.comwrote:



 I have researched all the usual suspects: Cacti, Nagios, ZenOSS, Zabix?..
 JMX seems to be very popular for tomcat/Java.

 What are your recommendations for handling this scenario? What are the
 pros and cons of various tools and approaches?
 Please do share your thoughts on what will be a good solution. All live
 examples will be very welcome in educating us.


I have used xymon before and it is really good.

http://www.xymon.com/


-- 
Regards,
Balasubramaniam Natarajan
www.etutorshop.com/moodle/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Image processing in 16 bit color depth?

2012-06-25 Thread Rajagopal Swaminathan
Greetings,

On Mon, Jun 25, 2012 at 11:31 AM, Arun Venkataswamy arun...@gmail.com wrote:
 Hi,

 Gimp is limited to handling 8 bit color depth only.

From: http://en.wikipedia.org/wiki/GIMP

[quote]
GEGL
The Generic Graphics Library (GEGL) was first introduced as part of
GIMP on the 2.6 release of GIMP. This initial introduction does not
yet exploit all of the capabilities of GEGL; as of the 2.6 release,
GIMP can use GEGL to perform high bit-depth color operations; because
of this less information is lost when performing color operations.[33]
When fully integrated, GEGL will allow GIMP to have a higher color bit
depth and also a better non-destructive work-flow.
[/quote]


-- 
Regards,

Rajagopal
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Query: Tools for monitoring servers

2012-06-25 Thread Rajagopal Swaminathan
Greetings,

On Mon, Jun 25, 2012 at 11:16 AM, K.C. Ramakrishna
kcramakris...@yahoo.com wrote:
 Hi all,

 We are trying to look into monitoring servers in Beta and Prod environments.

 The stack:
 a. 2(more in future) Front End apache httpd/tomcat/Liferay Servers
 b. Independent CAS-SSO and SOLR servers.
 c. standalone server running webservices (written in Java)
 d. 2MySQL (Percona) servers 1 WRITE server and both READ.
 e. Front end Hardware Load Balancers.

 We want to monitor continuously:
 a. All the Linux boxes and the services running on them,
 b. The performance (and history) of the Java applications too.



While monit helps to some extent, I found Zabbix pretty slick in
handling monitoring requirements. Please explore many templates
available. For example, there was a very good mysql performance
monitor way back in Mid-2010. This zabbix instance was required to
monitor around 250 sites spread across an Indian states for various
services. Did a decent job.

I haven't checked lately as I did not have the need.

From: http://www.zabbix.com/monitor_everything.php

[quote]
Built-in Java Application Server Monitoring
New with Zabbix 2.0 is an ability to monitor Java application servers
over JMX directly - no need for 3rd party modules or integration
layers anymore. Monitor JBoss, Tomcat, Oracle Application Server or
any others with the efficient Zabbix Java gateway.
[/unquote]

HTH


-- 
Regards,

Rajagopal

PS. I tried contacting on LL and left a message
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Image processing in 16 bit color depth?

2012-06-25 Thread Arun Venkataswamy
On Mon, Jun 25, 2012 at 12:23 PM, Rajagopal Swaminathan 
raju.rajs...@gmail.com wrote:

 Greetings,

 On Mon, Jun 25, 2012 at 11:31 AM, Arun Venkataswamy arun...@gmail.com
 wrote:
  Hi,
 
  Gimp is limited to handling 8 bit color depth only.

 From: http://en.wikipedia.org/wiki/GIMP

 [quote]
 GEGL
 The Generic Graphics Library (GEGL) was first introduced as part of
 GIMP on the 2.6 release of GIMP. This initial introduction does not
 yet exploit all of the capabilities of GEGL; as of the 2.6 release,
 GIMP can use GEGL to perform high bit-depth color operations; because
 of this less information is lost when performing color operations.[33]
 When fully integrated, GEGL will allow GIMP to have a higher color bit
 depth and also a better non-destructive work-flow.
 [/quote]


Yes, Support for 16 bits is expected in release 3.0

Regards,
Arun
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Image processing in 16 bit color depth?

2012-06-25 Thread Arun Venkataswamy
On Mon, Jun 25, 2012 at 12:00 PM, Balasubramaniam Natarajan 
bala150...@gmail.com wrote:

 I don't have much idea about this, How about imagemagick ?


Imagemagick supports it. But I am looking for an interactive tool.
Specifically to stretch colors. This has to be done interactively as human
feedback is necessary.

Regards,
Arun
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Query: Tools for monitoring servers

2012-06-25 Thread Suraj Kumar
On Mon, Jun 25, 2012 at 11:16 AM, K.C. Ramakrishna
kcramakris...@yahoo.com wrote:

 Hi all,

 We are trying to look into monitoring servers in Beta and Prod environments.

 The stack:
 a. 2(more in future) Front End apache httpd/tomcat/Liferay Servers
 b. Independent CAS-SSO and SOLR servers.
 c. standalone server running webservices (written in Java)
 d. 2MySQL (Percona) servers 1 WRITE server and both READ.
 e. Front end Hardware Load Balancers.

 We want to monitor continuously:
 a. All the Linux boxes and the services running on them,
 b. The performance (and history) of the Java applications too.

 We are exploring the best ways to monitor the whole setup including alerts 
 and automated restarts etc. We are primarily from a development background 
 with only basic admin experience (basic bash, installations, tuning etc).

 I have researched all the usual suspects: Cacti, Nagios, ZenOSS, Zabix?..
 JMX seems to be very popular for tomcat/Java.

 What are your recommendations for handling this scenario? What are the pros 
 and cons of various tools and approaches?
 Please do share your thoughts on what will be a good solution. All live 
 examples will be very welcome in educating us.

All the tools you've mentioned above are systems level monitoring
applications. While they are also useful, easy to setup and also
needed, they can only give you so much information about your
applications by measuring information about the stuff that is outside
(like the JVM's / the OS's internals).  The problem being that the
application we care about is treated like a Black Box. This may be
useful if we had a well behaving / well understood black box. But
usually we don't - even if we do, it changes.

I've found the following general pattern of practical Dev Ops
problems occur frequently at work:

Scenario#1:
* The ops says From insert system monitoring tool, we see that
network I/O has increased since last launch. We believe that
performance can increase if our application reduced excessive fetches
and instead chose to cache or preload
* The dev says Well, you guys seem to be running insert operational
monitoring / management tool on *your* machines for management. It is
not the problem of our application. We are not at fault! We have done
nothing that increases reads. We deny it all!

(replace network I/O with anything that cannot be pin pointed)

Scenario#2:
* The ops says From insert system monitoring tool, we see that
there was a CPU spike. Any idea what happened? Here are the
application's logs from the time
* Dev says We don't know which function/component/part caused it. We
will try to reproduce it in the lab. (and usually, no lab can be as
hairy as reality)

At the last startup I worked (which is no longer a startup and was
serving close to half a million requests per second as of 6 months
ago), we zero'ed in on mondemand to do white box metrics measurement
to tackle the above mentioned frequently recurring scenarios. See
http://mondemand.org/ . We chose LWES as the transport, but that was
based on our setup. YMMV.

mondemand requires instrumenting one's code. mondemand also requires
one-time investment in effort towards collectively brainstorming about
what metrics we want to measure and how we will measure it by putting
the app and business in focus. But once done, the pay off is self
evident due to the black box turning into a 'white box'.

In terms of the above mentioned system tools (zabbix, nagios, etc.,) -
it is my opinion that the incremental advantage over each other may be
negligible since almost all of them provide extensibility (plugins /
extensions).

The distinct advantages of mondemand are:

1. when the app is Java and the system is Unix, there is a large gap
created between the dev and the ops. Unix'y things like signals,
controlling I/O streams (logging), controlling priority or even
measuring memory used, etc., are difficult to achieve. Yes, JMX can
help, somewhat, but again JMX is a means of measuring/controlling the
Java system (not the app).
2. As mentioned above, white box measurement is the biggest gain.
3. App can react to outside events - not only within the system but
also networked events (ex: if you restarted the DB, the DB restart
script could emit an event and the app can react by reestablishing
the connection)

Yes, a small performance penalty for all of this - but, IMHO, it is worth it. :)

cheers,

  -Suraj

--
Career Gear - Industry Driven Talent Factory
http://careergear.in/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Image processing in 16 bit color depth?

2012-06-25 Thread amartyo banerjee
Hi,

On Mon, Jun 25, 2012 at 12:30 PM, Arun Venkataswamy arun...@gmail.com wrote:
 On Mon, Jun 25, 2012 at 12:00 PM, Balasubramaniam Natarajan 
 bala150...@gmail.com wrote:

 I don't have much idea about this, How about imagemagick ?


 Imagemagick supports it. But I am looking for an interactive tool.
 Specifically to stretch colors. This has to be done interactively as human
 feedback is necessary.


I remember playing with a tool called Cinepaint: http://www.cinepaint.org/

IIRC, they were a fork from the 1.0 series of Gimp. They were able to
handle 16-bit per channel images when GEGL was still on the drawing
board. See http://www.cinepaint.org/cinepaint-docs/ to decide if it
meets your needs.

Amartyo
 Regards,
 Arun
 ___
 ILUGC Mailing List:
 http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Image processing in 16 bit color depth?

2012-06-25 Thread Arun Venkataswamy
On Mon, Jun 25, 2012 at 1:20 PM, amartyo banerjee amar...@gmail.com wrote:

 Hi,

 On Mon, Jun 25, 2012 at 12:30 PM, Arun Venkataswamy arun...@gmail.com
 wrote:
  On Mon, Jun 25, 2012 at 12:00 PM, Balasubramaniam Natarajan 
  bala150...@gmail.com wrote:
 
  I don't have much idea about this, How about imagemagick ?
 
 
  Imagemagick supports it. But I am looking for an interactive tool.
  Specifically to stretch colors. This has to be done interactively as
 human
  feedback is necessary.
 

 I remember playing with a tool called Cinepaint: http://www.cinepaint.org/


Thanks for the link. I will check this out.
Also, got to know that 16 bit color depth is now supported in the
development branch of Gimp. Hope to download the source and compile it some
time soon.

Regards,
Arun
http://wondroussky.blogspot.in/

கற்றது கைமண் அளவு, கல்லாதது உலகளவு - ஔவையார்
Known is a drop, Unknown is an ocean
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Image processing in 16 bit color depth?

2012-06-25 Thread amartyo banerjee
Hi,

On Mon, Jun 25, 2012 at 11:31 AM, Arun Venkataswamy arun...@gmail.com wrote:
 Hi,


snip


 Also, anybody else interested in long exposure photography and/or astro
 photography? One tool which is an absolute must is a stacking software.
 This seems non existent in the Linux world. My image processing / math
 skills are not good enough to write one on my own. Anybody else having any
 luck on this? I am forced to depend on my Windows box to do most of the
 processing work. Writing a stacking software for Linux does seem inviting
 as the monsoons have set in and our telescopes and cameras are locked in...


On the following link:
http://www.heroinewarrior.com/movies.php
 please see the writeup for 'MOTION DEMO 5'. Is the process described
there what you are trying to do? If so, maybe you could use the
software called Cinelerra, available at:
http://www.heroinewarrior.com/cinelerra.php
or at
http://cinelerra.org/


Also a google search for stacking software to use in astrophotography
under linux suggests the following links:

http://exposit.disjunkt.com/
http://dulle.free.fr/alidade/siril.php?lan=en

These are apparently dedicated stacking software. Please check if they
are what you are looking for, and up the mark in terms of usability
and quality.

Regards

Amartyo
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Net Traffic Log

2012-06-25 Thread Bharathi Subramanian
On Sun, Jun 24, 2012 at 2:07 AM, Harisankar P S wrote:

 Is there a way to keep track of the network traffic through all the
 different interface devices in my system. Or a library to do so, I want to
 create a log that store the total size of file transfered since the script
 or program starts running.

May be a script that monitor the Rx/Tx packet counts from ifconfig
output. You can start and stop this script along with your target
application.

Bye :)
-- 
Bharathi Subramanian
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Image processing in 16 bit color depth?

2012-06-25 Thread Arun Venkataswamy
On Mon, Jun 25, 2012 at 3:06 PM, amartyo banerjee amar...@gmail.com wrote:

 On Mon, Jun 25, 2012 at 11:31 AM, Arun Venkataswamy arun...@gmail.com
 wrote: Also, anybody else interested in long exposure photography and/or
 astro
  photography? One tool which is an absolute must is a stacking software.
  This seems non existent in the Linux world. My image processing / math
  skills are not good enough to write one on my own. Anybody else having
 any
  luck on this? I am forced to depend on my Windows box to do most of the
  processing work. Writing a stacking software for Linux does seem inviting
  as the monsoons have set in and our telescopes and cameras are locked
 in...
 

 On the following link:
 http://www.heroinewarrior.com/movies.php
  please see the writeup for 'MOTION DEMO 5'. Is the process described
 there what you are trying to do? If so, maybe you could use the
 software called Cinelerra, available at:
 http://www.heroinewarrior.com/cinelerra.php
 or at
 http://cinelerra.org/


Stacking in astronomy is the process of  adding exposures (shots). That
is, if you take 20 Nos of 2 minute exposures (shots), a `stacking` software
will allow you to combine the 20 shots to create an image with apparent
information you could get with 20X2 = 40 minutes of exposure. Your links
below are perfect.


 Also a google search for stacking software to use in astrophotography
 under linux suggests the following links:

 http://exposit.disjunkt.com/



This is a good link. Thanks.
It is very basic. Might be a good starting point for me to develop on top
of this.
This app seems to simply add frames together. Normally,

   - Individual shots need to be `registered`, that is clip and realign the
   stars in each frame so that the pixels can be overlapped blindly - Not
   Done, assumes input is already aligned.
   - Dark frame subtraction, that is, remove camera's signature noise at
   given ambient condition - Done
   - Vignetting subtraction, that is equalize bright and dark areas for a
   given camera and lens combination - Done
   - Actual stacking - New apps in the windows world have about 6 ways this
   can be done. Some of them return incredible results.  Will try to work on
   this.




 http://dulle.free.fr/alidade/siril.php?lan=en


It claims to be a clone of IRIS. IRIS is one app which is so imposing and
has such a steep learning curve I have never been able to use it properly.
So can't comment on this.


Thanks for the links

Regards,
Arun
http://wondroussky.blogspot.in/

கற்றது கைமண் அளவு, கல்லாதது உலகளவு - ஔவையார்
Known is a drop, Unknown is an ocean
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Fwd: [Inpycon] PyCon India 2012 - Registrations are open

2012-06-25 Thread Sathishkumar Duraisamy
Early Bird Registration Sold Out!!! :-(

Regards,
Sathishkumar D
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Request for Workshop reg

2012-06-25 Thread Dinesh Infotech
Hi all,
  I am Dinesh doing final year IT in Kongu Engineering
College,Perundurai. We are planning to conduct a LAMP workshop.
But I don't know whom to contact about this.Is anyone is ready to come or
pls send some suggestion about this.
Thanks in advance..

-- 
With regards,
Dinesh Infotech
https://dineshbeginner.wordpress.com/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] remote_desktop_viewer

2012-06-25 Thread rmariya sagaya asirvatham
Dear ilugcs,

please share any of the best open source best remote desktop monitoring
tool for Ubuntu system .

-- 
with thanks
(Asir)R.Mariya Sagaya Asirvatham
9994226499
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc