Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

edge detection to set region of interest

Hi

 

I am trying to create a program that will automatically process many images and save the results in an array, at the moment i can achive this but have to set the region of interest manually. I wish to automatically set the region of interst inside the metal framework and process only the black paper. I have tryed using the straight edge rake function and shape detection function but im just lost as to how i can isolate the edge and then set region of interest from there, instead of one edge i get many small ones. im not sure if im going about it the wrong way or not any help would be appreciated. im using labview 8.2 and vision assistant

thanks jake
0 Kudos
Message 1 of 5
(3,936 Views)

hi,

 

I met the same the problem before. My solution was: doing a threshold looking for the bright object. And it worked. Hope it works with yours.

 

 

0 Kudos
Message 2 of 5
(3,924 Views)

thanks for that i also thresholded the metal frame, and used edge detection to find each edge and used the intersection with the other edge to find the corners of region of interest, it just means i now have to use an untouched image to put the ROI on, i have now come into the problem that the untouched image still gets the overlay and thresholds of my previous image. i will try solve this tomorow though

 

thanks 

 

0 Kudos
Message 3 of 5
(3,917 Views)
Hi all! I am a student using evaluation version of NI Vision assistant 8.6. I have a script file that i want to convert to VI. As you know we cannot do it on a evaluation version. I neither can afford the package right now. Please help me convert the file to VI and C code. Please mail me on snapy050@gmail.com Will be very thankful if some one generously helps. Regards, Snapy
0 Kudos
Message 4 of 5
(3,901 Views)

Hello raj001,

 

 All the Vision Assistant steps can be setup in LabVIEW using the VIs that come with the Vision Development Module. You could try creating your vision application using these VIs. 

 

 

Vivek Nath
National Instruments
Applications Engineer
Machine Vision
0 Kudos
Message 5 of 5
(3,869 Views)