Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Thumbnail

I want to display on the frontpanel a thumbnail of the images that are being acquired . The original size of the image is 640x480 pixels. How would I take
that same image and shrink it down to say 64x48 pixels? After the image was snapped using "IMAQ snap", I sent it to "IMAQ set image size", but that
didn't work. Is there any way to do this with the Labview Full Development System?

Thanks
0 Kudos
Message 1 of 5
(3,644 Views)
Perhaps you can find some help here:
http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3EBD756A4E034080020E74861&p_node=DZ52490&p_submitted=N&p_rank=&p_answer=&p_source=External

If not, please send some code examples ...
0 Kudos
Message 2 of 5
(3,644 Views)
And here with thumbnail:

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3F0A556A4E034080020E74861&p_node=DZ52490&p_source=external
0 Kudos
Message 3 of 5
(3,644 Views)
Thanks. Problem is that both of these ways require Vision. I only have Labview Full and the IMAQ1394 toolbox. And since this is only for convenience, I'm not ready to buy Vision just for that. Does anyone know of a way to do it without Vision?
0 Kudos
Message 4 of 5
(3,644 Views)
Hello,

Without Vision then, if you just want to display a smaller image, there is one thing that we could do to accomplish this. NI-IMAQ includes a VI that allows you to convert an image datatype into an array, IMAQ ImagetoArray VI. If you do not have this function, then NI-IMAQ can be downloaded from our website for free.

Once you have converted your image into an array, you can perform a few operations on this array to eliminate any number of pixels and reduce the size to your desired dimensions. From there, since you do not have Vision, then we cannot convert this array back into an image datatype that allows you to perform further processing with IMAQ and Vision functions. You can however use the Flatten Pixmap VI to convert this
2D array into a 1D array that can be displayed on your front panel.

If you do have or get Vision, then the IMAQ Resample VI is included that will automatically perform this resampling and reduce the image to the desired size. Hopefully this gives you some suggestions on what you can do with and without Vision. If you have any other questions or concerns then please let us know.

Regards,
Michael
Applications Engineer
National Instruments
0 Kudos
Message 5 of 5
(3,643 Views)