Convert "I16 in grayscale" to "RGB U64.


I need to convert an image to Grayscale I16 U64 RGB, but it does not work (I joined a zip file).

I think that there is a bug in the Vision of OR, or it is not implemented, because I have no problem to do Grayscale U8 to RBG32.

Can you help me find a solution for this?

I need to use the function ReplaceColorPlane or equivalent because I have to perform various treatments on each channel (RGB).

Thank you


Hi Badgones73,

U64 image consists of four U16 values (R, G, B and alpha). LabVIEW represents 16-bit images as an I16. When the plans of color extract IMAQ is called, U16 value must be converted to values in I16. This is done by converting all values with the most significant byte of the 1 to 0. This means that all values of 32 768 to 65 535 are now 0. To avoid using the loss of these values, you must read the image in LabVIEW without using the functions of the vision.

Once you have extracted the U16 values, they can be converted from U16 images images I16. Once this is done, you will be able to use all functions of the Vision.

Also, I invite you to read the information on our site:

How to convert a color to grayscale Image?

Kind regards

Tags: NI Software

Similar Questions

  • Polygon color with RGB U64 images / Image conversion of RGB U64 in RGB U32

    Hi guys,.

    I want to use the color polygon feature, but I have an input RGB U64 image. The only supported is image RGB U32 type. Is it possible to convert the image to U64 U32 and use the color polygon feature?  I know I'll lose accuracy, but what for the moment.

    Otherwise, you know the functions of polygon that supports RGB U64 images as input?

    Please let me know.

    Thank you


    IMAQ Cast Image VI Converts the current image type for the image type specified by Type of Image.

    How Casting works: The VI shifts the value from the source to the range of 8-bit using the depth of specific bit of the source image. Then the VI defines each color component in the destination value for the corresponding component in the value of the source.

  • Convert image to grayscale in monochromatic color (CS4, Win7)

    Photoshop CS4, Win7: What is the best way to take a grayscale image and convert it into monochromatic color?  I've done this before, but after I change the mode to grayscale to RGB color, I can't rememeber stage next and how to choose the base color for the monochromatic version.

    This change in CS5?  Thanks in advance for your help.

    Change the blending mode to normal instead of the hue of the adjustment layer.


  • Hi can someone help me... I try to open my photos of microscope and all of them are just empty black screen while the merged file shows the image. I can't change grayscale in RGB color space (like my single images the info on them is

    Hi can someone help me... I try to open my microscope fluorescnece images and they are all just empty black screen while the merged file shows the image. I can't change grayscale in RGB color space (like my single images the info on them is gray and the merged image color space is RGB)

    Try to update your video card driver to exclude

    Then reset your preferences - with Photoshop CC you can do it in the preferences. Earlier versions require that you press the modifier keys that you launch Photoshop. Ctrl alt shift on Windows or cmd opt shift on Mac.

  • How to superimpose a partially transparent image (created by the user RGB) on a grab image acquired (I16 in grayscale) session in a while loop?


    I'm trying to superimpose a partially transparent Alpha, RGB image, which I have already created through manipulation of pixels on an image in grayscale I16.  I16 image is acquired grab and RGB is a file location.  So my problem is that when I try to add (IMAQ) images, IMAQ gives me an error of type incompatible image.  I understand that these are different types of images; but I need to find a work-a-round in order to get the information from color to grayscale during a frame grab session information.  This frame grab is quite awhile so it runs a bit slow which is correct loop.

    I already overlaid on an image I16 RGB.  However, the two images in this instance is called from a location file and not a capture session.  Now, I need a new vi which will overlap the file created on the images of the capture session.

    If any addition information is needed, please do not hesitate to ask.  This situation is a little difficult to explain.

    Thank you for your help,

    David Fox

  • Mode > convert > levels of grayscale, RGB %s

    I understand that the Mode > convert > grayscale uses the channel mixer, anyone know what percentages of red, green and blue channels are used to create the image to grayscale?

    Yes I see. It is the default value for the conversion to grayscale in Photoshop.


  • Convert images to grayscale

    Hi guys, I have a problem for you, experts...
    I inserted a few RGB images in my reports (MS Word, PDF output template); in some cases, I need to convert the image to grayscale.
    Y at - it an option of the BI Publisher that helps me to achieve this goal? Maybe in the same time, or in the model (where I address these images with url syntax: {concat('${OA_MEDIA}','/',//LOGO_AZIENDA)})...?
    Thanks for the help

    The only way I can see this working is now convert 'before' files as Tim States above and then wrap them in a conditional statement that determines which should be displayed.


  • Convert image to grayscale in alpha?

    I would like to convert a bitmap to an alpha image grayscale, where a white pixel is a pixel with 100% alpha, a black pixel becomes 0%, gray is 50%, etc.. I tried to do this several ways in Photoshop, but nothing seems to work. Any suggestions?

    Thank you very much.

    By clicking on the thumbnail of the mask works for paint, filters, etc.. But for the collage, the mask must be both the target and visible or Photoshop creates a new layer.

    Using your plan screen example, if you decide to click on the thumbnail of the mask the screen will change in white with a black border. It is the view of the current mask. Now when you paste the mask (and view) will change the image. Choose click on the thumbnail of the mask to return to the normal display that will be the image being masked by luminosity.

  • Convert a PIC to Adobe RGB to sRGB

    How to do this conversion in elements? Thank you.


    Menu/Image/convert/apply the profile sRGB color profile

  • How to convert images to Grayscale black and white

    I don't have a scanner.  When I need to analyze something, I place under a piece of glass and shoot with my digital camera, then transfer the file jpg on my PC.  My "scans" interpreted that way many pages of text n & B, so the jpg that results is enough grayscle; because I do not use an official copystand there are a good amount of shadow in the image.  It is quite easy to desaturate these images so there is no color in them, but there are still a lot of tweaking if I want to remove the shadows and the end upward with an image strictly B & W.  It seems to me that there should be a filter that allows me to set a threshold such that everything above the level is rendered in form of black (or white), and everything else is rendered as white (or black).  If so, what is it?  Thank you.

    Am_I_Lame? wrote:

    each pixel beyond a certain level in an image desatruated in white and the rest black

    Image > adjust > threshold for this. But I am pretty sure that is not what you want, the result will be crap.

    I would use levels to set the white and black points and then curves to increase the contrast. You can do both with curves, but endpoints are not as easy to spot there.

  • U64 rgb greyscale u16

    Hi, I have problems using images RGB U64 (since a digital Canon SLR camera raw images). I want to extract information from 16-bit UNSIGNED grayscale of each color channel and compare the intensity of each channel. I want to use the full dynamic range of the camera, and I don't want to truncate or compress images. Color accuracy and dynamic range is essential, because I'm able to light absorption of pigments in polymers.

    Using the example VI "1394 color -" of this site, here:

    The default setting is to convert the image U64 to SIGN 16-bit grayscale image. That it only that it removes half of the dynamic range, so I lose half of the information. I want it to be UNSIGNED and I cannot do that. Does anyone know how to do this?

    My only other option seems to be to convert the image into a string, but it's far from ideal, because I want to use vision tools.

    Thanks for any help!

    Hiya MadScientist (the good avatar name, incidentally!)

    IM afraid that the ease of this application may depend on the version of LabVIEW you use. I'm using LabVIEW 2010, and I was aware that native support U16 images had been recently introduced developemnet Vision module - although Im afraid, that I am unable to confirm exactly what version of the module introduces support of U16.

    I opened your .vi, deleted the constants of the enum type image and re-created them directly on the terminals of the Subvi. Of course, U16 is now an option to select.

    If please see my face and discover the difference between the plan of luminance U16 and I16.

    Please forgive the image I am converts... I don't have a U64 image available, if I had to create my own.

    I hope this has been helpful,

    Best wishes

  • Convert to grayscale


    It's possible to apply the convert to grayscale(Edition-> Edit colors-> convert to grayscale) for the selected items in illustrator cs3 in the script (javascript)?

    Kindly advice me the possibilities.

    I am a beginner, I hope someone help me

    Thank you very much


    Oops, sorry about that, I should have checked before I give you bad advice.

    You may need to record an action (manually) to convert it to grayscale, then perform the action through javascript


    Use executeMenuCommand and try to find the right 'chain' to convert to grayscale

    the two methods are new CS6, but undocumented. Search the Forum, samples of its use have been published before... Sorry, I'm still with CS5, I can't test.

    Check here

  • Is it necessary to convert RGB to CMYK photos if you simply print at home?

    I am new to the creative suite, and I use InDesign for a class presentation. I was told I should convert photoshop images I use RGB to CMYK for printing, but I'm just to the printing house on my little deskjet.

    Second question: if it IS necessary, why make an alert in photoshop by saying 'you are about to convert to CMYK using the "U.S. Web Coated (SWOP) v2" profile. This can ve not what you intend. "What do that mean and do I just ignore it?

    Thanks in advance for any advice you may have!

    The advice you got was specifically for sending from a project to a CMYK printing press. Conversion to CMYK was the traditional requirement of these tasks, since the days when most of the images were printed and more printed images went to a CMYK press.

    But it has been several years that it was true. Some InDesign workflow can use RGB images if configure you InDesign to convert to CMYK output, or if the digital press will do the conversion. Many House digital printers and newer digital printers are set up to work with RGB images. For example, you do not send CMYK images to the laboratory have printed enlargements and photo books made, you send RGB. As far as your inkjet home goes, it uses different colors as U.S. Web Coated (SWOP) CMYK (some printers use six inks or more), so conversion to CMYK is not even properly correspond with the inks used.

    This is the reason why you see the alert message. It is no longer a world where convert you all images to CMYK for print, if Photoshop is to make sure that it is something you really need to do. Because if you convert to CMYK when you do not need, your images will look worse because CMYK does not provide the number of RGB colors.

  • Can I get a larger scale FYI color (F6) when you change the picture monochrome or grayscale?

    Hi everyone - thanks in advance for any help you can offer.

    With a regular color photo, in the color window (F6) you can get information from 1 to 255 for values R, G and B, which is very useful. However, when I convert to monochrome grayscale, scale and then goes from 1 to 100, which is a significant loss of sensitivity. There was a time when the converted monochrome image showed a scale of 1 to 255, but I don't have enough attention to how I realized that.

    Anyone know how I can convert my full color image in monochrome or grayscale, but keep the color scale of 1 to 255 instead of 1 to 100? Or better yet, if you use the scale of 1 to 100, is it possible to add a decimal point so that you can get for example 53.7 instead of just 53 or 54?

    much appreciated,

    Look in the Info Panel... you see the displays? See the small triangle there? Click on it to access the options to change the display. Select RGB and the display will show 0-255. You can have the display of the first to be 0-100% and the second to be RGB that will give you 0-255.

  • Image will not convert to CMYK

    Hello. I work in Photoshop CS4 and I ran across something that I've never met before. I got a picture, a psd file with a transparent background, use in a brochure, I'm working on that. The image is RGB. I need to convert it to CMYK for printing, but when I go to convert I gives me only the possibility of grayscale, Lab, RGB or indexed. It seems no matter what I do, CMYK is not in the Mode menu option.

    Anyone encountered this before? I don't know how this image was created or why it's like that, but any idea is appreciated. Thank you!

    Go window > workspace.

    I think that CS4 had the choice of the workspace of"base" that wouldn't show it to CMYK as a Mode option. If Basic is enabled, just check the default workspace.

Maybe you are looking for

  • where is the plug-ins folder

    I could not install the flash player on my computer (linux / gnu), then the software manufacturer told me to copy some files for plug-ins that do not match. Could you help me?Thank you. I corrected this post to warn you that I can't always find the d

  • R8000 Open VPN drops Internet connection

    I have a router R8000 and sometimes when I go to connect by using the open VPN connection that it will show as connected but I don't have any internet access more. My connection log is below. The XXX is corresponding to my external IP address of the

  • BlackBerry software Blackberry Blend

    I'm trying to update the mixture. A newer version uploaded, arrive to install the stage and then I get a message saying - cant install until the next request is closed - mix BlackBerry.  Then cancel! I have no BB open, - how to get around this please

  • How to maintain the same State of the application after closure and reopen the app?

    Hello My problem is while accessing the request, if I close and reopen the application then the previous state of the application is at a loss.  Please help me to maintian the same State of the application after close and reopen the app means reopen

  • Pivot query

    Hi allI wrote a pivot query but it is not giving me the expected output. with test as ( select 'outgoing' type_of_call, 'local' sub_type_call, '1sec' pulse, 0.3 call_charge from dual union all   select 'outgoing' type_of_call, 'STD' sub_type_call, '2