LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading a BMP File by Pixel and plotting into a waveform graph

Hi Enriquez,

 

you have an array of pixels. All you have to do is using the correct indices to read the pixels values! Come on, just some simple math involved...

 

Is it so hard to calculate the needed x/y indices?

Where do you find the center of the image? Something like x-size/2 should do the trick...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 17
(712 Views)

@Enriquez wrote:

What I meant is how do I manipulate the array to read from the center to the right diagonal? and how do I make another graph that shows the upside down result of the radius graph? 



Hi enriquez!

 

Maybe you are supposed to look "straight forward" on the output array of the "unflatten pixmap.vi" which is called "24-bit-pixmap" in the attached .vi

 

Is this what you are looking for, or did I get you wrong?

Download All
Message 12 of 17
(688 Views)

oh and how do I delete all duplicated entries in the 2D array output after the Split number function? So that I have 1 entry instead of having 3 of the same duplicates 

0 Kudos
Message 13 of 17
(687 Views)

Hi LHX,

 

are you working with enriquez now or do you still do your own edevelopment on the same topic? 😄

 

Use a loop with some comparison functions to keep only unique values!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 17
(680 Views)

Hi alexderjuengere!

 

Thanks for the help but unfortunately I couldnt open your vi as Im using the older version~

0 Kudos
Message 15 of 17
(650 Views)

Yes we're working together!

we're using version 9, could someone help us to convert over to version 9?

 

Thanks!

0 Kudos
Message 16 of 17
(644 Views)

Hi alexderjuengere,

 

Thanks for the help once again!, the one that you gave me is what I'm looking for.:)

0 Kudos
Message 17 of 17
(611 Views)