LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Intensity graph color mapping bug with u8 representation

I'm seeing an issue where if I set the color map outside the representational range of the data type, I see some colors being saturated. If I use a different  numeric representation, the pixels in the intensity graph appear normally. I'm using LV2020 64 bit.
simple intensity.png
intensity bug.PNG

 

0 Kudos
Message 1 of 6
(910 Views)

I'm  not entirely sure if it's a bug or an artifact...

 

The interpolation algorithm that is used, is basically not defined.

 

I suspect the interpolation does something that's not really expected.

 

The white that shows isn't the white in the color table, it's defined in ZScale.HighColor: 

wiebeCARYA_0-1728029833025.png

wiebeCARYA_1-1728029869609.png

 

It's strange (to me) that color this isn't by default the high value of the table, but the option (and LowColor) actually served me well a few times.

0 Kudos
Message 2 of 6
(869 Views)

I don't quite follow. Why would it flip over to "high color" around 232. The correct display of the data would be to show the rest of the shades of blue. Anything else would confuse the user and make them think the value in that right section is over 1000.

0 Kudos
Message 3 of 6
(849 Views)

The bug is with the limit of the Z-scale. The limit should be tied to the plot's numeric representation. The max value of u8 is 255 but the plot is asking for a scale between 0 - 1000. What does 255 out of 100  mean for an integer whose max value is 255?

0 Kudos
Message 4 of 6
(845 Views)
Message 5 of 6
(840 Views)
0 Kudos
Message 6 of 6
(811 Views)