Hello,
I am working on a projet and i need to reduce and to zoom the picture. so i can place points in it,
can you help me creating a block that will permit to reduce the photo by sketching it to 200*200
in second step i should Zoom and DeZoom it.. and also i dont know how to do it,
Thank you for you help,
Best Regards,
_________________________________________________________________________________________________
Salim Darwiche
Software Designer
Galteck -Switzerland
已解決! 轉到解決方案。
02-04-2009 04:09 AM - 已編輯 02-04-2009 04:10 AM
Hello,
To zoom and dezoom you should use the Zomm Factor property node . To use this property node I invite you to follow those discussions : bitmap image zoom in or out & zoom image where good examples are attached. Also you have a KB about resizing picture in LV and in the example finder of LV you have the Picture Control - Zoom Attribute.vi that I attached in 8.6.
Hopefully this helps.
Regards
在 02-04-2009 09:08 AM
To reduce the resolution of an image, you can use Extract Image to only keep every N lines of the images. You can use different factors for the X and Y directions.
Another option is to use Resample. This will resample the image to the specified resolution. This is a slower method, but works well if you don't have integer scaling factors.
Bruce
Hello,
Just a little question concerninng the zoom, (witth the Scale Factor), is there any option that let me see the real pixels when i do the zoom, i dont want the picture to be soft, so when i zoom to the max i should see the real Pixel Square,
THank you again,