From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-06-2005 09:18 PM
04-08-2005 11:48 AM
07-04-2014 03:04 AM
07-04-2014 03:27 AM
@dracovn wrote:
I also want to pay attention this problem. I used Vision tools, but I can't resolve.
This is a 9 year old thread.
What is "this problem". What can't you "resolve". What have you tried?
11-15-2015 07:11 PM
Hello,
I am also new in Labview and I am required to add Uniform White noise to my R of an RGB. Can anyone help me figure out how to display this the noise image? Below is the VI I have thus far.
11-15-2015 08:52 PM - edited 11-15-2015 08:56 PM
Right now you are adding "noise" to the color table,. What's the reasoning? Does not make much sense to me.
Don't you want to add noise to each of the RGB the intensities? You seem to have 24bit colors, so the color table is not even used.
In any case, simply use "bundle by name" and replace whatever data you have modified.
11-16-2015 10:35 AM - edited 11-16-2015 10:44 AM
I tried doing the adding noise to the intensities before but I ran into the problem of having a 1D and 2D array. Is there a function to add a 1D to a 2D array? Or maybe do I use index array to make it 1D and add them? But if I do that how do I display the piture if it is a 1D array?
11-16-2015 10:49 AM - edited 11-16-2015 12:44 PM
You can create 1D noise with as many elements as pixels, then reshape to a 2D array of the image dimensions before adding.
(Even easier, add noise to the RGB components while they are still 1D arrays. :D)
Note that you need to be careful to remain in the valid U8 range, etc.
11-16-2015 10:49 AM
11-18-2015 10:45 AM
ok I think I understand but with the for loops and trying to display the image I get all the rows to be the same value each time. I took out the for loops but this is what I have thus far.