Re: [Matplotlib-users] Polygon masking possible?

2008-03-28 Thread Chiara Caronna
I am not sure how should I use it any hints? From: [EMAIL PROTECTED] To: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] Polygon masking possible? Date: Fri, 14 Mar 2008 18:03:13 + CC: [EMAIL PROTECTED] On Friday 14

Re: [Matplotlib-users] Polygon masking possible?

2008-03-14 Thread Chiara Caronna
PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Matplotlib-users] Polygon masking possible? CC: matplotlib-users@lists.sourceforge.net Hi, I often do this with ds9 and funtools. ds9 is an astronomy-oriented image viewer (http://hea-www.harvard.edu/RD/ds9/) but you can also use it with numpy

Re: [Matplotlib-users] Polygon masking possible?

2008-03-14 Thread José Gómez-Dans
On Friday 14 March 2008 16:44:54 Chiara Caronna wrote: I tried ds9 and It looks like this is what I would like to do (though I couldn't try funtools, but what you describe is good). DO you think it is possible to make something like this with matplotlib? Thanks a lot for your The initiating

Re: [Matplotlib-users] Polygon masking possible?

2008-03-12 Thread Jae-Joon Lee
Jan 2008 13:50:15 +1300 From: [EMAIL PROTECTED] To: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] Polygon masking possible? Hi Søren, I've put this back on the list in case it's useful to anyone else, or if there are better suggestions or improvements around

[Matplotlib-users] Polygon masking possible?

2008-01-22 Thread Søren Nielsen
Hi, I'm looking for a way to do masking of an Image.. I need to be able to make a circle / box or a user made polygon on an image using the mouse and retrieve the pixellocations of all pixels inside the masked area.. (which will then be processed later) Has anyone tried this? What is the easiest

Re: [Matplotlib-users] Polygon masking possible?

2008-01-22 Thread Angus McMorland
On 22/01/2008, Søren Nielsen [EMAIL PROTECTED] wrote: I'm looking for a way to do masking of an Image.. I need to be able to make a circle / box or a user made polygon on an image using the mouse and retrieve the pixellocations of all pixels inside the masked area.. (which will then be

Re: [Matplotlib-users] Polygon masking possible?

2008-01-22 Thread Angus McMorland
Hi Søren, I've put this back on the list in case it's useful to anyone else, or if there are better suggestions or improvements around. Hope you don't mind. On 22/01/2008, Søren Nielsen [EMAIL PROTECTED] wrote: Yeah i'd like to see your code if I can.. import numpy as n def get_poly_pts(x, y,