Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any resource for image filtering?

Hi,all:

 

  I hanve a 2-D Array map,and there some high frequency noise in the map,

  i want to filtering the noise. is there any resources in labview for filtering this noise?

 

Thanks!

0 Kudos
Message 1 of 7
(4,684 Views)

There are a number of filtering tools available in the Vision module.  You can use a variety of convolutions to smooth your image, median filters, or you can use FFT based filters.  There are probably a few other options as well that I can't remember at the moment.

 

If you aren't interested in the Vision module, there isn't much in the way of built in tools.  There are a lot of tools for 1D arrays, but very little for 2D arrays.  You could always process each column of your array, transpose the array, then process the rows.  The end result would be about the same, but it is much more tedious.

 

Bruce

Bruce Ammons
Ammons Engineering
Message 2 of 7
(4,683 Views)
Try a low pass filter as well. Can you post the data here?
Message 3 of 7
(4,626 Views)

Hi:

 

Thanks for your help,here is the data,it is a 2Dmap.

0 Kudos
Message 4 of 7
(4,623 Views)
Alas I am still stuck with 8.0. Can you post it for 8 or better a screen shot?
0 Kudos
Message 5 of 7
(4,620 Views)

Hi,this is the screen shot.

.map.jpg

0 Kudos
Message 6 of 7
(4,617 Views)

One needn't really work with 2D arrays to do some quick-and-dirty image filtering in LabVIEW. The "image data" cluster contains a 1D array called "image." That 1D array is three 1D arrays interleaved (Red, Green, and Blue). Attached is a simple and fast example of how to achieve image blur with a butterworth filter. Thus, you can use built-in VIs for converting between 2D graphics formats (picture to pixmap, et cetera) to get a 1D array that you can mess with. Do be careful to decimate that 1D array though, or the results are going to be a bit unpredictable.

0 Kudos
Message 7 of 7
(4,122 Views)