AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

how to get the selection point in pictureBOX

The forum is to discuss topics related to different areas of image processing and computer vision.

how to get the selection point in pictureBOX

Postby piausuk » Wed Apr 27, 2011 4:24 am

Hi, currently i have done my image comparison program by using AForge.NET (Thanks to developer).

But I have some improvement which is compare both image based on the selection area given.
Lest say I have selected an area form Master image on picturebox then compare with the input sample image.

*But what i face was how can i define & get the selection point from picture box after loaded an image.

any expert can help or guide me.
Thanks...
piausuk
 
Posts: 15
Joined: Sun Apr 17, 2011 3:16 pm

Re: how to get the selection point in pictureBOX

Postby andrew.kirillov » Wed Apr 27, 2011 8:31 am

Hello,

piausuk wrote:*But what i face was how can i define & get the selection point from picture box after loaded an image

Not really sure I understood the exact problem - description is a bit confusing ... PictureBox, as many other controls, provide mouse related events, like MouseMove, MouseClick, etc., etc. You may use those events to find coordinates of mouse pointer when user clicks the controls and then moves mouse pointer.

Are you sure the question is related to image processing (which is the topic of this board)? Because if it is not, then you better visit StackOverflow, since this forum is not a generic forum about every possible programming issue.
With best regards,
Andrew


Interested in supporting AForge.NET Framework?
User avatar
andrew.kirillov
Site Admin, AForge.NET Developer
 
Posts: 2567
Joined: Fri Jan 23, 2009 9:12 am
Location: UK

Re: how to get the selection point in pictureBOX

Postby piausuk » Wed Apr 27, 2011 9:37 am

yes, i posted already: http://stackoverflow.com/questions/5799286/area-selection-before-compare-image

but anyway, thank for your advice and i did it already... but now what i need to improve was from single selection to MULTI selection...
piausuk
 
Posts: 15
Joined: Sun Apr 17, 2011 3:16 pm




Return to Image Processing and Computer Vision

cron