LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i transform the intensity graph's coordinate?

Hey: I encountered the following problem and need your help:There is an intensity graph whose x and y scale range is from 0 to 256,I want to change its range to   0 to 300, but the proportion of graph shares in x-axis and y-axis do not change, and the graph's array must change correspond, and then when I index 257 it must have values.

is there any ways to solve this problem?

0 Kudos
Message 1 of 4
(2,823 Views)

So is the goal of the process to have a 256x256 image that is rescaled to produce a 300x300 image? If so and you have the vision tools for LV there will be routines that can do it for you. If you don't have the LV vision tools, try Googling "Image Scaling Algorithms" as a starting place.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 4
(2,813 Views)

thanks very much !

i set the property node of  "offset and multiplier"  to 2 then the x scal range enlarged to 512, when i drag the cursor of the graph to 500 and there have a value but why the array of the graph do not have a value in 500?

so is there a way to get every value of the graph according to the cursor? if this problem solved i think the grapg will be rescaled to 300 easiy

0 Kudos
Message 3 of 4
(2,811 Views)

The property node does not change the contents of the graph, just the scales that are displayed. For example, you have an image that is 256x256 and set the multiplier to 2. The scale will now show 0 to 512 but there are still the same number of pixels in the image.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 4 of 4
(2,782 Views)