How to transfer a table OR scop 2D in a gray-scale image and save it

Hi all

I have acquired a 2D array and that you want to transfer into an image in grey scale (12 bits) and save it to my hard drive but I don't know how to do it.

I can use the graph of the intensity to show the 2Darray in gray-scale image, but intensity graph.vi cannot save the image in real time.

Thank you.

The 24 bits is a color image with 8 bits per channel of color per pixel (interlaced, if I remember correctly).  It is not a 24-bit gray level, so I don't think it will work for you.  I think that the library IMAQ (an add-on LabVIEW) will manage to 16-bit gray scale, if you can get a copy.

Native LabVIEW to work around the problem, you could also split your image into two images of 8 bits, with one image that represents the high bytes, the other down.  You could then combine them when you do the analysis, if your analysis program is capable of that.

Tags: NI Products

Similar Questions

  • How to register a specific field selected in MS Paint from an image and save it in Windows 7?

    I have an image I want to register a specific domain of and I save t in a new image (an image, is not to be confused with a BOOT image). I thought that the copy of... function in MS Paint XP was very neat, how can I do this in Windows 7?

    Current situation:

    1. Open an image in MS Paint
    2. Select the area with the tool select
    3. Right-click the selected area
    4. West no copy to... function
    Desired situation:
      • Open an image in MS Paint
      • Select the area with the tool select
      • Right-click the selected area
      • Navigate to a desired output folder
    MS Suggestion: Bring back the old copy to... function in MS Windows 7.

    1. open the image into mspaint

    2. Select the area you want to
    3. click on "crop".
    and now, you will see that the specific area you want. Finally, save too ;)
  • How to make the false colors on gray-scale image? Are there examples of the imaqSetWindowPalette function?

    Hi ~ I'm using LabWindows/CVI & OR vision. I want to apply false colors on my image of gray, but I don't know how to use the imaqSetWindowPalette() function. Are there examples? or a better idea? Thank you very much ~ ~ ~

    It depends on what you're trying to achieve:

    1 imaqSetWindowPalette() change the palette to display only. This affects the display, but still, the underlying image is grayscale.

    a simple use is:

    {

    const int window = 1;

    Image * image;

    / * retrieve and store your image * /.

    ...

    / * change the palette * /.

    imaqSetWindowPalette (window, IMAQ_PALETTE_BINARY, NULL, 0);

    / * display the image * /.

    imaqDisplayImage (image, window, TRUE);

    }

    as specified in the documentation, the third and the fourth parameter of imaqSetWindowPalette() are used only when the pallet type is set to IMAQ_PALETTE_USER, in this case, you specify the colors you want to use for the display.

    {

    / * declare and fill you the palette * /.

    RGBValue palette [256];

    / * fill your palette here * /.

    palette [0]. R = 0;

    palette [0]. G = 0;

    palette [0]. B = 0;

    .alpha palette [0] = 0;

    palette [1]. R = 255;

    palette [1]. G = 0;

    palette [1]. B = 0;

    palette [1] .alpha = 0;

    / * etc * /.

    / * Use the palette * /.

    imaqSetWindowPalette (range of the window, IMAQ_PALETTE_USER, sizeof (palette) / sizeof (* palette));

    }

    fixed palette, you can also set you palette with an initializer:

    RGBValue palette [256] = {{0,0,0,0}, {255,0,0,0}, {0,255,0,0}}; / * you write 256 color values you want your palette consists of * /.

    2. If you want the palette to be final during the recording of the image with the new applied palette, you can specify the palette in the call to imaqWriteFile().

    3. or you can convert your image to RGB (imaqCast()) then... you're on your own: for some unknown reason, the lookup table in a call to imaqCast() converting grayscale 8 bit RGB is not documented as being used. error in documentation? removal of the deliberate feature? Finally, you can test what happens if you specify one.

  • How to download an image and save it in a database?

    I created a new application form, so that the user can send a new request. It works fine, but I also wanted them to be able to download an image. I'm stuck on how to add a picture to download and mount with the code I already have for other data I ask. Is there a way to do this or suggestions?

    I still have useful and suggested changes that I get; that I intend on taking, I did not yet because I was trying to get it all to work before me.

    Code: NewRequest

    <? PHP require Connections/Connections.php"?" >

    <? PHP

    {if (isset($_POST['NewRequest']))}

    session_start();

    $FName = $_POST ["FirstName"];

    $Location = $_POST ['location'];

    $Description = $_POST ['description'];

    $Image = $_POST ['image'];

    $sql = $con-> query ("INSERT INTO newrequest (Fname, Location, Description, Image) Values('{$FName}','{$Location}','{$Description}','{Image}'"); ")

    Header ('Location: Account.php "");

    }

    ? >

    <! doctype html >

    <! doctype html >

    < html >

    < head >

    < link href = "CSS/Master.css" rel = "stylesheet" type = "text/css" / > "

    < link href = "CSS/Menu.css" rel = "stylesheet" type = "text/css" / > "

    < meta charset = 'utf-8 '.

    < title > NewRequest < / title >

    < / head >

    < body >

    < div class = "Container" >

    < div class = "Header" > < / div >

    < div class = "Menu" >

    < div id = 'Menu' >

    < nav >

    < ul class = "cssmenu" >

    < li > < a href = "Account.php" > account < /a > < /li > ""

    < li > < a href = "UpdateAccount.php" > update account < /a > < /li > ""

    < li > < a href = "NewRequest.php" > new request < /a > < /li > ""

    < li > < a href = "ReviewRequest.php" > Review Request < /a > < /li > ""

    < li > < a href = "LogOut.php" > sign out < /a > < /li > ""

    < /ul >

    < / nav >

    < / div >

    < / div >

    < div class = "LeftBody" > < / div >

    < div class = "RightBody" >

    < do action = "" method = "post" name = "NewRequest" id = "NewRequest" > "

    < div class = "FormElement" >

    < label for = "" > < / label >

    < name of entry = "FirstName" type = "text" required class = "TField" id = "First name" = "First name" placeholder >

    < / div >

    < div class = "FormElement" >

    < label for = "" > < / label >

    < name of entry = 'Location' type = 'text' required class = "TField" id = 'Place' = 'Rental' placeholder >

    < / div >

    < div class = "FormElement" >

    < label for = "Description" > < / label >

    < name textarea = 'Description' required class = "TField" id = "Description" = "Description" placeholder > < / textarea >

    < / div >

    < do action = "NewRequest.php" method = "post" enctype = "multipart/form-data" > "

    Select the picture to download:

    < input type = "File" name = "Image" >

    < input type = "submit" name = "upload" value = "Upload" >

    < / make >

    <? PHP

    {if (isset($_POST['Upload']))}

    echo $name = $_FILES ['images'] ['name'];

    echo $tmp_name = $_FILES ['images'] ['tmp_name'];

    If ($name)

    {

    $location = "name of assets / $';

    move_upload_file($tmp_name,$location);

    }

    }

    ? >

    < div class = "FormElement" >

    < name of entry = "NewRequest" type = "submit" class = "button" id = "Send" value ="" >

    < / div >

    < / make >

    < / div >

    < div class = "Footer" > < / div >

    < / div >

    < / body >

    < / html >

    This is the page:

    New Request Design.PNG

    Do not store images in databases. Period.

    The procedure to transfer an image to a directory server and location of reference is not complex, but very important security problems there. You must prevent hackers to download malicious code to your server.

    The book PHP Solutions by powers details the code to do this.

  • I accidentally deleted some photos from my phone to the computer, how to make their return without having to pay for software to recover and save?

    plugged in lg cookie and entered the hard drive on my computer, went to images clicked on an image then shift held clicked on another, supposed to press copy, but accidentally remove in a hurry. Ive tried other programs, but ultimately, I have to sign up, we need to find a way or a program on how I can get them back for free. Thank you

    Recuva, a well known freeware recovery program.

    Take a look, I am attaching the link.

    http://www.Piriform.com/Recuva

    HTH

  • How can I get contact Hotmail to a list instead of an image and a name form?

    My contact has a picture with the name under it and a star (probably means Favorites) I would like a list form so that I can mke to CVS and move.

    Dale

    Hello

    I'm sorry, but we cannot help with hotmail problems in these forums in response to vista

    Please repost your question in hotmail in the hotmail link below forums

    http://windowslivehelp.com/product.aspx?ProductID=1

  • How to change the setting on 4500 want color to gray scale only

    How to change color printing grayscale only for a desire to 4500

    Hello

    Advanced is on the paper/quality tab

    Kind regards.

  • How can I get a CMYK or Gray scale halftone and replace it with a spot color with the same value of midtones?

    Is it possible that I can select an object or objects that have a value of mixed CMYK or Grayscale, and then select a Spot color and it will keep the same value of midtones as before?

    For example, I have an object that is C: 0 M: 0 Y: 0 k: 20 and I select Reflex Blue. What is happening is it change my object to 100% Reflex Blue. Is there a way to change to automaitically Reflex Blue 20%?

    Another example, I have 3 objects, one is 20 k: the second is 40 k: and the third is KC: 85. I want to select all the objects in three at the same time, select Yellow PANTONE and get them to change yellow PANTONE 20, 40 yellow PANTONE and PANTONE yellow 85.

    Is there a way to do it or I will always have to manually edit each element?

    Thanks for the help.

    Select the elements to recolor

    Edit > edit colors > redefine > follow my screenshots

    I love clicking this button under the entitlement, one place for everything that you color reduction settings.

    Use tinted scale. Exact will give you 100% of the color. The exact word is confusing here, this means that the color of the destination (100% of everything that the color you choose), not a version tinged scale.

    Unfortunately I do not know how to get the exact values of blacks to convert the exact values of spot color. Scale of hues will you get you get you close enough for what you need. In my example that a black 89% converts a 84% of the place, so no exact but alteast I have a range of shades, and sometimes the results are better than accurate, depends on your art.

    Here are my before and after.

  • How to resize a photo/image and save it?

    Hello, I know how to resize an image. But how do I save a new image/photos Jpeg with new properties of size?

    Use file > save as or file > save for web. One of these will create a new document as long as the name is different or in another folder.

  • How do I allow people to Adobe Reader to fill out a form and save it for their own use?

    Using Adobe Acrobat Pro, I created a simple form that users can fill.  I have never see the form.  The form is for them to complete, to their own computer and to update when they have more information.

    When I open my 'test' recorded document and open it in Adobe Reader 9, I can edit and modify the fields, but I can't save it locally.  I get the standard WARNING "cannot save the data entered in the form.  I want the user to record, update and print at their leisure.

    I tried to play with the functions of security, but without end. How can I do this?  Help, please.

    Thank you.

    You need to extend the rights of the reader in the advanced Acrobat menu.

  • How do I crop the part of the image and save only the portion cropped in Win 8

    Whenever I try to save a cropped part of an image it records the starting with the cropped part a little picture on the side.  I try to use "paint".  Is there another way?

    Download and use the free Windows Photo Gallery. He is much more capable than the paint.

  • How to transfer playlists from iTunes on a flash drive

    How to transfer playlists from iTunes on a flash drive

    Select tracks and drag them to the disc.

  • How to transfer values to the popup while the bean in application scope?

    Hi all

    I use JDeveloper 11.1.1.4

    My scenario is that I have a < af:popup > with a component of < af:outputText >.

    I need pass values of output text dynamically according to the scenarios.

    My grain of support is application scope . So I'm not able to pass values using get and methods.

    My Design as,

    < af:popup id = "p1" contentDelivery = "lazyUncached" >

    < af:outputText value = "#{managedBean.getDynamicText}" id = "ot1" / > "

    < / af:popup >

    Now I run the application I'm not get all values in text during debugging output, I am able to set the value, but it didn't reflect on the page.

    How to transfer values to the popup while the bean in application scope?

    Thank you...

    At the bean, why don't you set the value to a variable pageflowscope and point the outputtext popup to the pageflowscope variable?

    () .getpageflowscope, set AdfFacesContext.getCurrentInstance ("nomvar", value);


    Thank you

    Alisson

  • How to transfer a line of table (instance) from table1 to table2?

    Hello - I am an active user of the following Adobe LC designer but I'm getting into difficult (for me) territory regarding the javascript coding!

    My problem is the following: how to transfer an instance of array (lines) of the object table 1 to table 2?

    that is, there are 2 tables on a form and I want to click a button that removes the first line from Table1 and insert this same line (data intact) at the bottom of table 2

    the code I used below does not work! (it could be complete rubbish but, like miles off the mark)


    var oTransferInstance = form1.pg1.subformRow [0];
    var nIndexFrom = oTransferInstance.index;
    var nIndexTo = form1.pg2.subformRow.index + 1;

    Form1.PG1.subformRow.instanceManager.moveInstance (nIndexFrom, nIndexTo);

    Help, please! I'll be very grateful

    concerning

    David

    Sure, send it to [email protected] and include a descriptionof the question.

    Paul

  • How to transfer a single RT for FPGA data

    I start working with the CRio-9012, I want to know how to transfer data from the FPGA RT, I found something about DMA FIFOS, however I notice that it is only possible to transfer pictures, I don't know if I'm doing something wrong. I have another question, is it possible global variable usage in the data transfers between RT and FPGA?

    Filipe

    280584 wrote:
    If I try a fifo DMA allows you to transfer data between FPGA and RT, I choose TYPE: ok DMA HOST-TARGET? or SCOPE TARGET must be selected? In this case, my host is the RT and the target is FPGA ok?

    Yes, you will need to use 'Host to Target' or 'Target to Host' (the FPGA is the target, RT is the host); the one who depends on the direction that where you want to send the data.  Target range is for FIFO that is used only on the FPGA. they are useful for transferring data between the simultaneous loops in FPGA code.

Maybe you are looking for