Vision utilities

Hi everyone,
i'm using labview 8.5 and i need to extract a single plane colour from a rgb 32 bit original image; so i used extract single plane colour from vision utilities creatina Also a constant to control the colour plane to extract, but it didn't work beacause i always see the original image on my screen with no distinction between green or red or blue. Is there Anyone Who had the same problem? How did you solve it?
Thanks for your answers.

Hi,
If i understand your problem, you want manipulate a RGB image to show the different colour planes. To help you in your application, send the following link to an example. This code has been supplid with two image files to aid how to show this.
https://decibel.ni.com/content/docs/DOC-5655

Similar Messages

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

    I will cross-post this in the Machine Vision forum as
    well.  I have an LLB to open images with IMAQ vision utilities, and
    then attempt to convert to intensity graph format. I obtain the color
    table of the image from a Vision utility, and subsequently apply to the
    intensity graph in hopes of duplicating the vision container contents. 
    I  am unsuccessful in converting 32-bit jpeg and was hoping for some
    help.  Please let me know if this in fact is even possible to do. 
    Attached is an example jpeg image file.
    Sincerely,
    Don
    Attachments:
    open_image_file_and_convert_to_intensity_graph1.llb ‏207 KB
    Photo_111107_0021.jpg ‏240 KB

    DonRoth wrote:
    Hi George:
    Yes - I understand I am getting only one color plane. 
    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)?
    Unless it is an 8 bit color image already you can always down sample it to 8 bit. I think the IMAQ Cast function should do that, otherwise there is for sure some function to change color depth. Colors will of course change slightly as it is very unlikely that a 24bit image especially if it is a photo, has only 256 unique colors used.
    Once you converted your IMAQ image into an 8 bit image extracting the bitmap and color dtable is easy and then applying it to an intensity graph of course too. Remains the question why you wouldn't want to use the IMAQ control. If it is about IMAQ license costs then of course you won't be able to use other IMAQ functions either so this advice won't help then.
    Rolf Kalbemratter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Extracting AVI frames - converting to readily accessible BMPs

    Hi, Im at a roadblock currently, I need to extract frames from an AVI video then convert it to BMP images and load/apply it as a texture to an object in a 3D scene. Now the problem is not extracting the frames, Ive managed to extract the frames using the IMAQ AVI Vis available but Im stuck after that.
    I found the 'write file as BMP' VI under Vision Utilities, one of the terminals of the VI says 'File Path' now does that mean the path it will write the file to? Or...?
    Secondly, I can't seem to find a way of simultaenously loading/saving lots of BMPs. The texture I apply to the object is from a BMP picture (and in this case lots of BMP images extracted from the AVI video) just using the 'Read BMP file' vi, which leads back to the path/directory of the BMP on the PC. Which is where the problem lies, I need the 'Read BMP file' vi to continously update every "x" seconds to account for the number of frames / FPS of the video so it reads each frame from the video as its updated. But if I need to save the accquired AVI frames as BMPs I don't see a way of doing this.
    Any suggestions would be greatly appreciated.
    Solved!
    Go to Solution.

    Hi
    As I understand from your post you have acquired your data, so the problem is writing the extracted files to bmp and saving the files.
    I have been looking into your issue and have found some documentation which may help with your application.
    1) You asked about the path input to the bmp.vi's, the input path is for the file that you wish to write the data to, as the data is input through the image data terminal.
    When in LabVIEW there is a handy context help tool, if you type ctrl+h a small window opens, when you hover your mouse over a function the window will display the basic description for that item, in the window clicking on detailed help will take you straight to the correct document.
    2) You were also asking about continuously reading and simultaneously loading/saving the bmp data.
    The link below is for a presentation on design patterns which may help you make an informed decision about the architecture of your vi.
    http://zone.ni.com/devzone/cda/tut/p/id/7605
    I am going to continue to look into this for you, if you have any questions please feel free to ask and I will get back to you.
    Thank you
    Stephanie L
    Stephanie L
    Applications Engineer
    National Instruments UK and Ireland

  • Minimum coverage value should be greater than zero (host machine)

    Hi,
    I am working on an host machine (windows 7, LabVIEW RTE 2010, VAS 2010 (evaluate version)) with an application created on another machine (Windows XP, LabVIEW 2010, Vision Development Module 2011).
    This application is supposed to aquire an image by a USB camera.
    When I run this application on the development machine, it works fine.
    On the host machine, I can see my camera with MAX and do whatever I want to do with MAX.
    When I run the application on the host machine, the application starts but when it is supposed to use the camera I got thes error (see attached file).
    I tried to uninstall and reinstall all Lab'VIEW"s softwares but I still have this issue...
    Any idea will be appreciated!
    Thank you!
    Attachments:
    screenshot.doc ‏34 KB

    Greetings, nicocmd;
    First and foremost, it is excellent that you are now up and running!
    In what concerns your question, do you mean to continuously see the image displayed in a live feed and only save it when the user clicks a button or some such? What do you mean with only using IMAQdx VIs? Would it refer to not using the IMAQ For USB VIs?
    If you would desire to take in images from the camera and display them in a live feed, you could simply set up an IMAQdx acquisition and either use the Grab or the GetImage VIs and have a case structure in which you decide whether or not to save the image that was just displayed (or the next one that will be taken). 
    I did a tad of research and came across the following forum post; in it, another user posted a VI that might be of service to you, for it saves images into a tiff file.
    http://forums.ni.com/t5/LabVIEW/IMAQdx-grab-and-save-images-i-e-PNG-TIFF-etc-not-AVIs/td-p/1044201
    Finally, if you would mean using only IMAQdx VIs and not IMAQ, then I do not believe it is possible simply because the vision utilities (Such as creating the image memory location) will be part of the IMAQ palette.
    Cordially;
    Simon P.
    National Instruments
    Applications Engineer

  • How to convert for 1 bit image

    dir sir;
    i want to make a programe by it i want to upload image real image and then it converted it for 1 bit image ;
    can i use java to do that?
    and if soo what method and package and function helps me to do that .
    if you can provide me with simple code i will be thankfull.
    beast regards.

    Try using the IMAQ Cast Image function under Motion & Vision>>Vision Utilities>>Image Management>>IMAQ Cast Image.
    Regards,
    Steve

  • Replay graph in a video

    Hello experts need help,
    I have a 10 second video and a graph (array of values) taken at the same time in an experiment for same duration, 
    Ex: the object in the video is a moving part at 1hz, at every second the moving part touches some electrode and gives out voltage which is acquired by a daq and saved as array into excel (time vs voltage), 
    how do i replay that 10 second graph overlaid on the original video, so that finally i have a single video (wmv or any video format) that has the graph running along with the moving part for presentation purpose (so that visually it will be easy to see the voltage graph synced up with the moving part)
    Thanks in advance

    Hi freemason,
    I'm looking into a VI right now to see what can be done.  I would assume you are using the Vision Acquistion Software (IMAQ)?  Have you looked at using the AVI palette (Vision and Motion»Vision Utilities»Files»AVI)?

  • Snapshot picture with ROI and palette

    Hello,
    I am trying to take a snapshop of a picture in image display with selected ROI and different palette. (using Vision)
    I didn't finf out how to do it, it only takes a snapshot withought ROI and palette.
    Thank you very much for your help.
    Tomas

    Tomas,
    The VI you are looking for is called, "IMAQ Merge Overlay".   In LabVIEW, It can be found in the Overlay palette, found under Vision and Motion » Vision » Utilities » Overlay.
    When dealing with Vision issues, please post on the Machine Vision forum.
    Regards,
    Jasper S

  • How to show 10-bit PNG(TIFF) file in Labview?

    I used NI-IMQA 1409 to grab a 10-bit picture. It only can be save as PNG file in MAX. but I found I could n't display that image file any more? Could any one tell me how I can display that PNG file. Thanks

    First, when you Grab or Snap an image in LabVIEW with the Vision utilities, you will have to use 16bit format. This is a big pain, and a serious waste of memory, but necessary. I strongly recommend that if you are doing any kind of image manipulation or processing, that you keep it 10bit.
    Okay, with that said. To display the image, you need to go to the Picture Tools palette, NOT the IMAQ palette. There you will find the tools to open and display the PNG image. However; you should be able to read the image with the "Read Image File" VI, though as I have never done it, I cannot be certain. Either way, the Picture tools will get you where you need to be.

  • Best practice for increasing image processing speed

    Are there best practises for efficient image processing so that the overall perfomance speed will be improved? I have a need to do near real time image processing (threshold, filtering, particle analysis/cleaning and measurements) at 10fps. So far I am not satisfied with my cycle time so I am wondering if there are documented ways to speed up performance.
    Solved!
    Go to Solution.

    Hi,
    Navigates to the "Vision and Motion" palette, then "Vision Utilities" and "Image Management" palette, you will find ther the "IMAQ multi-core options" vi.
    You will be able to set or get the number of cores used by the IMAQ functions.
    Regards

  • Convert image to picture

    I am trying to import a TIF file and want to convert it ultimately to a simple table or array. I figured out that I can import it using IMAQ and it displays as image, but how do I convert it to an array? (Using LV 8.6 - in the case it matters) Any help or hint greatly appreciated.
    Solved!
    Go to Solution.

    There is a IMAQ ImageToArray function that will do that.
    Vision and Motion>>Vision Utilities>>Pixel Manipulation
    Randall Pursley

  • Correcting image distortion

    I have a distorted image that I need to correct.  I thought this would be a simple task using the Vision Utilities but can't seem to do it.  Can someone help.  I have attached an image.  Thank you
    Attachments:
    test.png ‏613 KB

    To me it looks like the image has already been corrected.  All the lines look pretty straight.  What do you need to do to the image?
    If you are just trying to do image distortion correction, there are many programs out there that would do a better job easier than IMAQ Vision.
    If you do need to do it in Vision, you would need to capture an image of a correction grid and create a calibration template.  From this, you would be able to create a corrected image.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • How to convert a 16-bit image to 8-bit

    I am having difficulties in skeletonizing my image. Although I already threshold my image, it still cannot be skeletonized. When I create the image using IMAQ create, the image type must be set to 16-bit, otherwise it will create an error message. An enthusiast in the forum told me that the image must be 8-bit so that it can be skeletonized. But I do not know how to convert the image from 16-bit to 8-bit. So is there anybody out there that can provide me with a solution. Attached is the VI that I used. Really appreciate your help.
    Attachments:
    Image_Acquisition.vi ‏68 KB

    Try using the IMAQ Cast Image function under Motion & Vision>>Vision Utilities>>Image Management>>IMAQ Cast Image.
    Regards,
    Steve

  • How to handle raw data obtained from CCD using labview?

    Hi,
    The format in which CCD software saves its data is “16 bits TIFF” or “16 bits FIT format” (FIT format is just the raw data type). I am trying to save this data using labview. It’s not getting saved properly (I get 1 KB file in place of expected 1000KB +). I am using activex that came with my CCD. I am attaching the snap-shot of my screen and I have indicated the places by arrows where I am saving the image. What I believe is going on wrong is that I have not provided “data type” in “variant to data” function (as I do not know what to provide).
    Please let me know your suggestion.
    Thanks,
    DK
    Attachments:
    snap_shot_code.doc ‏116 KB

    Forget my previous reply.
    I don't see on the diagram where you select the image type format.
    I'm not sure you need the variant to data function. What happens when you wire directly the output of your image node to the image indicator ? Is your image displayed correctly ? I guess it is.
    Once you have your image displayed properly, you should use the specific image save functions (in Vision > Vision utilities > files), and you don't need to go though the conversion to array step. JPEG, TIFF, BMP, PNG formats are available.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • How can I put some text on a circular shape and make it visible in a Picture?

    I work with LabVIEW 5.1.1 (FDS), the Picture Control Toolkit and IMAQ 4.1.1.
    I'd like to make some text to flow on a circular shape of given radius just like I can do with the most common graphic programs like CorelDraw!
    How can I do?

    A new overlay VI was developed to address the need to add text to an image easily.
    IMAQ Overlay Text (Functions >> Vision Utilities >> Overlay).
    - It is available in IMAQ Vision 6.0 (which requires LabVIEW 5.1 or greater).
    It will allow you to rotate text, but it currently does not support circular shapes.

  • Error-1074396120 Not an image, problem with IMAQ Learn multiple geometric patterns

    Error-1074396120 Not an image, problem with IMAQ Learn multiple geometric patterns
    Hi!
    I've tried to modify the example of  "multiple geometric patterns matching" , and just use two patterns, but when I run the VI this error appear and I doon't know how to solve it! , the error appears in the "IMAQ Learn multiple geometric patterns" block.
    Running on:
    - labview 32 bits
    - windows 7 64 bits
    - usb camera 2.0
    Any sugestion would be helpful..... !  Regards
    Attachments:
    template_12.png ‏150 KB
    template_11.png ‏123 KB
    vision_multiple_pattern_matching.vi ‏127 KB

    thanks all for your replies, the problem was on my template images, I had to give them information about the pattern matching, and I did it with NI Vision Template Editor, within Vision utilities, and I chose template with Feature Based. 
    Thank you again and Regards!

Maybe you are looking for