Given pixel and data ranges, this VI returns scale factors such that (a * data value) + b returns the pixel value that corresponds to that data value.
![]() |
log determines whether the scale should be logarithmic. | ||||||
![]() |
coordinate 1 is the pixel location for the first point. | ||||||
![]() |
value 1 is the actual data value for the first point. | ||||||
![]() |
coordinate 2 is the pixel location for the second point. | ||||||
![]() |
value 2 is the actual data value for the second point. | ||||||
![]() |
scale factors is the scale factor created from the two points.
Use this output as the input for other VIs such as the Map Pixel to Value VI and the Map Value to Pixel VI.
|