IMAQ Color 2 VI

I am wanting to process a jpg image from my camera and (1) look at a histogram of the pixel's three RGB color coordinates and (2) convert the pixel's RGB color coordinates to CieLab colorspace so I can likewise obtain three histograms of the L, a and b values as well as obtain some statistical data with respect to the three L, a and b populations (e.g., mean, standand deviation, mode, min, max, etc.).  When I look at subfunctions within "Vision and Motion," I find neither the ColorHistogram or the "RGBToColor 2" functions, which I believe are what I need.  QUESTIONS: Does access to these functions require additional NI capabilities?  If I need to download something I've missed, please provide the appropiate actions,

Kale, you are right.  However, this is what is set forth on the NI website:
The NI LabVIEW Student Edition Software Suite contains the following software:
-LabVIEW Student Development Environment
-LabVIEW Control Design and Simulation Module
-LabVIEW MathScript RT Module
-LabVIEW Digital Filter Design Toolkit
-LabVIEW Modulation Toolkit
-LabVIEW System Identification Toolkit
-NI SignalExpress
-LabVIEW Vision Development Module
-NI Vision Builder for Automated Inspection
-NI Vision Acquisition Software
Most importantly, can anyone suggest how I might go about installing the Vision Development Module? . . . I do not find this module on the "Suite" disk provided.
Additionally, is there a way to confirm I have all the modules, toolkits, etc installed?  . . . For example, the Builder for Automated Inspection, MathScript RT Module, etc?

