How can I save images in 16-bit grayscale in Labview without IMAQ

Hi, I'm trying to record images in grayscale of 512 x 512 16-bit of the camera for each period of time (eg. every 5 sec) and also display them in the control panel in the corners.

However, I can get a bunch of pictures of bluish and greenish rather than gray ones. Please give me some advice. I really appreciate it.

Please see the attached VI. Thank you.

I would simplify the gray color table code:

Then, you must map the values 16-bit to 8-bit of the display values.  Right now you are just forcing to U8-U16 table which is likely to smudge the highlights.  Instead, you should find the table max and min and scale the entrance so max-> min scales 0-> 255.

(x min) /(max-min) * 255

Whimsical programs do not use a linear, but it's a good start.

Tags: NI Software

Similar Questions

  • How is an image in 16-bit grayscale in LabVIEW without IMAQ important?

    Hello

    I am writing a simple demonstration of Imaging for a camera to infrared imaging IR-160 of Solutions. I do not have IMAQ and unfortunately, there are no funds at this stage. (If the demo is successful, funds may become available.) I have LV 8.5.1, complete edition.

    The camera creates 16-bit grayscale images, but the format of the image is not well documented. I know that the image is 160 pixels pixels wide x high 120, that gray values are stored as simple bytes (not ASCII), and that the data format is 16-bit signed words, the most significant byte first.

    I attach two sample images (8 bits and 16 bits) and two live test.

    I am able to read the image, but instead of shades of gray, everything is blue, and there are artifacts in the upper part of the image.

    The camera also creates 8 bits to the pgm format images, but I have the same problems there. (The image of pgm opens well in for example, corel paintshop pro.).

    What should I do so that the image appears in grayscale, then save it as a bitmap?

    Thank you for your help.

    Peter


  • Display/save image in 8-bit grayscale

    I have a VI that captures an image in grayscale 8 bits (table 1 d of 1500 pixels). It has a 10-byte header that I remove and try to view it.  The problem is that the image is considered to be a RGB.  In addition, the saved image can be opened with an image viewer but is not correct.  The pixel data is missing. How do I get this to display an image in 8-bit grayscale.  I would also like to duplicate the 1 line of the image to about 50 lines data to make it easier to observe.  using a loop and indexing the line only leaves the empty pxmao.

    Bjoles,

    You are missing a color table entry to your flatten pixmap block. See extract vi I have attached. Also, I found that building the tables of a loop is a quick way to do it, Labview seems to pre-allocate memory correctly.

  • How can you save images cut into slices?

    I cut out my computer for web design in different images that I want to insert in DW. I can't understand how to record individual images.

    File - Save For Web & Devices, and then click the [Save] button at the bottom.   You will see a few options in the dialog box that appears.

    -Christmas

  • How to create an image in 16-bit grayscale of the matrix of values

    Hi all

    I'm having a problem of conversion of a series of measures in a specific image. I have a matrix of size nxm (variable n and m), which contains the measurement data. My intention is to transform this matrix into an image to be analyzed later by external software. The trick, however, is that the image must be in the format 16-bit grayscale: grayscale for image processing and 16 bits to ensure that the resolution is not hindered.

    I search the Web and still have not found a way of mapping somehow measured values I have in this matrix in pixels (16-bit grayscale ones, that is). I have access to the LabView Full Development System version, but not other toolboxes.

    Does anyone have any suggestions?

    Hello world

    I managed to make it work with the help of people on other forums. The key is to use the IMAQ driver, which gives the screws required to create pictures on 16-bit grayscale (only supported nicely by PNG format apparently).

    The discussion on the other forum can be found here: http://stackoverflow.com/questions/11101420/structure-of-16-bit-grayscale-image-to-be-generated-in-c...

    The IMAQ driver can be found here: http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/catnav%3adu, n13% 3ahardwareDr...

  • How can I save a file that is larger than 2gigs without having to compress the image or reduce 16-bit to 8-bit?

    is this possible? I tried to save in a .psd file and I got a message saying it cannot save to the disk because it is bigger than 2gigs. ! I could really use some advice on saving a photo that I need to keep the highest quality for the very strong impression!

    Hi Kareen-

    This problem can lead to a lot of things but don't forget that to save a large file, you need to provide Photoshop with good use of CPU and good work record

    first try to set photoshop giving him memory: go in Edition > Preferences > Performance in memory use increase the Ps memory can store more in your ram... (what economy try closing all other efficiency programs)

    in Performance tab there is a group called "History & Cache": If your file is large itd be interesting to use as many levels of cache (maybe 8) and tile caching during about 1028 k size also affect the size of the large, flat tile

    in Scratch Disk leave photoshop now uses its temp file in all your drives for better performance

    If this doesn't work for you let me know your sys. config. and the amount of layers has your file

  • How can I save image transparent

    I would like to save an image with transparency, but it shows a gray background. It looks like all the information of the image are lost when I rebuilt

    the image on the table (table IMAGE to image.vi).

    For more information, I have attached the vi.

    Thanks for the help!

    If you store image "transparent" in the file and load back without analysis, you can then use that overlay can be saved in the PNG file with info vision.

    Something like that:

    Result will be:

    Andrey.

  • How can I save photos?

    How can I save images (from my digital camera) and remove all the pictures on the camera?

    You connect the camera to the PC VIA USB
    cable or you have an internal USB media or external
    Player that you insert your memory card in? Anyway
    should work, but the media player is the best because it is
    not drain the batteries of your camera. Uploading photos
    When the batteries are low (after a long photo taking session
    for example) can lead to damaged photos.

    Maybe this article will help you get started:

    How to import pictures using Windows XP digital camera
    http://www.rickysays.com/import-digital-camera-photos-Windows-XP
  • How can you save the background image contained in a Thunderbird e-mail message

    How can you save the background image contained in a Thunderbird e-mail message

    Have you read the instructions which preceded the right click? What of their suite?

  • I have an HD camera that records on SD cards.  How can I save raw images to a hard drive without import it at the FCC and then share?

    I have an HD camera that records on SD cards.  How can I save raw images to a hard drive without import it at the FCC and then share?

    YYou want to save raw images, but not all? Is that what you mean? When you import into FVP you can select the songs you want and you can set the library in the Inspector to record the files on any player, anywhere.

  • All images in emails can be saved as firefox document only, how can I save in jpeg or another format I can change?

    All images (photos) I receive in my email that I want to save are saved as a 'firefox document '.
    How can I save the photos or videos in a format (jpeg or...?) that I can change.
    Dan

    Oh, my God... who has worked... I tried to save the photo... Do a right-click, save image as... and on the line, it says download and I added .jpeg and saved... and there, it was a picture... Oh, thank you, thank you... what a wonderful an easy fix...

  • How can you save the image to a google map that is contained in a Web site?

    How can you save the image to a google map that is contained in a Web site? I use a macbook at the beginning of 2011 pro and functional on OS X Yosemite 10.10.5. I would like to capture the image of the map and print it with a good quality.

    Take a screenshot and print that

    Google mapsHow to take a screenshot on your Mac - Apple Support

  • How can I save a directory or a specific file without saving the Image to the system?

    Purchased new software my company insists on the fact that we back up software data every day on a USB. I tried to schedule a backup, but I don't want the Image of the backup system. How can I save a directory or a specific file without saving the Image to the system?

    When you choose what to back up, simply uncheck the box of system image:

    Or another simple way is to program a command that copies the files on your USB key, replacing the backup from the night before.

    For example, this command copies all of my 'Project X' folder on my USB drive (drive E :)

    copy 'c:\project x\' e:

  • How can I protect images being uploaded to Muse?

    When you create a slide show in Muse, how can I protect images to download?

    Basically, you can't.

    If something is available online to view, it can also be downloaded and there is little you can do to stop it actually.

    There are scripts that you can add to your site to disable "right-click > save image" BUT someone who really wants the image can get around that by using a variety of ways, including creen caps and looking at your code to determine the source where is image is hosted on your server.

    The best that you can do watermark the images clearly and integrate data in the image file. He won't stop anyone who takes pictures, but it clearly follows the fact that you are the owner of the copyright. Take note however, that someone who understands this topic, can also remove those bits of data - but your average user wouldn't know, or know how to remove it. However, this is one of the best ways to "stamp" your property to an image.

    http://www.ehow.com/how_4578212_information-digital-photos-Photoshop-CS.html

    http://www.photometadata.org/meta-101-metadata-Q-and-A

  • How can you save pictures to a text message on the sd card?

    How can you save pictures to a text message on the sd card?

    tap and hold the picture and you get a pop-up menu to save the image.

Maybe you are looking for