471,330 Members | 1,499 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

Image Processing, Select Area with Mouse

Hey everyone,

My project is nearing completion and I have one last segment to work upon. I have imported images at a certain resolution say 512x512. I essentially want to drag a box for region of interest selection with the mouse for each imported slide. Does anyone know of a past precedent that I can look to for help for this task (most specifically other modules other than PIL to use)?

The most important parts would be storing the area of selection and it's location along with using a mouse to accomplish the goal.

Thanks,
JP

<edit: using Tkinter>
Jun 18 '07 #1
2 4502
bartonc
6,596 Expert 4TB
Hey everyone,

My project is nearing completion and I have one last segment to work upon. I have imported images at a certain resolution say 512x512. I essentially want to drag a box for region of interest selection with the mouse for each imported slide. Does anyone know of a past precedent that I can look to for help for this task (most specifically other modules other than PIL to use)?

The most important parts would be storing the area of selection and it's location along with using a mouse to accomplish the goal.

Thanks,
JP

<edit: using Tkinter>
So, it seems to me that you'll need to "view" an image as a 2D array of values, then select a subset of that array based on mouse coords. Fortunately, a search for scipy pil was fruitful. Hopefully, that will get you going in the right direction.
Jun 18 '07 #2
Thanks for the reply,

I'll look around for the mouse coordinate stuff.

JP
Jun 19 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

15 posts views Thread by Tony Gahlinger | last post: by
4 posts views Thread by Fokke Nauta | last post: by
3 posts views Thread by Maxi | last post: by
9 posts views Thread by Daniel N | last post: by
6 posts views Thread by David Stone | last post: by
reply views Thread by David | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.