LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open 32-bit jpeg & convert to intensity graph form (LV8.5 & Vision 8.5)

For my application, I have standardized on the Intensity Graph as the 2d data container.  It has many, many property nodes that I need, the image scales to the data without scrollbars needed, etc.  Has in some cases many advantages over the Vision container and Picture control.  So I am still using underlying vision fxs in some cases - but always converting data back to form for intensity graph.  Understand that I am opening many image types right now using this strategy.

I will look into the cast function - that could be a good tip as well.

Sincerely,

 

Don

0 Kudos
Message 11 of 12
(640 Views)
DonRoth wrote:

Hi George:

Yes - I understand I am getting only one color plane. 

 

If one color is ok for you, then it's easy.  All you have to do is use a "one color" color table instead of gray color table.

If you choose red, then the red color table will be: 000000, 110000, 220000, ..., FF0000

Instead of a gray image, you will see a red image.

 

With LabVIEW / Vision only, can this jpeg image be displayed in an intensity graph with the proper (original) color information? You say the LabVIEW Read Jpeg File.vi reads this image fine - but how do you display the output of this fx in an intensity graph with the original / proper color information (again using only LabVIEW / Vision, or maybe your toolkit)?

 

You can't display 32 bit image in an intensity graph.    It's just not practical.

You have to convert it to 8 bit first.  Then you get the right color table for the intensity graph.

 

Do you know why the Vision container specifies 32-bit RGB for this image?

 

ps. I do have an older version of your toolkit that I bought several years back. Probably need to update it for LabVIEW 8.5.

It's not the one you have.  Image Toolbox is for image processing.  It extends the functionalilty for picture control.

 

George Zou

http://gtoolbox.yeah.net

 


George Zou
0 Kudos
Message 12 of 12
(634 Views)