|
From: Daniel K. <kor...@re...> - 2006-08-08 00:01:34
|
Hey guys:
Charlie I did not find your lasso example so I cooked up mine, I attach it.
Can you give me the file name that contains the new Lasso widget for
"doodling" ?
This is just the start of the lasso or "region of interest" widget I
still have to :
- fill the region with a color
- make it work with layers
- add methods that return the pixel region or the contour coordinates
- make a nice class
If anybody has made such a widget I would love to see the code, I hate
reinventing the wheel.
If there is not such an example such as the lasso tool, can my example
be added to the examples ?
What is the process ?
Anyway, I can't believe there is not such a widget, I thought there must
be some people that use matplotlib for Digital Image Processing ?
Isn't there ?
Any critique on my code would be appreciated, I have never programed
with matplotlib ...
Daniel.
Charlie Moad wrote:
> On 8/4/06, Daniel Kornhauser <kor...@re...> wrote:
>> Hi:
>>
>> Just stared playing with matplotlib, I want to draw a polygon on top of
>> an image to select a region of interest in the image.
>> Does anybody have any example or advice on how to interactively draw a
>> polygon with the mouse by placing it's vertices's one click at a time ?
>> Another case that I have would be just to fill a region with a thick
>> line, searched for a "doodle example" or a "paint example" but could not
>> find them, any advice would be appreciated too.
>
> Look in at the widget examples. There is a new Lasso widget for
> "doodling" and a RectangleSelector.
>
> - Charlie
|