LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to zoom a picture and keep the magnified not distortion?

I need to zoom a picture , due to cvi just supports bmp and png format file , and once zooming the picture ,the magnifyied section would be distortion .I'd like to know if there would be a good way to solve the problem ? Thanks.

David
0 Kudos
Message 1 of 2
(3,209 Views)
Hi David,

Not sure I understand your question, but I'll take a crack at it.

First, if you are just looking for how to zoom in on an image, here is an example:
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3F0E356A4E034080020E74861&p_node=DZ52148&p_source=External

Of course, you will see some pixelation when zooming in (which may be what you mean by distortion) because you don't have more detailed data. There are probably some image processing algorithms which you could implement to interpolate the data and basically construct "new" points to reduce pixelation. Here's one link that discusses some of the theory:
http://documents.wolfram.com/applications/digitalimage/UsersGuide/4.2.html

Regards,
Ryan K.
0 Kudos
Message 2 of 2
(3,209 Views)