Image from 16 bits to 8 bits/RGB

Hi all

I have been using the clip and save to AVI examples OR but it does not work for me.  My mistake is that my images are 16-bit and the necessary images are either 8 bit/RGB to be converted to avi.

How would I achieve that?  Please see screenshot.

Kind regards

Miika

After a bit of a Eureka! now, a solution has been found.

IMAQ Vision module and development as well as other LabVIEW software has not been downloaded.  Downloaded and the vi IMAQ Cast Image (among others) jumped upward and the program now works perfectly.

Thank you very much!!

Tags: NI Software

Similar Questions

  • ImgBayerColorDecode of NOR-IMAQ to produce 64-bit RGB images?

    According to reference Help feature, imgBayerColorDecode can be called with a void * pointer source and destination, so in principle it should be able to handle Bayer encoded images to 16 bits per pixel, right?

    However, when I look at this old net, it seems that it is not possible, because only 32-bit RGB can be taken out. When I look at the "Bayer Color Decode.vi IMAQ" on our system, the dll call is one of:

    "int32_t imgBayerColorDecode (int32_t dst, int32_t CBC, lines uint32_t, CLO uint32_t, int32_t dstRowPixels, int32_t srcRowPixels, const uint32_t * redGain, const uint32_t * greenGain, const uint32_t * blueGain, uint8_t bayerPattern, int32_t bitDepth, uint32_t reserved);

    But settings can be changed apparently. So my guess is that imgBayerColorDecode can now convert 16 bit Bayer coded images in RGB (A) 48-bit or 64-bit images (+ alpha), but I can't find any mention of this in the page "What's new with NOR-IMAQ".

    Can someone from OR Please confirm that it is possible today or is the old NET still valid?

    Hi Oliver,.

    During the period of SP1 2012, new Bayer decoding support added to the Vision. Bayer functions exported from the DLL IMAQ are discouraged because they don't have any of the new features. The functions are now in the Vision, but I think they do not need a license of the Vision Development Module (they are part of the basic API).

    The new functions of Bayer are significantly faster, have many algorithms of quality varying and support the conversion of > 8 bit to RGB64.

    imaqBayerToRGB() is what you should look into nivision.h.

    Eric

  • Convert 8 bit RGB Bayer Image in Monochrome

    I'm looking for a way to perform an edge detect algorithm on the camera sensor image which was released in 8 bit RGB of Bayer (cannot specify the monochrome output sensor).  The image is read on the gray u8 IMAQ camera, but then the edge detect does not work because of the rasterization of bayer.  After the conversion of bayer in a u32, vi of detection errors color image edge by saying the image type is not supported (logic).  I wonder if there is a function that would allow me to take the image RGB U32 and then convert it back into an image in grayscale which has no pixel with the raw data read problems and will work with the edge detection algorithm.

    If there is a function to convert an image IMAQ from color to grayscale so I could make the edge detect would be great (I didn't see one).  I think it would be a common place because many functions run only with images in grayscale.  If a function does not exist, what is the best way to go on the conversion of the image using LabVIEW.  I'm not an image of expertise so I'm not sure of the best way to go about it.

    Thanks for your help.

    Use IMAQ Convolution with a 3 x 3 table.  The elements of the array are numbers that I entered previously.  The convolution function only like arrays of odd sizes so that the image does not move during the convolution.  You can ignore the idea of 2 x 2 - I think it is cleaner.

    So, to summarize:

    1 acquire U8 Bayer image as grayscale image.

    2. apply the filter convolution 3 x 3 to remove artifacts from Bayer.

    3. use the Sobel filter to find the edges.

    4. use IMAQ quantify for the average or STD dev of intensity.  It is a very good measure of the development.

    Now to confuse you even more: you can speed up the extent of the development if necessary by reducing the resolution of the image.  You must insert a step after 2 (or instead of 2) allowing to extract from every other column and row of the image.  The focus indicator always follows the development very well, and treatment is a bit faster.  I used this trick a few years back, but it is perhaps not necessary on modern computers.

    Bruce

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

  • Convert a sweep of 16-bit grayscale tif to DNG and getting 48-bit RGB?

    I have scanned hundreds of old black and white negative using Vuescan to TIFF 16-bit grayscale. If I open in Photoshop CC2014 the tab indicates that they are a single 16-bit grayscale channel. But if I have Lightroom convert them into DNG and then open them in Photoshop, they appear as 48 bit RGB or three 16-bit RGB channels. The three channels are identical. What happens here? Is it only returned as a 48-bit RGB or the DNG image byPhotoshop to store the RGB image? The DNG format is not much bigger than the TIF, so it doesn't seem to be store 48 - bits of information. I lose all the data on your way to the DNG format with a scanning in grayscale?

    Given that I can export the DNGs to a tif and it refers to a single channel 16-bit, I suppose I don't lose all the information, but I'd rather not use DNG for scans in grayscale? Or should I edit in Photoshop with the three RGB channels on and understand that I am change the grayscale channel should ever export back to tiff?

    It seems at least that there is a gap in the rendering of the shades of gray DNG in Photoshop?

    I think that the best way to answer here is to explain my own workflow.

    I have to be a little brief: it's getting very late, and I start tomorrow a roadtrip of six weeks.

    I do a lot of work with TIFF scanned, and it never occurred to me to convert to DNG.

    I start with rough tonal corrections, noise reduction and retouching in PS and then import the image (with all the shadow and highlight details present) in LR.

    Here, I'm very good tuning and capture sharpening, but sometimes the image must return to the PS for editing. I use then change the Original and the image opens grayscale in PS. After check-in PS, I click on the exclamation mark on the thumbnail and choose import disk settings and updates to images in LR.

    Given that I find the release of LR sharpening unsuitable for scanned images (it's probably optimized for digital capture), I export a new LR tiff image, open it in PS, conversion of RGB to grayscale and use Smart Sharpen for output sharpening. I wish you that LR could export in grayscale, but I've learned to live with it. You could easily implement an action of conversion in levels of gray (and 8 bits) and use it regularly.

    My knowledge of the technical aspects of the dng files is limited, but my impression is that they are files in grayscale, which explains the small size of the file.

    The color is added in the process of deconvolution in LR.

    I do not think that your workflow with convertin to DNG will affect the quality, so stick with it if you wish.

    I gladly carry on this discussion, but since I'll be on the road, you answer could take some time.

  • Photomerge DNG files stitches 16-bit/32-bit RGB/8 * panoramas

    Hello

    I'm trying of Photomerge in Photoshop (via file/automate/Photomerge) lets you assemble multiple RAW files in a panorama. I tried the two 12-bit ORF and DNG files 16-bit/32-bit, but for some reason the stitched panorama is always in RGB 8-bit (RGB/8 *).

    I also tried poking the OpenEXR (32 bit) files, and for these, I get the panorama in 32-bit.

    If any idea why O.r.f.s. and DNG is stitched only in 8 bit?

    Thank you!

    You have 8-bit output value in ACR? Change in the workflow options; the blue link under the main image window.

  • Change from 16 bits to 32 bits

    How to change to 16-bit 32-bit photos

    Hello

    That mean ranging from 32-bit/16-bit/channel as channel under Image > Mode?

  • How accidentally convert all my images to 8 bits?

    Hello

    Five minutes ago, I checked my image in Camera Raw before import into Adobe Photoshop CS6 wasn't in 16-bit mode.

    Immediately after that I imported into Photoshop and it became a document .psd, I checked once more that he was always in 16-bit mode.

    Then I created a duplicate layer, selected the sky and created a mask layer from this selection.

    Not much.

    NOW I SEE from below, I am in 8-bit mode.

    Why is this?

    It is true that ANY MASK I create forces the entire image in 8-bit mode?

    Thank you!

    Screen shot 2013-01-02 at 12.14.32 PM.png

    The documents should never spontaneously of course change the bit depth.

    Opening a Camera Raw image in Photoshop, the title of the document should not end in '.psd' until a backup (in PSD format). Have you made the steps other than the ones you have described?

    Your thread title says "all my images. Do you mean that you have had many 16 - bit documents open in Photoshop and all except one of the inactive tab in your screenshot became mysteriously 8-bit?

    Look in the history panel after a doc past from 16 bits to 8 bits. There is an element named "8-bit/channel"?

  • How to display 16-bit RGB information?

    I use Photoshop CS4 v 11.0.  I opened a .tif that is 16-bit RGB.  Photoshop recognizes as 16 bits.  The tab on the image says RGB/16 *. (I do not understand the asterisk)  Image > Mode confirms that it is of 16-bit/channel.

    However the info panel shows that the values of RGB 8 bits (0,255). The Panel options include a bit of depth of detection.  How can I see the RGB values, perhaps (0,32767), image .tif using Photoshop?

    Simple answer-in your info panel, there is a small pipette beside RGB values. If you click this it gives you different options. Including the ability to read 16-bit values.

  • When I go from one webpagr to another resolution of the screen going from 32 bit to 8-bit.

    Im running windows xp and firefox 32.0 is my browser.my default home page opens and looks very good. then when I go to another Web site, that page going from 32 bits to 8 bits. I opened Control Panel, clicked on display, click settings, click on the area of resolution to set it to 32 bit and then clicked ok, the screen changes to 32 bits, I close the tab setting, close the tab of display properties and close the control panel. then, when I go to another Web page it goes back to 8-bit and looks blurry, and the colors are not good. How can I fix it?

    The colors are color change from 32-bit to 8-bit color?

    Sometimes, the Windows display is affected by compatibility in your Firefox shortcut settings, the icon you use to start Firefox. If that right click and choose Properties, then click the Compatibility tab, here's where you indicate you want Windows look more primitive when you use Firefox. For best results, uncheck all OPTIONS on this tab (in other words, use all the features of Windows XP).

    Was she?

  • Recovery of the factory from 32 bit to 64 bit with the note system performance

    Recovery of the factory from 32 bit to 64 bit with the note forever system performance, it's about associated wire
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=50433
    which is closed/locked, and had no correct answer.

    I just bought a Toshiba L750. After learning of the default Windows 7 installed is Windows 32 bit, I decided to go Recovery Wizard from Toshiba upgrade to 64 - bit. However, the process is stuck to the system performance of note, that repeated several times for 2 hours.

    Given that I guessed that screen performance of system just note one full screen of a normal process of Windows, so I pressed the button Windows start to display the taskbar which showed a component of Adobe installation process has failed. In any case, I clicked on the install Adobe on the taskbar button and close the window.

    The note system performance then continued with about 10 steps ahead after 15 minutes. All well done.

    So the trick is to close a window of the installation components that get stuck. Hope this helps some Toshiba laptop users out so hard.

    A suggestion from bits to the team of Toshiba laptop:
    The full screen of the Recovery Wizard is good to hide technical details from users. However, if hang in some components, like the Adobe component I've seen, this will be confusing and advises current defects if the end-user following some in the thread above, legacy because of some missing components and the wrong configuration. It is preferable that the wizard of recovery to exit full screen at a given time, or the wizard handles error scenarios better.

    > So the trick is to close a window of the installation components that get stuck. Hope this helps some Toshiba laptop users out so hard.

    Thanks for sharing this with us!

  • Can I move from 32-bit to 64-bit without doing a full wipe and the re-installation?

    Can I move from 32-bit to 64-bit without doing a full wipe and the re-installation

    original title: 32-bit to 64-bit XP upgrade

    Can I move from 32-bit to 64-bit without doing a full wipe and the re-installation

    Sorry, but no, you can't. A new installation is required.

  • My pc is xp p2, which I can move from 32-bit to 64-bit?

    My pc is xp p2, which I can move from 32-bit to 64-bit?

    I don't know what you mean by "xp p2. Do you mean that you have Windows XP Service Pack 2 installed?  If you want to run a 64-bit operating system, you must ensure that you have a processor 64-bit capable. You'll also need 64-bit drivers for all your hardware for any 64-bit operating system you want to install.

    Is this an older machine? Is there a reason you want to move to a 64-bit operating system? You should also be aware that you cannot move to a 64-bit to a 32 bit OS OS; You must do a clean install. MS - MVP - Elephant Boy computers - don't panic!

  • How to get from 32 bit too 64-bit? __

    How can I go too a 64-bit to a 32-bit operating system?

    How can I go too a 64-bit to a 32-bit operating system?

    Here is a link to 32-bit operating system and 64-bit
    http://Windows.Microsoft.com/en-us/Windows-Vista/32-bit-and-64-bit-Windows-frequently-asked-questions

    Excerpt from the above link:
    Can I move from a 32-bit version of Windows to a 64-bit version of Windows...

    Lol if you are currently running a 32-bit version of Windows, you can only perform an upgrade to another 32 - bit windows version. Similarly, if you run a 64 - bit windows version, you can perform an upgrade to another 64 - bit windows version.

    If you want to upgrade from a 32-bit version of Windows to a version 64-bit Windows Vista or vice versa, you will need to back up your files, and then choose the Custom option duringWindows Vista installation. Then, you will need to restore your files and reinstall your programs. For more information, seeinstallation and reinstallingWindows Vista.

    For detailed information about installing and upgrading 32-bit versions and 64-bit windows, go toVista (32 bit) "" href = "http://go.microsoft.com/fwlink/?linkid=82837" > choice of Installation for Windows Vista (32-bit) "

    or Vista (64-bit) "" href = "http://go.microsoft.com/fwlink/?linkid=83239" > choice of Installation for Windows Vista (64-bit) online. "

    Another extract of choice of Installation for Windows Vista (64-bit):

    Upgrade of an operating system from 32-bit to a 64-bit operating system If you buy a updated version 64-bit of Windows Vista with the intention of installing on a computer that is running a 32-bit operating system, you must install Windows Vista by starting the computer from the 64-bit Vista installation DVD.

    Important Do not remove the previous operating system before you start the Windows Vista installation. This is because the Windows Vista Setup program verify that your current operating system license supports the installation of a 64-bit upgrade version. For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • looking for resizer in xp for windows power toy image 7, 64 bits

    looking for resizer in xp for windows power toy image 7, 64 bits

    Try this freebie:

    (It's always a good idea to create a system restore point before installing software or updates)

     I think you'll like this one. It is very close to the old XP resizer!
     
    Image Resizer Powertoy Clone for Windows 64-bit-
     
    * I downloaded it, and it worked for me. But, proceed at your own risk *.
    Be sure to back up first!

Maybe you are looking for

  • Use of data from the system services

    My iPhone starts 5s have a huge use of Data Services system. For a minute, it takes 100 MB (in detail its all used in general). Anyone knows what is coming? Because until now was without any problem. Thank you.

  • Verification code not get two-step for app store purchase.

    When you download from the app store, Apple requires the user id and "password followed by verification code displayed on your other devices". This is EXTREMELY vague and badly phrased: -It does not say where to find this code. I guess it's supposed

  • Re: Satellite A665 - 12K - only 1.93 GB, 4 GB of RAM recognized

    Hello everyone, here's my problem: when I opened my laptop configuration, it shows only 1.93 GB of my RAM is available of 4 total. How can I activate all 4?I would appreciate any help from you. Thank you in advance. PS I have updated my BIOS to the l

  • HP compaq 8200 elite SFF graphic settings

    I have HP compaq 8200 elite SFF and only intel dedicated hd graphics 2000 which says that I have only 32 MB of ram, how do I increase it? I tried to get into the BIOS but I can't change it whatever it is, not even overclock my processor, is there a s

  • Product name: 700-010xt: tune does not not after trying the solutions in the community

    HP Support Assistant does not connect to the internet.  Tried various solutions from the support site which included: run fixit ms program to uninstall * disabled firewall * reinstalled... .the latest version updated to Dec14 ...  I have two of the s