08-12-2008 04:43 PM
08-13-2008 10:03 AM
Actually, the problem seems to be before I export. I just ran the VI in question, right clicked on the graph and clicked Copy Data and pasted it into MS Paint. I trimmed the sides manually, and noticed the same problem.
I'm taking a 640x480 color image from a BMP, converting it to greyscale, and then saving the U8 converted greyscale data to both a pixmap and to a 2d array. Then I use the 2d array as the input for the intensity graph.
The greyscale pixmap, and the intensity map look very, very similar, but the intensity graph is a bit squished (a few pixels in both axes perhaps). Anyone know why it might do that? I'd like to get the same picture in both places.
08-13-2008 11:52 AM
Okay, so I noticed that if you right click on the Intensity map and go to properties, go to the Scales tab (i'm on LV 8.2) that the Y scale (width) says 650 instead of 640. I tried setting it back to 640 but after each run it jumps back to 650 and my output files still look squished. It looks like its got all 640 pixels plus 10 more that have wrapped around from the left side and all 650 pixels are occupying the space for 640 pixels.
HelP!!!
08-13-2008 02:58 PM - edited 08-13-2008 03:01 PM
Hi Jorwex,
Have you seen, "Exporting a Waveform Graph or Chart to a File in LabVIEW"? Do I understand correctly that you'd like not to include all the image data produced with this method?
08-13-2008 03:45 PM
jorwex wrote:Okay, so I noticed that if you right click on the Intensity map and go to properties, go to the Scales tab (i'm on LV 8.2) that the Y scale (width) says 650 instead of 640. I tried setting it back to 640 but after each run it jumps back to 650 and my output files still look squished.
RIght-click the graph and uncheck "advanced..autoadjust scales". By default is is enabled and the scales will adapt according to the space needed by the axes.