Re: [Tutor] New to python: some advises for image processing tool

2009-10-13 Thread Nicola De Quattro
> You currently think about > user interface stuff and not about the real problem, analyzing > spectra of stars. Well, I think is exactly as you say. I've never developed entirely a tool, so I started with the container rather then the content. Thanks for the very useful (however simple) observati

Re: [Tutor] New to python: some advises for image processing tool

2009-10-13 Thread Eike Welk
On Monday 12 October 2009, Nicola De Quattro wrote: > I've started to write something about input image loading and > rotation. My goal is that, from graphical interface, the user will > be able to rotate an image at steps (perhaps using two buttons) or > by entering the amount of degree the image

Re: [Tutor] New to python: some advises for image processing tool

2009-10-13 Thread Stefan Behnel
Nicola De Quattro wrote: > while(var !=q0) > print """ > Please select an action from the menu below: > -- > o) Open an image > +) Rotate the image of 1° clockwise > -) Rotate the image of -1° clockwise >

Re: [Tutor] New to python: some advises for image processing tool

2009-10-12 Thread Nicola De Quattro
Hi all I'm starting with my project (rather slowly...) and I want to give you a little update (and do some trivial questions). I've started to write something about input image loading and rotation. My goal is that, from graphical interface, the user will be able to rotate an image at steps (

Re: [Tutor] New to python: some advises for image processing tool

2009-10-06 Thread Nicola De Quattro
Excuse me for the mistake, this list is a little different with respect to Yahoo Groups. Below my comments: Now I think I could begin with some simple script to come into the Python world, so I'll start building the easiest components of final tool (perhaps opening the image and rot

Re: [Tutor] New to python: some advises for image processing tool

2009-10-05 Thread Wayne
I think you forgot to hit Reply-all, so forwarding on to the list with my response On Mon, Oct 5, 2009 at 11:38 AM, Nicola De Quattro < lead.express...@gmail.com> wrote: > Wayne ha scritto: > >> The most difficult task would be analyzing the image and possibly some of >> the graph generation. >>

Re: [Tutor] New to python: some advises for image processing tool

2009-10-02 Thread Rüdiger Wolf
I remember reading some Python tutorials that where written specifically for Astronomers. Did a search on Google. This is not the tutorial I originally read but maybe you will find it to be useful. http://www.stsci.edu/hst/training/events/Python/readManDispImages_WU.pdf Regards Rudiger On Fri,

Re: [Tutor] New to python: some advises for image processing tool

2009-10-02 Thread Eike Welk
Hello Nicola! For scientific computing there are the Numpy and Scipy libraries: http://www.scipy.org/ For making graphs there is Matplotlib: http://matplotlib.sourceforge.net/ You should join the mailing lists of these projects. For the GUI I would use QT4: http://doc.trolltech.com/4.5/index.h

Re: [Tutor] New to python: some advises for image processing tool

2009-10-02 Thread Sander Sweers
2009/10/2 Stefan Behnel : > Without looking further into your problem, there are two (main) general > purpose image manipulation libraries for Python (that I know of) that you > may want to look at: PIL and ImageMagick. At least ImageMagick supports FITS. There is a python module for fits files. N

Re: [Tutor] New to python: some advises for image processing tool

2009-10-02 Thread Wayne
On Fri, Oct 2, 2009 at 8:44 AM, Stefan Behnel wrote: > Nicola De Quattro wrote: > > So I've to open an image (various formats, first I could need only > > .fits), to process the image in order to select the interesting strip > > containing the star and the spectrum (first image of the link posted

Re: [Tutor] New to python: some advises for image processing tool

2009-10-02 Thread Stefan Behnel
Nicola De Quattro wrote: > So I've to open an image (various formats, first I could need only > .fits), to process the image in order to select the interesting strip > containing the star and the spectrum (first image of the link posted, > but I hope I can select the strip not only in the horizonta

[Tutor] New to python: some advises for image processing tool

2009-10-02 Thread Nicola De Quattro
Hi, I'm a 26 years old Italian engineer. Because to the fact that I'm an astrophile and astronomical tool (expecially under Linux) are not so common, I would like to develop some simple tool for some purposes. Well, I'm not knew to software development but I've never used python. So I want to list