LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generating a white noise picture

How could I make a 2D picture of white noise (for different PC screen sizes and resolutions, black & white or greyscale)?

 

I can generate noisy signals, and am familiar with 2D pictures, but I'm not sure how to draw an array of numbers.

 

Thanks

Graham

 

 

0 Kudos
Message 1 of 3
(2,939 Views)

Hi Graham,

 

you can create a 1D array of white noise data, then Reshape it to a 2D array.

Conversion of 2D array data to images is trivial! 😄

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,935 Views)

Thanks. I loaded a jpg, pulled apart the bundle to see what it was made of and replicated that. It worked well and I learnt a little about images in the process.  🙂

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