Imaq mask on U16 image

Hello!
Can someone please explain to me the following:
I can use IMAQ  mask on every image type except for the U16. Why is that?
Please see the trivial example below.
I am using Labview 8.6 professional.
Thank you and 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."

Your Vision Development Module seems to be too old. Support for U16 was covered partially in early versions. Try version 2010 or latest Vision 2011 - for me IMAQ Mask works with U16 image. Both VDM 2010 and 2011 are compatible with LabVIEW 8.6.
Andrey.

Similar Messages

  • Error -1074396077 (IMAQ Vision: Incompatible image type) after running IMAQ Mask

    I am attempting to process color picture of pellet. I want to exclude any particle that touches the edges of the color images. I created mask from original image and used this mask on the original color image to retain only the color particles that don't touch the boundary. The error occured  when I ran the IMAQ Mask. The error message is “Error -1074396077 (IMAQ Vision:  Incompatible image type)”. How can I fix it ?
    I have picture and program as attached.
    Attachments:
    color sorter 01f.vi ‏87 KB
    Red01a1.jpg ‏30 KB

    Hi XuanThuy,
    The IMAQ Cast function is part of the Vision Development Module (VDM), under the Image Management Palette, as indicated by this document: http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_cast_image/. If you can't locate it and you indeed have the VDM, there may be an issue with the installation of this module. A similar issue has been encountered and resolved in this forum post: http://forums.ni.com/t5/Machine-Vision/can-t-find-IMAQ-cast-image-vi/td-p/340157. What version of the vision software are you using?

  • Is it possible to use the mask from one image in other images?

    Hello,
    I'm prepping a product shot to send to  a designer. I always create a mask to 'drop out' the background, so that the designer can pull the product into InDesgin without picking up any of the background.
    I would like to send the designer 3-4 versions of the same shot, with small changes to the shadow detail etc., but I would rather not spend the time creating the same mask 3-4 times.
    Is there a way to create a mask on one image, and then copy that mask and place it in the other choices? Its the exact same shot with the exact same crop so each image would be an exact duplicate.
    I realize I could ask him to choose and mask his top choice, but there is a bit of a time crunch here and a few layers of people to make the final selection, so it would make everything I lot smoother if I could simply send him the finished product without creating a lot of back and forth.
    Thanks so much for any help!
    Ellen

    If the images are exactly the same size then make sure the layer with the mask
    is the active layer and in the other documents go to Select>Load Selection and choose
    your document with the layer mask under Source document and under channel choose the layer mask.
    After the selection loads press the layer mask icon at the bottom of the layers panel.
    MTSTUNER

  • Binary threshold - U16 Image

    I have a simple example which I have attached (Vision 2013 but can save for previous if need be) in which I would like to apply binary thresholding to a range of values (minimum --> mean) in a U16 image.  This example is based on the particle analysis binary threshold example included with Vision for U8 images.  The thresholding does not appear to be working properly (to hilte the range of values red) and areas outside of the range appear to be getting thresholded as well.  Ultimately, what I would like to be able to do is actually display the gray scale (rather than binary) image and have the thresholded range show in red against the gray scale image.
    Any thoughts.
    Solved!
    Go to Solution.
    Attachments:
    U16 Threshold Example.llb ‏4 KB

    Bruce -
    Thanks for taking the time to reply.  The first question that needs to be answered is if the binary thresholding VI is properly working to hilite in red the range of values I have specified (non-zero min --> mean) for a U16 image.  The U8 version of this example VI works just fine.  I wanted someone to run my VI and see that what is getting hilited does not seem to match up with the non-zero min --> mean range.
    In terms of thresholding on top of an actual gray scale image, another idea is to just find the pixels that fall within the range I have specified, and draw an overlay of points on top of the image.  That should work fine.  However, this is mainly for visualization purposes.
    I really need the thresholding itself to work properly for 16-bit images in order to do a particle analysis.  So I needed a sanity check to see if somehow I am doing something wrong in the thresholding (this is a pretty simple VI, not sure what could be going wrong, so am wondering if it is not properly operating on U16 data).
    Sincerely,
    Don

  • How copy a layer and its layer mask to another image?

    Using PSE9, how can a copy a layer and its layer mask to another image?
    The on-line help contains a topic on how to copy a layer but trying the different methods in the help topic results in either nothing being copied or just the layer without its layer mask being copied.  Thanks.

    How are you copying?  If you float your images, so they are both partially visible in the work area, make the one with the to be copied layer active.  Then drag the layer from the layers palette onto the other image.  Now you should have both the layer and the mask on the second image.
    Juergen

  • How to make the mask of an image

    I want to make the mask of an image by converting all non-white pixels of the image into black and leaving the white pixels unchanged. How to do this in Photoshop?
    Thanks.

    One method among many:
    Use the magic wand tool with 'Contiguous' unchecked. Select one of the white areas. You will probably have to play with the Tolerance setting until you get only the pixels you want.
    Next use Select > Inverse and you will have all the non-white pixels selected. From there you can edit in Quick Mask mode or make an Alpha Channel. Or even just Edit > Fill and select black for the fill at that point (if I understand what you're trying to do).
    Hope this helps.
    OldBob

  • Mouse cursor moving mask over another image.

    Hi, Is it possible to have where the Mouse cursor is on the page moving mask over another image. Imagine a black screen with a star cut out of the middle(where the cursor is) and u can see the image behind.
    Any examples on how to do this?
    Can it be done in html instead?

    Create the mask and the background as movieclips and then assign the mask as the mask property of the bacground movieclip... as in background.mask = msk (where msk is the instance name of the mask).
    Then assign a MOUSE_MOVE event listener to the mask and in the event handler for that listener have its x and y properties assigned to be the mouseX and mouseY properties

  • 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.

  • Problems with animated masks and external images

    I have an instance of a movieClip on the stage and I load an external JPG into the movieClip.  The movieClip is masked by a layer that begins animating on a certain frame.  As soon as I reach that frame my externally loaded JPG disappears.  The movieClip doesn't mind being masked, but as soon as the mask animates the external image goes away.  The mask animation is shapes drawn frame by frame.
    It is interesting to note that if I create a Class and load the JPG into the movieClip (or do this in a constructor) I do not experience this problem - it is when the JPGs are loaded into an instance of the movieClip that lives on the stage that I encounter this. Unfortunately that is not an option in my project (since I have to get the path for the JPG from an xml file I am loading).
    Could someone please help me with this?

    that's a flash bug.

  • In imovie - why are some of the images masked by other images?

    The images appear in the edit box but not when I play the movie. It's like they're being masked by the previous image.

    Thank you, mhoffman85!
    First, the photos were taken by people other than myself, but the tip you provided is a good one for me to pass along to family, friends, and fans.
    Second, I am indeed stubborn. Following your advice, I started by painstakingly deleting the 134 photos from my Muse CC slideshow widget. Then I copied the images into iPhoto, double-checking for rotation errors: one remained 90 degrees clockwise, so I changed that in Preview and saved it. Then I copied the photos into a new folder and reinserted them into the Muse widget. One of the photos needed a different "fill" setting. Finally, I re-typed all 134 photo captions and photo credit names. Et voila, when I previewed the page (2.5 hours later, ack), all of the photos were in their correct rotation.
    I am now feel a bit tired but mostly happy that I can move forward with populating the remaining pages before uploading my redesign. Excited!
    Very grateful also for your timely response to my post.

  • Labview IMAQ VI for capturing images and saving with incremental file names

    Hello,
    I am using LabView 7.1(IMAQ) to capture images with NI's PCI 1426 card, and a JAI CV-M2 camera. Now, with the example VI's like LL Grab, or LL Sequence, or Snap and Save to File.vi, I can capture the images. But what I actually want is to capture images continuously and keep saving them with a sequentially incrementing file name.
    I have tried to modify the Snap and Save to File.vi  by adding a 'for loop', so as to run this for required number of images. This works okay, but I can't really change the file name after every image. However, I'm not confident with this method either. I think it would be better to use the buffer itself, as is given in LL Grab.vi and somehow save images from the buffer. I think this would be faster ?
    In any case, any ideas as to how I should go about implementing auto-incrementing of the file name ?
    Any help will do. 
    Thanks.
    - Prashant

    Hi,
    Thanks a lot for replying. 
    I tried using this in the VI i was working with, but using the "build path" vi doesnt seem to work. If I use just the base path from user's input, it works, but then again it keeps overwriting the images into one file rather than giving each file a new name. I'm attaching the vi. 
    Please take a look and tell me where i'm going wrong.
    Thanks again.
    Attachments:
    LL Sequence_mod.vi ‏62 KB

  • How to change data format from [IMAQ create -- output -- New Image ] to [Unflatten Pixmap VI -- input -- image data]

    hi gays,
    i have two program,
    the first one use  {IMAQ create} to get a image from USB webcam,
    the second one is picture data process which use [Unflatten Pixmap VI] to get a image data from a BMP file.
    Now I want to combine this two program, but data format don't match between  the output of {IMAQ create} and the input of [Unflatten Pixmap VI].
    My LabVIEW version is 2009
    What can i do??

    Do you have VDM? Did you try "Image to array"?

  • Need help with gradient mask over XML images

    I have a file that works great in pulling images via XML
    data. I want to create a gradient mask using flash CS3, but i can't
    seem to get any sort of mask (solid or gradient) to react with the
    XML driven images.
    Download my FLA
    and other working files
    845 kb

    granted i can see resizing the mask and now it responds...
    however, take a look at this
    Sample of alpha gradient mask:
    http://www.devx.com/webdev/Article/29296#codeitemarea
    i'm trying to this type of mask (static mask obviousl)

  • Stationary layer mask with moving image in iWeb?

    Hi everyone,
    I have a an image that I only want 1/4 of revealed. I want to animate the image so that it moves across the opening of the mask (like someone passing by a window).
    Is this possible in iWeb?
    Have a great summer everyone,
    Joe

    Thank You for the links- this is a real education!- and after you rewrite the code where do you put it in iWeb? Do you paste it into a text box? Is the code embedded into the iWeb file or is it a link to a server outside the file?
    Sorry about all the questions- I'm just trying to understand the technology so I can make a decision of where to start learning. I am looking for the simplest path to follow.
    J

  • Masking - part of image doesn't want to

    As you can see: a part of the image does not go along with the masking.
    Any ideas?

    I am re-editing a silent movie for a school project.
    I want to accentuate the face you see in the circle by ging from the whole shot to only showing the face
    The problem is that there's a rectangle and a little line at the right side that won't go away when I apply/render the effect

Maybe you are looking for

  • Report Painter Report Performance Issue

    hi, My client facing the problem with Report painter reports , almost all the reports taking much amount of time to execute . we are Using 5.0 version tables FAGLFLEXT and CSSS . i have some doubts report index is the cause for this or any other reas

  • Whats the point of "Add Encore Chapter Marker" if I have to export it to m2v to use the sequence in

    Eh collegues there is a button on the timeline "Add Encore Chapter MArker" But since I have to export the entire sequence in M2V and WAV if i want to use it in enocre, then whats the point of this? Can i put the timeline to encore without having to e

  • Out of box auto deployment fails when trying to set up first DC in new domain

    Tried to configure and deploy windows server 2012 R2 essential many times. It's the most simple scenario -- PDC in first domain. However, every time it stuck at around 67% and gave me an error about not able to continue. The group policy list is empt

  • Can't access ssl pages

    My friend got a PowerBook G4 from a family member.  It runs 10.4.11.  First thing off the bat: It wont connect using WPA2-Enterprise.  Browsing works, but not for any SSL pages.  (Safari and Firefox) I am told it worked just fine.  So I suspect someo

  • IPod Touch package - What is the white thing for?

    hi there! The package have a white "thing", if I may call it so, I don't know what is for. It have a slot that fit nicely for the USB cable. Also, the touch itself somewhat fit in it so it obviously has some docking function? Unfortunately it cannot