Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make ROI Grid Less than 1 in Image Display Control?

Hello,

I'm using a Vision Development Module Image Display Control in LabVIEW 8.20 for the windows platform. 

In my application I have the user select some reference points on an image that is to be analyzed.  With the Image Display Control, the user can zoom into the image using the standard zoom tool, switch to the ROI Line tool, and match the ROI line to the end-points of the line in the image.  When zoomed in, the resolution of the ROI tool is equal to that of the zoomed image, i.e. one pixel in the image.  Having some sort of automated edge detection to obtain sub-pixel resolution is not a realitically viable option in this application, however, typically the user can interpolate by eye to sub-pixel resolution.  Unfortunately, the ROI tool only allows selection to the nearest pixel.    I can see the property to change the ROI grid spacing, but it seems that the smallest value is 1 pixel.

Is there any way to make the ROI Grid smaller than 1 pixel, e.g. equal to one pixel on the screen?  Or disable the ROI snap-to-grid?

I've thought about overlaying a Picture Control or maybe a colored front panel decoration and using dynamicly registered events to get sub-pixel positioning (it would be positioning at the resolution of the computer screen), but those option may hinder some of the other built in behavior of the Image Display Control that are necessary for my application.  Does anyone have any other ideas?

Thanks.
0 Kudos
Message 1 of 2
(3,499 Views)

Hello Chris,

You are correct that the smallest value for the ROI is one pixel.  If you would like to make the ROI Grid smaller than that, I might recommend using the IMAQ Resample VI which resamples an image to a user-defined size.  This would allow you to display an enlarged image with higher resolution.  I hope this helps.  Please let us know if you would like further clarification or assistance regarding this issue.

 


Best of luck with your application!

Vu D
Applications Engineer

0 Kudos
Message 2 of 2
(3,486 Views)