What happens to a 12-bit image in LabVIEW/IMAQ Vision?

I'm using the DALSA DALSTAR 1M30 camera, and we are building a cable for it, and have not yet got it up and running, but I am already programming our application for it. I was wondering, since the IMAQ Vision VI's seem to pertain to 8-bit, 16-bit, and floating point images, I was wondering if they will work fine with a 12-bit image like the one from the 1M30 camera. I was also wondering, if they do work fine, what format the output of a VI like IMAQ ImageToArray will be. Will the 12-bit pixel values be converted into 16-bit?
Thanks for the help.

A 12 bit image is stored within IMAQ as a 16 bit image. Only routines that accept 16 bit images can be used for manipulating the image.
The IMAQ WindDraw converts 16 bit images to 8 bit images for display, using the selected method. You can also manually convert to an 8 bit image for automatic thresholding and other routines that don't accept 16 bit images. For most applications, you will want to shift it 4 bits during conversion so the most significant bits are preserved.
Bruce
Bruce Ammons
Ammons Engineering

Similar Messages

  • Image processing with imaq vision with 2 webcams on the same computer

    Hi,
    I'm currently trying to set up 2 usb webcams (logitech quickcam for notebooks pro). I want to be able to have them both run simultaneously and do some image processing with the images that I get from both cameras with labview and imaq vision.
    As of right now, I'm having trouble getting both cameras to run at the same time. Any help would be gladly appreciated. Thanks.

    The USB IMAQ driver will not support running 2 USB cameras at a time (I believe it is a limitation of the DirectShow interface). You could open one camera, acuqire an image, close the reference to that camera and then do the same for the second camera.
    If you need simultaneous acquisition, look at possibly moving to 1394 cameras or analog cameras.

  • What happened to some of my images? Lightroom/Photoshop won't read them.

    Hello,
    I only shoot Nikon Raw, Using Lightroom to make adjustments and exports. I am using Windows 7.
    I use an external card reader and always copy everything directly to my computer first, then Import to Lightroom. I then reformat the memory card, so I can use it again.
    I have never seen this before  in my images.
    After Importing Into Lightroom, on some of my images, (a few scattered instances) I'm seeing something that looks like this , an exclamation mark in a black circle that says;
    Under Library Tab: "Lightroom has encountered problems reading this photo",  "You will not be able to make adjustments to the photo"
    Under Develop Tab: " An unexpected end-of-file occurred"
    Any Image, that has that icon on them, In Lightroom, I cannot make ANY edits or exports.
    The file size looks right, I can see what the image looks like. I tried opening the image in Photoshop, but I get the same error message; " An unexpected end-of-file occurred"
    Why can't these images be accessed by my photo editing programs?
    Is the file corrupted ?  
    Did it happen in file transfer, or by a faulty memory card?
    Can I save the images?
    What can I do to prevent this from ever happening again?

    Hello,
    Thank you for your replies,
    I do put myself at blame. I did not make sure that all the images were successfully imported. I just copied everything and away I went.
    This is a first for me. I did not think that such a thing could happen, I thought for sure that if anything like this were to happen, that an error message would pop up saying something like "some of your images did not copy properly".
    Knowing all of this, am I doomed? Is there nothing I can do? Perhaps there's some debugging tool?
    There's gotta be something, it cant be a total right off, can it?  Is there some method of recovery?
    I really appreciate your replies,
    Thank you very much

  • What happened to the 32-bit computers?

    I was browsing for a computer today, since my sister's old Toshiba laptop broke down, and I decided to look into HP for her.
    I was going to tell her to get the G60t, but then I realized that the only type they had for the G60t was the 64-bit (Windows 7 64-bit)
    I have a Windows 7 Ultimate CD, but it's 32-bit only, so I was wondering if HP was still selling 32-bit computers?

    Netbooks and computers with Celeron processors are still 32 bit in the sense that they cannot run a 64 bit operating system. But these days just about any mainstream computer is capable of running a 64 bit operating system because the processor is compatible with 64 bit code. It is funny you should bring this up because just today, after running Windows XP 32 bit for years, I decided to clean install Vista 64 bit on my personal laptop I use for work. I have been trying out and experimenting with 64 bit operating systems for several years, starting with 64 bit XP and also 64 bit versions of Linux. I have been waiting until the time is right to move my primary Windows machine to 64 bit and I made the move to 64 bit Vista because that will allow an easy upgrade to 64 bit Windows 7 in a few days. The problem with 64 bit until recently was an absence of drivers and compatible software, which is just no longer an issue. If you can go 64 bit, do it. Only with a 64 bit OS can you use over 3 gigs of memory and 64 bit code just runs faster and smoother and more stable. You can still put 32 bit Windows on a machine that could run 64 bit but why?

  • What happened to my previews and images?

    Calling all Wizards,
    Was working in Lightroom 3.3 (64bit) on Windows 7 yesterday when all my previews and the Images went missing. The files and the catalogue entries are all still there (i.e. Metadata, keywords etc).
    The thumbnails are grey and when you click on the image or try working in the developer module or any other for that matter, the image is grey. Zip, Zilch nudder.... or in polite english, no image.
    I tried loading other catalogues, same issue.
    I tried repairing Lightroom (i.e. re-install option), no change.
    The only time I can see a thumbnail is in the import screen during a new import and there after, once the image is imported. No preview or image.
    No luck at all trying everything I know to fix it.
    Any help is really welcome.

    Your monitor calibration profile may be corrupt.
    For testing, please reset the profile to the systems default sRGB. If this helps, recalibrate your display.
    HTH
    Franz

  • Why is IMAQ USB Snap.vi constantly giving out a 32-bit image?

    Hi.
    I'm using some USB cameras (uEye) with Direct Show. I use the IMAQ USB camera tools (with Labview 7.1, Vision 7.1.1) as in the examples. In particular I'm working in the snap mode.
    I create an U8 image (IMAQ Create) which I use as input to IMAQ USB Snap.vi and I set the camera's video mode to grayscale (Y8) using IMAQ USB PropertyPage.vi
    But, I don't get an 8-bit image out of IMAQ USB Snap.vi. The image is always converted to 32-bit RGB. In principal It works like this, but it costs me valuable time to convert the image to 8-bit at some points of the program where I need the image grayscale array.
    Cheers,
    mirola 
    Labview 5.1 - 2011

    Hi Elmar,
    Thanks for answering.
    Of course, the "not officially supported" thing is a killer argument. But the device shall work with a laptop and, as I know, the firewire cameras need an additional power supply when connected to a laptop 1394.
    The camera I use is grayscale and only works properly when I write 8-bit grayscale in its settings (e.g. using IMAQ USB PropertyPage.vi).
    As I said, everything I can set is set to 8-bit. The Snap.vi converts the input IMAQ image to 32-bit.
    But maybe you are right and it's just that NI's USB Direct Show dll is not treated with high priority (note: I use the most recent one, although I combine it with older LV and Vision versions.) Otherwise I guess I would get more answers here.
    On the other hand, if I ask the manufacturer he will probably say I should use his SDK which I don't want at this point.
    Best regards,
    mirola 
    Labview 5.1 - 2011

  • After downloading Namoroka 64 bit for windows 7 all my search engines are gone. What happened and how do I get them back?

    After downloading Namoroka 64 bit for windows 7 all my search engines are gone. What happened and how do I get them back?
    == This happened ==
    Every time Firefox opened
    == This week ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; FunWebProducts; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; AskTB5.6)

    Do they appear if you start Firefox in Safe Mode? See [[Safe Mode]]

  • 2500 images flowed into iPhoto that aren't mine! What happened?  Whose are they?! Do I have to go through

    When I opened iPhoto about 2500 images imported that are not mine.  What happened?  Whose are they?  How do I get rid of them?

    We live in a rural area and have a small business.  No one has access to my computer except me.  My husband doesn't use it -- ever -- so no one else has connected a device unless some mysterious remote visitor obtained access.  The pictures are labeled "Resources" and "theme-files".  They are not of people but a lot of flat squares of color.  They are dated from early 2000's (around 2003) until the present.  When I opened iPhoto, the number of pictures I have went from over 7500 to over 10,000 lickety split.  I clicked "stop import" but nothing doing -- it said I had to wait until the download was complete.  So there they are -- lots and lots of squares of color and shape type imagery.  Is there a way to find a "location" on the map of where they came from?  Also, I quite recently did a cleaning with MacKeeper and it came up with nothing malicious there. 

  • Dpi: what happens when an image is re-saved from 240 to 300 dpi?

    Hi
    When I open my images in Adobe Raw, the images are 240 ppi. What happens exactly when I change the setting to 300 ppi in the Adobe Raw. For printing many companies ask for 300 ppi. And what happen if I re-save old images again in Photoshop after processing with 300 ppi, will the picture become unsharper? I cannot see a difference. Thanks for your explanation. 

    Interesting question and I hope I understand what you're asking
    An image in and of itself has no size. It is built out of square pixels of indefinite size. They could be one micron, or the size of a city block.
    An image only has a specific length and width once the pixel size is established.
    To illustrate open any 72 PPI image. View: Rulers. Change the image to 300 PPI with resample disabled. The pixel data of the image is not altered, the only thing that changes is the ruler around the image.
    My guess is that the change from 240 to 300 in your example does not change the pixel result. What does change is the size of the file. The higher the PPI, the smaller the physical file dimensions. A 240 PPI image that is 10" by 12.5" would equal a 300 PPI image that is 8" by 10". Either one of these qualifies as a 7.2 megapixel image (2400 x 3000 = 7,200,000 pixels in the image).

  • Lightroom doesn't recognize 32 bit image processed in ps hdr pro. what can i do to get lightroom to recognize image?

    how can i get lightroom to recognize a 32 bit image which was processed in ps hdr pro?

    What do you mean "recognize"? Do you mean it will not import? Or it was imported but doesn't produce a thumbnail?
    What format is the file? What is the file size?

  • What happened to GIF image support ?

    Hello All,
    JavaFX API went to a drastic change. Initially, GIF image used to behave as GIF image and one can see the animation of GIF image on Canvas but now GIF images behaves like normal image. What happened to the GIF support ?
    Thanks,
    Vaibhav
    [http://blogs.sun.com/vaibhav|http://blogs.sun.com/vaibhav]

    Mike,
    Does any of these help?
    http://www.cisco.com/web/partners/index.html
    http://www.cisco.com/web/partners/support/index.html
    http://www.cisco.com/web/partners/tools/helponline/index.html
    Pls let us know -
    Tom Yoritaka, Director, Cisco Support Community

  • What happened with Still Image ratios?

    Just 2 months ago I exported still images from my HDV 1080/24p time line (1440X1080), as Jpegs and they automatically saved as 1920x1080 stills files (I assume to preserve aspect ration). Now when I do that I can only get 1440X1080, 4:3 ratio stills.
    What happened? Any fix other than Photoshop?
    Ryan

    Restore your library from an up to date backup.
    If you don't have a backup (which you really should), see turingtest2's user tip on Empty/corrupt iTunes library after upgrade/crash for steps necessary to restore your library within iTunes - this assumes that your media is all present on your computer, as it always should be.
    Otherwise, see tt2's notes on Recover your iTunes library from your iPod or iOS device

  • So this is what happened. my touch got a LITTTLE itty bit wet. and i guess.

    so this is what happened. my touch got a LITTTLE itty bit wet. and i guess...it went right into the charger thingie. because after it got wet it started to crackle. YES. i said crackle. kinda like a weird staticky-fire kinda noise. And it got really hot at the bottom 1/4 of the touch. while the rest stayed cool. I heard something about seeing red when you look down the headphone jack..so i did that, and yes i saw red.
    my question is, is it fried? can i do anything about it?
    thanks in advance

    unlamo14 wrote:
    so this is what happened. my touch got a LITTTLE itty bit wet.
    Things NOT to do if your iPod gets wet:
    1. Do NOT turn it on.
    2. Do NOT try to charge it.
    3. Do NOT try to wash it out.
    4. Do NOT try to dry it with a hair dryer.
    5. Do NOT touch it for 3-4 days or more.
    6. Do NOT try to take apart the iPod or try to remove the battery as some sites recommend (it is not user serviceable).
    After draining it as much as you can, find some silica packs or uncooked rice and place it in a plastic bag to dry out.

  • What type of BufferedImage is needed for 24 bit image data

    Hello, i am using an image processing api, i have a 24 bit image data, i want to form a BufferedImage and set its pixel values with my data such as
    BufferedImage image = new BufferedImage(w, h, what type?);
    WritableRaster raster = image.getRaster();
    int[] imgpixels = ((DataBufferInt) raster.getDataBuffer()).getData();
    for (int i = 0; i < image.getHeight() * image.getWidth(); i++)
    imgpixels[i] = ((myArray).getRed()) << 16 | ((myArray[i]).getGreen()) << 8 | ((myArray[i]).getBlue());
    Then i will save the Buf. image to file as png. So what type of BufferedImage do i need?
    Regards.

    what is the reason when i read a 24 bit png image...it shows the type as 0 (TYPE_CUSTOM) ?
    From the the Field Detail section for the TYPE_CUSTOM field in BufferedImage: the image type is not recognized.
    You could make a new BufferedImage with TYPE_INT_RGB, or TYPE_INT_ARGB if the image has or will have transparent pixels, and copy the TYPE_CUSTOM image into it. Then you can manipulate/process the new image.

  • Using Photoshop Elements as external editor with Aperture 3: What are issues with requiring 8-bit image?

    While I would do most of my photo edits with Aperture there may be times I would like to do special effects that a PSE might offer with layers.  I am considering purchasing PSE 10 and was concerned with having to lose information by saving as an 8-bit image.  Can anyone enlighten me of the circumstances when this would be of concern? 
    Thanks.

    Can anyone enlighten me of the circumstances when this would be of concern?
    If you had to do high quality printing larger than 8x10.
    Before buying PSE trial Pixelmator and try GIMP. Note that GIMP (now v2.6) will have 16-bit per channel with v3.0.
    -Allen

Maybe you are looking for