Dealing with IMAQ saving 12 bit images as 16 bit

I'm trying to get an image of a CCD camera which has a depth of 12 bit. I read on the forums here that it is stored as 16 bit. I am however curious as to what this means: are the values of the image scaled? So is like a value of 4095 scaled to be a value of 65535? And a value of 2047 scaled to a value of 32767?
Or does it leave the actual values of the pixels unchanged?

Hello Choisai,
Or in other words:
The actual pixel/integer values should stay the same.
You could consider this as a sort of zero-padding at the most significant side.
This example can help you understand the concept:
http://digital.ni.com/public.nsf/allkb/6D4D5300ECE4AFD08625752700680770
Just have a look at the maximum and minimum values that are being generated in the 2D array.
Kind Regards,
Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
CLD, CTA
If someone helped you, let them know. Mark as solved and/or give a kudo.

Similar Messages

  • Last Q of the day (dealing with file saving)

    When I save my data to the file it gives me a bunch of tabs and stuff that I don't know how to fix. I tried match pattern, and remove white spaces and neither did if for me. Is there a way that I can get it to only output spaces, periods, and commas?

    Simple suggestion - reccomend you try my VI version 2 (from the first thread) and see if that gives you th same string out. If not, it is because you are adding in extra random spaces in the pig latin subVI. I noticed that you deal with spaces in a funny way and had to do something to avoid that.
    James
    edit:
    (Last post of the day - have a nice weekend)
    I have debugged the spacing in my VI loads, I can only debug your subVI so much
    Suggest you just read file in, wrte string into VI, and write string straight out of VI. It'll take you 5 mins to try.
    Message Edited by James W on 04-16-2010 01:03 PM

  • How does one deal with transparency in a placed file in InDesign?

    I suppose this may seem elementary, but I'm relatively new to it so here goes:
    First off, my print shop says that placed images should be in EPS format. I'm creating my files in Illustrator and some of them use a gradient mask to fade an object away. When saved as an EPS, the gradient mask shows as a white box instead of fading into the background. When I copy/paste my Illustrator image into a new Photoshop file, save it as a PSD, bring that PSD into Illustrator and save it as an EPS, the whole file is in a white box.
    Example. I want those aisle markers to not be in white boxes.
    http://i.imgur.com/lZjtu.jpg
    How does one deal with transparency in a placed image in InDesign?
    Thanks.

    If possible, one finds a new printer who can handle your files properly and doesn't insist on .eps.
    What format are you delivering to the Printer? If it's anything other than PDF (and that's at their request) all the more reason to reread the first sentence. Why on earth are you moving things from Illustrator to Photoshop and back to Illustrator? Either one of those will save as .eps (ugh), though you need to use a clipping path for transparent areas coming out of photoshop (don't really know how Illy handles it when you say to save .eps with transparent background), but you are FAR better off with either native .AI or .PSD, both of which support transparencey, unlike .eps.If yo are delivering PDF, as you should be, it makes no difference to the printer what format the placed content uses (and it shouldn't matter to him even with native files unless he's hopelessly stuck in the 90s).
    In any event, when importing from Illustrator, make sure to show the import options and check the transparent background box.

  • Error-1074396120 Not an image, problem with IMAQ Learn multiple geometric patterns

    Error-1074396120 Not an image, problem with IMAQ Learn multiple geometric patterns
    Hi!
    I've tried to modify the example of  "multiple geometric patterns matching" , and just use two patterns, but when I run the VI this error appear and I doon't know how to solve it! , the error appears in the "IMAQ Learn multiple geometric patterns" block.
    Running on:
    - labview 32 bits
    - windows 7 64 bits
    - usb camera 2.0
    Any sugestion would be helpful..... !  Regards
    Attachments:
    template_12.png ‏150 KB
    template_11.png ‏123 KB
    vision_multiple_pattern_matching.vi ‏127 KB

    thanks all for your replies, the problem was on my template images, I had to give them information about the pattern matching, and I did it with NI Vision Template Editor, within Vision utilities, and I chose template with Feature Based. 
    Thank you again and Regards!

  • How to deal with images when detecting/resizing screen?

    Hi there,
    I am trying to learn how to detect screen resolution and
    resize a flash movie to those dimensions. The one thing I'm
    wondering first is, how to deal with images in the movie.
    Do I need a variety of different movie sizes that I serve up
    depending on the resolution, or is there some way of linking to
    higher rez image that can be scaled down to fit the screen?
    Thanks!

    as far as I know this has always been a bit of an issue when
    using
    images inside a scaled movie. If you display a high res image
    inside a
    scaled down movie, flash can't "reoptimize" it so the image
    looks
    jagged. Of course the other way around is even worse..
    Serving images based on the screen res could be possible if
    you detect
    it using javascript but could be a night mare to maintain and
    test it...
    I guess the questions I would ask myselkf are:
    1. what is my audience? What resolution the majority of them
    will have?
    2. Is there anyway I can keep the image size fixed, and scale
    to fit he
    rest of the design?
    3. How much time do I have to implement the customized
    version?
    It really depends on your project..but to answer to your
    quuestion yes
    you can detect.
    http://www.pageresource.com/jscript/jscreen.htm
    and your flash will have to interpret and load images from
    different
    directories based on the var passed

  • What is the most suitable image format for processing with imaq?

    Hello.
    What is the most
    suitable image format for processing with imaq?
    I want to capture an image of a usb webcam, store and
    then process it with imaq. I need to know what format to save the
    captured image can then load and process it with imaq vision.
    Thanks

    The only criteria is: don't use JPEG for anything scientific!  The compression involved with saving JPEGs means you always lose information.  I tend to prefer PNG - it's compressed, but non-lossy, and also widely supported.  TIFF is fine as well, but I don't think has any advantages over PNG for this application.  JPEG2000 can give good non-lossy compression I think is slower to read/write than PNG.

  • Adobe always quits unexpectedly in Mac when I read a bit fast. How can i deal with it, plz?

    Adobe always quits unexpectedly in Mac when I read a bit fast.
    It is the latest update.
    How can i deal with it, plz?

    You posted in the forum for iPad and iPhone (different app). I've moved your question to the Reader forum for desktop/laptop computers.

  • How to deal with images stored in oracle

    hi,
    can anyone help me to solve this issue please:
    in fact i am developping a swing based standalone application based on a TCP/IP client-server connection, so the point is to display on my frame for each student his information and also his personal picture
    first step : storing the personal picture into the oracle database from a specefic frame that allows to specify each NEW student's profile and his photo.
    step 2: as needed, a specefic frame allows to retrieve all the information related to a student and his photo to ( in a jlabel or other swing componenet)
    how to deal with this storing and then the retriving from the oracle DB
    any help please!

    If I understand well your problem, you need your client java application to store and retrive information from an oracle DB.
    This can be done via JDBC.
    Here's the tutorial:
    http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/JDBC20.html
    Look at
    http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/JDBC20.html#JDBC2018
    for storing and retriving binary data (like java serialized objects (Images for example))

  • While installing latest version of iTunes error "This iTunes installer is intended for 32-bit versions of Windows. Please download and install the 64-bit iTunes installer instead" how to deal with it ?

    While installing latest version of iTunes error "This iTunes installer is intended for 32-bit versions of Windows. Please download and install the 64-bit iTunes installer instead" how to deal with it ?

    Doublechecking. What's the filename of the installer you've been downloading? (The 32-bit installer is called iTunesSetup.exe, and the 64-bit installer is called iTunes64Setup.exe.)

  • How to deal with OpenCL grey out issue.

    First off, I'm not native english speaker.
    I have Nvidia GeForce 550 Ti video card, and its support OpenCL v1.1.
    I'm also face a "random" OpenCL grey out issue like other people here, but I found the "issue" and how to deal with.
    open a command windows (using WinKey + R, and type cmd <enter>)
    type "cd C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)" <enter>
    type "sniffer_gpu" <enter>  -->> to check your GPU has OpenCL in Photoshop?
    When GPU is in power-saving mode (core running in 51Mhz, using MSI Afterburner monitor), I running sniffer_gpu, got this report
    C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>sniffer_gpu
    Device: 0000000000328D68 has video RAM(MB): 1023
    Vendor string:    NVIDIA Corporation
    Renderer string:  GeForce GTX 550 Ti/PCIe/SSE2
    Version string:   3.0.0
    OpenGL version as determined by Extensionator...
    OpenGL Version 3.0
    Has NPOT support: TRUE
    Has Framebuffer Object Extension support: TRUE
    OpenGL ok
    Return code: 1
    C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>
    No OpenCL support
    Then, I switch GPU back to normal status (core running at 900Mhz)
    C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>sniffer_gpu
    Device: 00000000001F8D68 has video RAM(MB): 1023
    Vendor string:    NVIDIA Corporation
    Renderer string:  GeForce GTX 550 Ti/PCIe/SSE2
    Version string:   3.0.0
    OpenGL version as determined by Extensionator...
    OpenGL Version 3.0
    Has NPOT support: TRUE
    Has Framebuffer Object Extension support: TRUE
    OpenGL ok
    OpenCL ok, version=1.1 CUDA 4.2.1
    Return code: 3
    C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>
    OpenCL support !!
    Nowadays, most of new GPUs were support power-saving, but when sniffer_gpu running at GPU power-saving state, the OpenCL computing report maybe "time-out", cause the detector "guess" the GPU does not support OpenCL. This is why many people says "OpenCL" sometimes work, sometimes grey-out.
    I hope this bug can be fixed, or at least people can understand how to "enable OpenCL everytime when you launch photoshop".
    Bye.

    Do check the following link
    http://blogs.oracle.com/soabpm/2010/01/soa_suite_11g_weblogictransact.html

  • Dealing with dropped frames and out of sync audio

    Hi!
    I'm using Final Cut Studio 3 and I'm trying to record some video from a pretty old MiniDV-camera. The problem is that a have some dropped frames and when I record the whole thing it gets out of sync.
    By default Final Cut aborts the capture (without saving) when it finds dropped frames. That won't work for me. I start recording, it records a couple of minutes and then it just aborts without saving anything.
    I tried to record the entire tape when using the option of not aborting on dropped frames. I recorded the entire video but not it gets more and more out of sync later and later in the video.
    So, do you have any suggestions on how to deal with this? Maybe I can use an external application for this cause I haven't found a way to deal with this in Final cut.
    Best
    Felix

    Hi(Bonjour)!
    Did you shoot in DV or HDV ?
    Did you try to capture HDV with Apple Intermediate Codec 1080i60 (or 50 for europe)?
    Does you downconvert HDV shooted to DV upon capturing from camcorder ?
    DV-NTSC 48 kHz is the way to go with downconverted material.
    Does your DV audio setting is 16 bit on FX1 ? (HDV is a fixed one).
    Michel Boissonneault

  • Why can't I use Outlook 2013 with PSE 11 to share images in Windows 8.1?

    In the PSE 11 tutorials under sharing images via email, it clearly lays out that Outlook and Outlook Express are email clients available to share images by email or photo mail. I'm using PSE 11 with Windows 8.1. When I go to edit>preferences>sharing and then drop down to select Outlook, there's no email clients there but Adobe Mail Service. I chatted with an Adobe rep who basically told me "sorry", you can't use Outlook. Yet that's one of the primary reasons I bought PSE 11...the sharing functionality using Outlook and Windows 8.1. What's with this? 

    Brian - Thanks. You were spot on. The PSE 11 sharing issue I described is on an Acer S7 laptop I bought over a year ago. At that time I separetely bought a version of Office from the Microsoft Store. Since the Windows 8.0 version installed on the Acer was 64 bit, I bought the 64 bit Office version. I never tried to share anything off PSE 11 from the Acer until just recently. And I was perplexed when I tried because of what I describe below
    Fast forward to two months ago when I bought a Dell XPS 27 All-in-One for my wife. It came with Win 8 64 bit and I had Dell factory install Office as part of the deal. After I got the XPS 27 I separately installed a new version of PSE 11. Low and behold, the Office version Dell factory installed is 32 bit. They had more farsight than me. And PSE 11 shares fine on the XPS 27 using Outlook.
    So thanks again. You solved the riddle for me, at least with respect to my wife's desktop. On my Acer laptop, I can't get the share function to work with either Adobe Mail service or Windows Live Mail. Those are the only two clients that appear in the drop down but neither will work. Not sure what that's all about. But having PSE share seemlessly through Outlook on my wife's machine was the priority for me right now.
    Mike 

  • Best way to deal with photos from the start? (Bridge CS5 and iPhoto)

    Hi all,
    I'm just learning the ropes of the whole CS5 suite, and was starting to add keywords etc. in Bridge when I realized I couldn't access the files in my iPhoto ('09) library. I've read a few threads about this issue, but haven't really found a consensus on how to deal with it.
    I figure I'm in a good position to get things right from the start since I have no tags or ratings etc. in my iPhoto setup (and have only added keywords to the few pics that weren't in my iPhoto Library), and am wondering what you think is the best way to sort photos given I plan on using them in web design etc., and all the parts of my CS5 suite.
    If getting the photos out of iPhoto is best what's the best way to do that? I've read suggestions to right click on the library and click on "Show Contents"- or something like that, but that does not come up as an option when I right click my iPhoto Library in Bridge. Thanks so much for your help!
    Please let me know if there is any info I could give you that would be helpful in order to figure this one out.
    Best,
    Mara

    I must be far too lazy to be sure.  In iPhoto if I want to move an image all I
    do is click and drag from iPhoto to the desktop.
    Here comes the trouble with using iPhoto and mixing applications. You have
    to be sure what you do in iPhoto because you easily grab the wrong version
    instead of the original.
    As Tai Lao pointed out the the difference between Bridge and iPhoto in short
    is open visible structure for Bridge and hidden invisible library for
    iPhoto.
    There may be perfect and valid reason to use iPhoto but mixing the two
    workflows without thinking or knowing what you do is bound to get you sooner
    or later in trouble with wrong versions of the file.
    And clicking and dragging from iPhoto is easy to mistake in those versions.
    1 - I used to create incredible folder/sub-folder arrangements depending upon
    operating system file management to find files.
    You can create whatever structure you want including a thought through
    naming convention that suites your needs, if you keep doing this in Bridge
    you can easily open and close folders using the folder panel, in iPhoto you
    have a lot of events and albums but none as clear as in Bridge. (at least
    that is my opinion...)
    Also I would prefer to use a good naming convention with less folders and
    subfolders instead of bad file naming and many well named folders. Also
    using the metadata options description and keywords let's you easily find
    the files you want but when having the need to retrieve the original from an
    external disk or DVD using less folders will be quicker to find.
    Since depending upon metadata keywords or star ratings I now prefer to have
    all images (originals and amended) in one single folder as Bridge (or iPhoto
    for that matter) can only see the images in the folder it is looking at.
    Wrong, using the find option (cmd+F) you can specify Bridge to look in main
    folders or entire disk, include the option to look in subfolders and you are
    in business (but the first time Bridge caches it also need to index all the
    metadata, that takes some time but only the first time.
    2 - potential feature request for Bridge?
    To have an option where Bridge can see and display images in subfolder
    arrangements from the folder it is looking at.
    That is already there since a view versions
    Select a folder with subfolders and then from the menu view select 'show
    items for subfolders'
    It is still not a perfect way of functioning but it gets better every new
    version, in CS5 the speed of gathering the files is very much improved.
    However here is iPhoto the winner because it keeps the files in cache (or
    something like that) Bridge is not the best in this behavior but it is
    possible to use.
    This is a bit like a restriction of OS X "All images" to all images in the
    selected folder and all subfolders of the selected folder (if that makes any
    sense at all)
    Many users have tons of files on there system, why would you use that option
    to view all if you are perfectly capable of finding the files or file types
    you want in most applications (but you can also find them in OSX, you want
    psd files do a search for ".psd" and you will see all the psd files on your
    system.
    3 - iPhoto can't really handle large files.  With one event consisting of
    4,500+ images weighing in at 884 MB it is zippy.  Were those to be originals
    at a high resolution iPhoto would probably be tediously slow and require a
    folder/sub-folder arrangement which, to me, seems to undermine the importance
    of managing stuff using keywords.
    IPhoto is not designed to be a professional application, therefore you can't
    expect behavior for this
    In Bridge you have no limit of files on your system only the limit for the
    cache is somewhere around 500.000 I believe. But even Bridge is not really
    designed for handling that amount of files in a pleasant way.
    I also don't know of an application that can do so for normal retail prices,
    most users of that amount of files have custom made or customized
    application that costs many thousands dollars. Bridge is in fact a free gift
    when buying a Suite application from Adobe.
    The file size for viewing in Bridge is by default set to a max of 1 GB but
    that is for building previews you can see thumbs and small previews of
    bigger files. In the Bridge preferences you can set the limit for this to
    whatever you want, it only grows the cache file for previews when using many
    large files.
    In summary: Bridge is great for CS5 partnering on metadata, original images or
    large filesizes. 
    I couldn't agree more!
    iPhoto is great on sharing images across devices and better
    still if those files are low res with small filesizes?
    I couldn't disagree more...
    You can do all of this using Bridge to start own created actions or with
    scripts like image processor.
    Do some research on Adobe TV or view other video tutorials on the web, there
    are many free and good tutorials. You will learn that you can do all you
    want in Bridge (and a lot more...)

  • How to best deal with a 330GB psd?

    I used PTGui to create a gigapixel panorama from 570 16 bit TIFF images. PTGui has the ability to output a layed psb file... 1 layer for each photo in the picture, along with the full photo and an alpha mask to facilitate touch up work. But the size of the document is really large. My imac can't handle it... when it wasn't done even simply opening the file after 36 hours of trying I gave up and cancelled.
    Does anyone have any experience in working with files of this size? Is it even possible? What kind of hardware do I need to be looking for? Is it going to take 15 minutes to deal with every small change I want to make? Any pointing in the right direction would be greatly appreciated!
    Thanks!

    It is possible, but you'll need a 64 bit system with a LOT of RAM and a very fast disk array for IO and scratch.
    With that size file and the RAM you can put in a current high end system (128 Gig) - yeah, it's going to be really slow.
    (assuming the file is written correctly and isn't just wasting space)

  • Getting both intensity AND postion information on particles with IMAQ

    Greetings-
    I am trying to use IMAQ to analyze images which contain "particles".  I have no problem making a binary mask that contains only the particles of interest and using "IMAQ Particle Analysis" to give me an array containing the (X,Y) locations of the centers of these particles.
    I also have no problem converting the binary mask to a 16 bit image in which each particle has its own unique label.  I then use this labeling image and the original greyscale image as inputs to "IMAQ Quantify" so that I obtain the average greyscale density for each particle.
    Here is my problem:  the two data sets are completely divorced.  I need correlate the density information for a given particle with its location in the image.
    Can anyone suggest a solution?  (I am running 8.0)
    Thanks,
    -GN

    Hi GN,
    Let me suggest the following:
    The "IMAQ Particle Analysis" VI is going to return an array(1) that contains the coordinates for the centre of mass for each particle.  Assuming that your 16-bit greyscale mask is done correctly, this means that every pixel within a particle shares the same value, and every particle will have its own unique16-bit value.
    You also have an array(2) of densities that you found using "IMAQ Quantify", which are indexed according to the particle values.
    What you need to do, is to create a for loop whose number of executions is controller by the number of items in Array 1 or Array 2 (# particles you have).  You can pass N the array size or just use auto-indexing.  Use the "IMAQ GetPixelValue" VI, and pass it the coordinates for each centre of mass (array 1).  Provided that your particles do not have odd shapes, and that the centre of mass is included as part of this particle (and not in a hole), the VI will return the corresponding 16-bit greyscale value.  Use the Index Array function, the returned value of "IMAQ GetPixelValue" and the Density Array to get the density value for that centre of mass.  You can then build an Array with all the information that you want to correlate.
    (I have attached a screenshot diagram that may help you to understand what I'm trying to say)
    I hope this helps, if you have any other questions, please let me know!
    Rishi L
    National Instruments
    Applications Engineer
    Attachments:
    IMAQ_Correlate1.JPG ‏54 KB

Maybe you are looking for