LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

example denoise image (walevet)

Solved!
Go to solution

Hello, 

How to change the picture to another?

Download All
0 Kudos
Message 1 of 3
(3,207 Views)
Solution
Accepted by topic author _Katerina_

Katerina,

 

     I assume that you have access to the Vision VIs.  The Wavelet Data Samples VI included as part of the Example has a variety of "built-in" data.  Replace this VI (the first one called in the DeNoise VI) with a VI similar to the one shown below (this is a Snippet -- if you are using LabVIEW 2015, you should be able to drag this image to a blank Block Diagram and have it "magically" turn into LabVIEW code -- otherwise, it should be simple enough for you to code it yourself).

Choose Image.png

The File Dialog shown first prompts the user to choose an Image file (here restricted to *.jpg and *.png), initially starting in the Samples Pictures folder (on Windows 7).  It then uses several IMAQ functions to create a buffer for the Image, read the Image File into the buffer, extract the pixels as a 2D array of U8, and dispose of the buffer.  It returns the Image Pixels for you to experiment with the "De-Noise" operation.

 

I hope this is helpful.

 

Bob Schor

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

Thanks youSmiley Happy

0 Kudos
Message 3 of 3
(3,124 Views)