Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to reduce an image from 1600 * 800 to 200 * 200 ? and to zoom it?

Solved!
Go to solution

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

 

 

~~~~~~~~~~~~~~~~~~Looking for a LABVIEW JOB (In EUROPE)>~~~~~~~~~~~~~~~~~~


**The Best Way To Predict**The**Future Is To Invent It**

Salimos - View my most interesting photos on Flickriver
0 Kudos
Message 1 of 4
(4,022 Views)
Solution
Accepted by topic author salimo

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

Message Edité par Steve Mohamed le 02-04-2009 11:10 AM
Steve M.
Message 2 of 4
(4,001 Views)

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

Bruce Ammons
Ammons Engineering
0 Kudos
Message 3 of 4
(3,993 Views)

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,

~~~~~~~~~~~~~~~~~~Looking for a LABVIEW JOB (In EUROPE)>~~~~~~~~~~~~~~~~~~


**The Best Way To Predict**The**Future Is To Invent It**

Salimos - View my most interesting photos on Flickriver
0 Kudos
Message 4 of 4
(3,970 Views)