Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i get a colormap for intens graph using basic imaq

This is a follow up to
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000B58D0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_TIER_0=0&USEARCHCONTEXT_TIER_S=0&USEARCHCONTEXT_QUESTION_0=how+do+i+get+a+colormap+for+intens+graph+using+basic+imaq&USEARCHCONTEXT_QUESTION_S=0
where I asked for help getting a colormap for saving an image as a jpeg. Now, I have decided that I would like to use an intensity graph for my display of the RGB image that I have captured using my pci-1411 frame grabber board. How do I get the right colormap for the intensity graph display? I do not have vision and do not intend to purchase it. I am using the basic IMAQ package.
jc
Mac 10.4
LV7.1
CLD
0 Kudos
Message 1 of 5
(3,314 Views)
Dear Sir, usually the intensity graph will help you with monochrome images, since they have a one color intensity. If you want more colors you will be able to get up to 256, and not true color (24 bit). You might want to use the Picture Control instead or a Child Window approach, please look in your Help menu, 'Search IMAQ Examples...' and then browse for IMAQ examples and choose the ones that are for Picture Control. For the Child Window look in our website for an example called 'IMAQ Display Without IMAQ Vision'.

Good luck!

Nestor.
Nestor
0 Kudos
Message 2 of 5
(3,313 Views)
You can display your image in a picture control using the IMAQ Color Image to Array VI and the Draw True Color Pixmap VI from the Graphics & Sound >> Picture Functions palette. Once you have acquired your image, wire it to the IMAQ Color Image to Array VI and then wire the Image Pixels output to the Data input of the Draw True Color Pixmap VI. Create a picture control on the front panel to display your RGB image.

Julie S.
0 Kudos
Message 3 of 5
(3,314 Views)
Thanks, Julie, but I really want the colormap. I am currently implementing the scheme that you recommended. That implementation was discussed in the discussion item that I referred to in the link. I don't want to use the picture control. I want to use the intensity graph because it handles resizing and intensity scaling automatically. As far as I can tell, the only thing preventing me from using it is the lack of a bonafide colormap for my jpg image.
jc
Mac 10.4
LV7.1
CLD
0 Kudos
Message 4 of 5
(3,314 Views)
I am not interested in the picture control implementation. I already know how to do it that way. I may be interested in the child window approach. Do you use VFW or DirectShow? Where is your website?
jc
Mac 10.4
LV7.1
CLD
0 Kudos
Message 5 of 5
(3,313 Views)