LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove Image Noise

 

Hi,

 

 

I have some issues on image processing without any use of Vision series, just purely Labview Professional Development System  2014 series.

 

First Problem:

I am able to convert an image from RGB format to a Greyscale but somehow the image is noisy. I meant noisy is that when there is a line in the image, it does not has a clean line. It has some other noise pixel surrounding the line.

 

So I would like to clean off the noise pixel surrounding the line.

 

Second Problem:

 

If I implement a hard threshold to clean the images, it will clean off the some of the slightly dark pixel as compared to the white pixel which is approximately in greyscale's 255 which may be representing the yellow colored pixel.

 

How can I not cleaning off the yellow colored pixel?

 

 

So I hope someone can direct me to some other Community Discussion which has such example which can clear my doubts, or someone can enlighten me for such cases.

 

Here is the .jpg file which I would like to have a clean background which has a 255 greyscale background.

 

Image.jpg

0 Kudos
Message 1 of 4
(3,934 Views)

The grey noise that's present looks very much like artifacts from JPEG compression. How are you converting the RGB to greyscale? Is there noise present in the original image?




Certified LabVIEW Architect
Unless otherwise stated, all code snippets and examples provided
by me are "as is", and are free to use and modify without attribution.
0 Kudos
Message 2 of 4
(3,926 Views)

Hi MichaelBalzer,

 

 

Converting.jpg

 

I convert the image in this way but somehow it has all the noise surrounding the black line. I removed the "Saved to JPEG" functions after converting to the JPEG.

 

Before And After saving to JPEG, both shows the same issues. I just amplified the area of my concerns.

0 Kudos
Message 3 of 4
(3,916 Views)

hi Jack,

 

you could do it like this:

 

2015-03-21_threshold+.png

screen.PNG

 

 

 

Regards,
Alex

 

Message 4 of 4
(3,872 Views)