Similar Messages

  • Error imaq color pattern

    hi, I'm trying to do a draft color pattern recognition, but labview gives me this error, I hope you can help me, let the files, thank you very much
    Error -1074395384 occurred at IMAQ Match Color Pattern
    Possible reason(s):
    IMAQ Vision: Invalid color template image.
    Attachments:
    pastillas1.png ‏55 KB
    pastillas2.jpg ‏42 KB
    Parámetros de Búsqueda Color.vi ‏78 KB

    Hello,
    the general idea is:
    Best regards,
    K
    https://decibel.ni.com/content/blogs/kl3m3n
    "Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."

  • IMAQ COLOR WAVELEGTHs SEPERATION

    Can anyone tell how to take two perticular wavelengths band out of the image aquisition?
    practical situation is:
    get fluorscence (red+green) and take green and red portion out with the help of single 3chip ccd

    If you are acquiring a color image, you can use IMAQ ExtractColorPlanes to pull out the color planes from an RGB or HSL image. What hardware are you using to acquire your images?
    Regards,
    Brent R.
    Applications Engineer
    National Instruments

  • [NI IMAQ ] Color Test / Test Couleur

    Bonjour,
    Je souhaite avoir des idée pour réalisder un systeme de contrôle d'un mire de coleur vert pour un afficheur LCD.
    Comment vérifier si toute la surface est en couleur vert ?
    Comment vérifier si la couleur est uniforme pour toute la surface ?
    Exemple en piece jointe
    Merci d'avance
    Attachments:
    green_n.png ‏340 KB

    Hey Tanite!
    3 Tips you can follow to get started:
    1. You can start by studying and then modifying the LabVIEW examples from the Vision Development Module, specifically the one for color matching, which you can find at:
    C:\Program Files (x86)\National Instruments\LabVIEW <version you are using>\examples\Vision\Color\Color Matching.vi
    2. Go to LabVIEW » Functions pallete » Vision and Motion » Image processing, and check the functions available (these could help you uild something like what you are looking for too) (i.e Color processing or Processing subpalletes)
    3. Go to LabVIEW » help » find examples » Toolkits and Modules » Vision , you can look into the Color, Image processing, texture, and other subfolders and look for an example that fits your needs. Then try to merge or modify these examples once you have understood what each function does.
    Best regards!
    >>Daniel C.

  • Problem using IMAQ Array to Color Image vi

    I am doing some pixel manipulation & while going from an image to an Image Pixels (U64) array using IMAQ Color Image to Array VI I cannot see the image once it is modified.
    I am...
    1) converting the image to the 64 bit pixel data using IMAQ ColorImage to Array.vi
    2) doing the manipulation
    3) converting back to an image using the IMAQ Array to ColorImage.vi using the 64 bit input.
    What I get is...
    1) a black image with data behind it... meaning... if I take the magnifier tool and go to the approximate locations of my image where I expect to find the manipulated data, it is there.
    2) cast that image to a 32 bit image & still get a black image for the output.  The data however is no longer there and appears to have been stripped.  
    3) no error's out of any VI's...
    TIA  

    With Vision 2009 situation is not better.
    It happened because U64 image displayed in full scale. So, if you have full range of intensities (from 0 to 65535), then you can see something. But if your intensities in small range, for example, 0...255 in all channels, then you will see black image.
    Feel differences:
    It should be possible to map U16 values into U8 display range  with given range (like IMAQ WindDisplay Mapping does), but right now this feature available for I16 images only, not for U64. What you can do is following - map each channel to U8 (with linear LUT, for example), put channels together, then display 32 bit RGB instead of U64.
    Andrey.

  • Urgent help required: color template - use color ramp instead

    hello,
    I want to match color using the color matching vi. i understand you need a color template before executing the system.
    however i want to give my users the chance to choose any color from a color ramp and then this should be used an input to the color match vi (template). is this possible????
    if yes how... i have put a color ramp in the front panel and then put the output to the input of the color match template but get an error: not a template...
    thanks

    Hi farhan,
    Can you please send in some example code, as I can not find the VI you are talking about. The closest match I have is IMAQ Color Match and this does not have a template input.
    Please can you also tell me what version of LabVIEW you are using as well.
    Regards
    JamesC
    NIUK and Ireland

  • Enable user to choose pick color from color palette

    hello, i have a program that uses the color-matching function. when the program runs, i want to allow the user to choose a color from a color pallete and then this color should be matched
    with the colors in images. i use "imaq setup match color pattern" and  "imaq color pattern" functions which use templates  as an input and these templates have to be manually assigned before run.
    is there a way to allow the color palette to act as a templete input???
    thankyou 

    Sure,  Put a color box control on the front panel.  It is located in the numeric palette.

  • Is there an example somewhere that shows how to acquire StillColor images using IMAQ Vision calls?

    I need to be able to acquire images from both composite and RGB channels. I am also confused of how to display them and modify display settings as go from color to grayscale to binary.Thanks.

    Jerry,
    I have attached a CVI example for doing stillcolor acquisition. If you are using LabVIEW, there should also be shipping examples for stillcolor acquisition under labview\examples\imaq\imaq color.llb
    To configure your imaq board for stillcolor acquisition, please refer to the following KB
    http://digital.ni.com/public.nsf/3efedde4322fef198​62567740067f3cc/cc743c416e390c008625683f007562c7?O​penDocument
    Hope this helps.
    Ken Sun
    Applications Engineer
    National Instruments
    Attachments:
    advanced_stillcolor.c ‏8 KB
    advanced_stillcolor.h ‏3 KB
    advanced_stillcolor.uir ‏19 KB

  • Red color detection using a web cam

    i have by hit and trial made code plz any1 chk it thats what the mistake in it.when i run it ma system stops responding =(
    i have done the following things:
    1)the camera is continuously looking at all the sequence of images.
    2)i have coupled an imaq color learn vi with an input image of a red color made in paint and saved as JPEG image.
    3)The color spectrum obtained of this red color pic is then compared with the image from the webcam in the imaq color match vi
    4)if its output is true then that image is obtained on the screen.
    but its not happening.help me out plz.
    i am ataching ma vi also.im using lab view(8.2)
    i need serious help.
    Attachments:
    continuous grabing.vi ‏98 KB

    Hi,
    Your VI will hang up surely.
    1. You have wired the 'image out' from first loop as input to second loop.  Your second loop will get data only when the first loop stop executing.  The first loop will never stop because you have wired a 'True constant' with 'Continue if TRUE' condition for while loop.
    I have modified it to avoid dependancy.  Change the code as per your needs.
    Post back for queries.
    With regards,
    JK
    (Certified LabVIEW Developer)
    Give Kudos for Good Answers, and Mark it a solution if your problem is solved.
    Attachments:
    continuous grabing_modified.vi ‏91 KB

  • NI Vision: Color Spectrum

    Hallo,
    I have a more or less tricky question to the community. As a part of my PHD-Thesis, I have to measure the residence time of particles in a machine . I want to use UV-fluorescent plastic granulate as tracer. In a first step I want to do a simple feasibility study. I have 2 Webcams (using IMAQdx) and a conveyor belt, measuring the intensity of fluorescation under black-light and calculating the time, dedicated by the conveyor, between the "peaks". I want to use the "Color Spectrum" VI to get a value for the blue intensity of the picture.
    So I want to ask 2 questions to experts:
    1.) If I use the Color Spectrum VI I get an array as result BUT which array value stands for blue? (The Help gives me no usable answer)
    2.)Has anyone a better idea instead of using the Color Spectrum VI?
    Thank you for your efforts!
    Best regards,
    Paul

    Hi Bublina
    It was not intended as a Hi-Jack 
    The question I tried to formulate, is so closely related, (on how to use the color learn / color match efficiently) that I thought creating a new thread would merely make someone link to this one. 
    - I have no problem with using the Hue-Sat space, in fact I already tried using the IMAQ color treshold on RGB space with terrible results, and have tried without achieving a robust result with the HSL space.
    The reason for abandoning the strategy (probably to fast) was due to the problems I faced with manually determining the optimal color spectrums for each layer. 
    I am basicly looking for 3 shades of pink, and one gray layer that have similar intensities as one of the pink shades..
    I will re-visit the idea after you'r comment, and use a little more time on calibrating color spectrums, but have little confidence that I can eperate the layers robustly using only 3 color space threshold attributes.
    It seems that in tests the combination of using colorLearn / colorMatch can seperate the layers robustly.
    So I am very interested in the original question, and may have formulated my own in a slightly wrong way. 
    What I tried to ask was that I would very much be able to use the "color spectrum" from colorLearn to do a histogram (like you'r example shows for the HSL space) but I want to do the histogram on the entire parameter set in color spectrum, as this seems to seperate colors better than I could do manually.
    Hence I also, like the original questioneer, have interest in knowing what the parameters in the Color Spectrum Array, are indicating.
    I did not get much knowledge from running the example linked to...
    thank you for the help though 
    Engineer, M.Sc. Autonomous Systems, Automation and Control of non-linear systems
    Project Engineer @ R&D A/S
    www.rdas.dk

  • Possible reconfigur​ation of a preset LabVIEW VI?

    Hey all,
    I'm currently working with both VBAI 2012 and LV 2012 for machine vision purposes. Our project requires detection of objects by the HSL (hue, saturation, luminance) method, and we'd like to implement a customized RGB-to-HSL formula in a .vi to implement in Vision Builder. The RGB-to-HSL algorithm built into the .DLL file for the Color Threshold .VI doesn't give us as desirable results as this custom RGB-to-HSL one.
    The main problem we've run into is the actual implementation. Our in-depth knowledge of LabVIEW is limited, and we think we'd save quite a bit of time by simply creating a copy of the VBAI RGB-to-HSL .DLL file, implementing our code in place of the preassigned one, and saving it as a new .DLL to implement in the Call Library Function node in the Color Threshold .VI.
    However, we can't seem to find the .DLL file in question. What we'd like to know is: is there any way we could locate this file and safely implement our custom algorithm for better HSL detection in our RGB images?
    Another hurdle include the fact that our code is written in C#, while it appears the Call Library Function node in Color Threshold.VI is based in C.
    Thanks in advance!

    The nivision.dll file is located in the Windows » System32 folder. However, it is not recommended that you actually modify the dll file itself. In order to get the custom algorithm for HSL detection in your RGD images, you will need to create an entirely new dll file or VI from scratch. You could choose to modify the IMAQ Color Threshold.vi, as all it does it call a function from the dll.
    Daniel K | NI Applications Engineer | Certified LabVIEW Developer

  • 32 Bit Image to Image Array

    I am attempting to get an image array from a 32 Bit image.  I
    attempted to use IMAQ ImageToArray.  This did not work when
    passing in a 32bit RGB image.  It works fine after I convert the
    image to 8 or 16 bit image, but this is a step I am attempting to
    remove.  So, my main questions is there a way to get an Array of
    an image directly from a 32 Bit Image?

    In the Color Utilities there is a function called IMAQ Color Image to
    Array.  That is the one you want to use.  Hopefully you have the Vision
    Development module or you may not have access to this vi.
    Randall Pursley

  • How to get the pixels

    Hello I have an image, I converted it to RGB via color to RGB function. now I need the access the pixels at least want to put them into an array so that I can work on the channels individually. I connected one channel to build array function.  then I connected it to an indicator. to see the pixels in that channel. Is that right way to do? afterwards I need to display that channel. 

    Did you try "IMAQ color image to array".

  • How to use IMAQ extract color panel in a LabView file?

    I want to change a color image into a greyscale image. Therefore I want to use the function IMAQ extract color panels but I don't know how to insert it in my LabView application.
    Please, can anyone give me some advice ?!!!
    Thx, Birgit

    Birgit,
    If you want all of the color planes, you can use IMAQ ExtractColorPlanes. Allocate an 8-bit image for each of the color planes. Wire the original color image and each of the 8-bit images for the color planes on the left and bottom of the vi. The outputs on the right side will be the same images, and they will each contain the desired color plane. The input at the top of the vi controls which color planes are extracted (RGB, HSI, etc.) Grayscale will probably be the I plane in HSI.
    If you just want a grayscale image, use IMAQ ExtractSingleColorPlane instead. Wire the color image to Image Src, and wire an 8-bit image to Image Dest. Select the color plane using the top input, and it will come out on the right side.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • IMAQ FFT of a color image

     In LABVIEW 2011 Is there a way to do an IMAQ FFT on a color image? The only thing that seems to work is on gray scale images. When I try to use a color RGB(U32) image, the FFT vi errors out with "Invalid ImageType".
    Any suggestions?
     Thanks in advance.
    Solved!
    Go to Solution.
    Attachments:
    Resolution Decrease.vi ‏46 KB

     Thank you for the prompt reply Daniel.
     What we are attempting is a de-resolution of a hi resolution image to simulate what a 1-4 reduction in resolution using a fiber optic taper will look like to a customer without having to built a very expensive actual optical system. If it proves to be an acceptable resolution, then we can move forward. The point is we need a fiberoptic imaging system due to environmental issues prevernting having an actual camera up close to the work being inspected.
     So the idea is to convert the image to an FFT, remove any frequency component above the resolution we would see through the optical magnification, then recreate the image via a reverse FFT. Does that sound feasible or is there a simpler method of simulating a lowering of the resolution of an image? We can work on the gray scale image, as I believe this will prove acceptable for our demonstration. If color is required, we can talk about splitting up the color planes.
     Warm regards,
     Randy

Maybe you are looking for

  • Infoview and java 1.6.0_16

    We have Crystal Reports Server 2008 InfoView and another web application running on the same Tomcat installation.  Recently upgrading the corresponding version of java to 1.6 build 16 caused Infoview to throw a HTTP 500 error when trying to view any

  • HPE-410Y SUPPORT WINDOWS 10

    Will my HPE-410Y support windows 10?

  • Performance --- BSID table

    Hi,     I am creating a data fix program for BSID database table, where my selection screen parameter are     BUKRS (Company Code)     BELNR (Document Number)     BLART (Document Type)     ZLSCH (Payment Method)     using these selection screen param

  • LG Spectrum failed to update location error

    I have an LG Spectrum, which I love the phone.  However, it is constantly popping up a message saying "Failed to update My Location - no signal."  It drives me crazy and also drains my battery since it is constantly searching for a location.  I've tr

  • Contents of egathcomp.html

    Good day. I have a T60 and was wondering how to restore the contents of my egathcomp.html/xml files. Right now, my UUID, machine type and serial numbers are either blank or all 0's. Is there a way to restore the information? I already tried doing a c