473,386 Members | 1,793 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 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 4765
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

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

Similar topics

5
by: Roger Shrubber | last post by:
I have a page with images that the user can drag from one frame to another. I need them to see a "ghost image" of the image they are dragging, while the original stays put. I use the onmousemove...
15
by: Tony Gahlinger | last post by:
I'm using my browser (Mozilla/5.0 Linux i686 Gecko/20031007 Firebird/0.7) to do some client-side image processing. I want to capture the sequence of coordinates a user clicks on in xxx.jpg in the...
4
by: Fokke Nauta | last post by:
Hi all, I am searching for a script which does the following: I have a frameset with two pages: left and right. On the left page there is an image map. When I hover the mouse over a certain...
3
by: Maxi | last post by:
All areas surrounded to the center area has files Thumbnail1.jpg......Thumbnail8.jpg. What I want to do is whenever user moves his/her mouse in Thumbnail 1 area, the center area should show...
3
by: lofty00 | last post by:
hello, sorry about the repost - I've been posting to several groups and I've decided it's better to make a single repost to all of them rather than an extra post in each. I've been trying to...
9
by: Daniel N | last post by:
Is it possible to determine if the image under a mouse changes in VB.net code? For example if I position the mouse using the command; Windows.Forms.Cursor.Position = New System.Drawing.Point(680,...
5
by: rejoybhaskar | last post by:
guys, I need a small help here.. could u please tell me how i can change the color of a portion of an image on selecting that area with mouse. please. for e.g: we have the skeleton of human...
6
by: David Stone | last post by:
I have a simple question about the alt content of area elements within an image map: is it redundant to include phrases such as "link to..." or "jump to..."? My initial thought is 'yes', since...
0
by: David | last post by:
What I want is display a window with a image, the user select a region of If it's your apps own window, then getting a rectangle selected by the user is simple. 1) Make skeleton...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.