Export image to tif using cast image

I have written a vi that currently acquires data from a camera. The
image steams in continuously in 16bit. I have a case structure that
snaps the image and exports a single frame of the streaming image to a
tif format using "IMAQ Write TIFF file". The tif file that results
however is extremely low contrast. I am guessing that I need a
conversion before exporting to tif, but I am unsure how to implement
that. I am considering using "IMAQ Cast Image". Is there a better
way? I don't necessarily need to use tif, so if there is another
better method, I would be open to suggestions. If I do need to use
cast image does anyone have recommendations for "# shifts" or "image
type" that would work well for tiff?

Hi vwkafer
look at this vi, which might exactly be what you want:
http://zone.ni.com/devzone/cda/epd/p/id/1455
it takes a 2D array (transform first your imaq into 2D array), then you have a color master table that you can choose or update (create your own), to set variable contrast ratio and flas color imaging.
after that, you can just transfer this data into a jpg with the created color table.
Does it help?
... And here's where I keep assorted lengths of wires...

Similar Messages

  • How to add an image over another using af:image

    How to add an image over another using af:image
    Thanks,
    Veera

    i have a image which is black strip. i have added that to af:image
    <af:image source="image1" id="image" />
    on the black strip, i need to add company logo.
    how to achieve it.
    Thanks,
    Veera.

  • My 4s has grainy low res images when I use google image search, imdb and USA today app. But not FB. How do I fix this?

    My 4s images are grainy and low res when I use google image search, imdb and a couple other apps. My photos roll pics are hi def just not images. What's up with this?

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router (Auto is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • No image when open using open image sequence

    I cloned my macpro disk to a new, larger hdd using carbon copy. After doing when I open Quicktime 7 I'm unable to see an image when I..
    file > open image sequence
    All I see is the player, but no (first) jpg image in the sequence. I even tried paying for Q7 again and getting a new reg code   See image below.

    Hi,
    you can try to switch between the devices when you go to START - Control Panel - Display - Settings. There you see Screen 1 and 2 and you can switch between them! Also at Advanced at Dual display settings or Extended desktop are settings which should be checked!
    Bye Bob

  • Export PDF to TIF using Generator ES

    I'm looking for a way to export a PDF to a TIF image.   In the LiveCycle Administration Console I can use the export PDF function under PDF Generator ES and specify TIF as an output format.  However, in the ExportPDF2 service, TIF is not one of the available export formats.  Anyone know how to specify a TIF format?

    Thanks Hodmi, exactly what I needed.

  • Using .png images in a website?

    Being new'ish to Fireworks and the .png format I am really amazed at the quality of png's in a webpage and how the hold their quality. In web design I tend to like placing text over images and this can often have quality issues as text tends not to work to well with a jpeg unless you increase the resolution before hand.
    I have found that while I edit an image in FW and place text over an image if I then save as a jpeg the image may not be as clear as I would like, if I keep it as a .png the quality is perfect.
    I know why this is but on doing some research have found that .png's are still not universally used across may web browsers and as a result it is advised not to use them.
    Some forums say they are fine while others say the opposite in using 'png's in web design, does anyone have any thoughts on this?
    I want to use .png's in my web design instead of jpegs but am undecided from what I read on the Internet so would appreciate any thoughts you may have regarding this.
    Many thanks, Pete.

    On PNG images:
    When you "save" from Fireworks, the file contains extra information in the file header which is proprietary to FW. The file will be viewable in a browser, as browsers just ignore the extra information, but the file is larger than is needed for a Web page. To create a .png file for a browser, you want to "export." (I like using the Image Preview function, myself.) There is no difference in the file extension between a fully-editable FW document .png and a flattened exported .png. In a thread some time ago, a poster commented that he gave his Fireworks documents a .fw.png extension, and exported to the plain .png. I've tried to adopt that approach and I find it helps me keep better track of what's what in my folders. It's up to me to remember to do it, though.
    Exported PNG images can be 32-bit, 24-bit or 8-bit. Here's the difference:
    A 32-bit PNG will represent your FW document with transparency. All the objects will be flattened, of course, but transparent and partially transparent areas will be preserved. The file is 32-bit as you have 8-bits each for red, green, blue, and transparency. Eight bits of data gives you 256 values. (Note: Photoshop calls this a version of the format a 24-bit PNG with transparency.)
    A 24-bit PNG does not have transparency. The 24 bits of data are 8-bits (256 values) for red, green, and blue. In this sense, it is similar to a JPEG, although you do not have the data loss or the color shifts.
    An 8-bit PNG has 256 colors in a list. In a way, this is similar to a GIF image. The interesting thing about PNG8, however, is that colors in PNG8 in Fireworks can be semi-transparent. In a GIF, you have the option of selecting only one color to be fully transparent.
    Using PNG images on the Web
    You will want to export to PNG32, PNG24, or PNG8, as appropriate for your needs. Do not overwrite your Fireworks document! If you use Image Preview when exporting slices, and select a .png format, then that setting will be set for that slice. You can't select .png from the Property Inspector.
    If you need to support Internet Explorer 6, you can use PNG24 with no problem. IE6 will render any semi-transparent areas of PNG32 or PNG8 images as fully transparent. To support PNG32 in your Web pages on IE6, you need to add special code. Even then, however, your visitors' browsers can lock up under circumstances that are not fully understood (http://blogs.cozi.com/tech/2008/03/transparent-pngs-can-deadlock-ie6.html). If you know your visitors won't be using IE6, or the content in the transparent PNGs is purely decorative, then maybe that's not an issue for you.
    Here's a roundup of techniques for using transparent PNGs at Smashing Magazine:
    http://www.smashingmagazine.com/2008/04/16/getting-creative-with-transparency-in-web-desig n/
    File Size
    Choose the best file type for the image you have. No one file type is always better. If you need to support IE6 still, and you can think of how to do your site without transparent PNGs, then the coding will be easier and the cross-browser compatibility will be better. If you use Image Preview (under the File menu item), you can change the quality level for JPEGs. The default level is 80%, which may not be a high enough quality level for a particular image. Higher quality means larger image size, but for photographic elements, a JPEG may still be smaller than a PNG for a given visual quality. It depends on the image content; each image is different.
    Gradients and Banding
    Fireworks creates strict numerical interpolations between the two colors you use for your gradients. If the colors are close together, you may not have enough intermediate colors to span the distance you want to cover and you will get bands. Photoshop produces what appear to be smoother gradients, because that application adds subtle noise into the gradient to prevent banding.
    Indexed Palettes
    If your image contains more than 256 colors and you select an image format with an indexed palette (GIF or PNG8), you may find that Fireworks produces a palette with fewer than 256 colors. This is a known "feature" of the program and there's no known workaround. If you decide to produce transparent PNG8 images, you need to be aware that this can happen.
    And...that's all I can think of that touches on your issues.

  • Can I attach a link to one image and then use that linked image multiple times in my site?

    Hi,
    Is it possible to attach a link to an image and then use that image (with link attached) multiple times in my site.
    Thanks,
    Ally

    Use 'Find and Replace'>under the 'Edit' menu.
    Select from 'Find in'- Folder and browse to the folder your website files are kept in to select it.
    Search: Source Code
    In the Find box (but obviously use YOUR image code):
    <img src="images/imageName.jpg" width="200" height="200" alt="" />
    In the Replace box: (use YOUR link and image code)
    <a href="yourLink.html"><img src="images/imageName.jpg" width="200" height="200" alt="" /></a>
    Then select 'Replace All'

  • Using custom images for website?

    Hi, I'm totally new to this Dreamweaver stuff so I'm sorry if this is very easy, but I have created an image in Illustrator that I would now like to use as a website. The image is this:
    I have a background, and a menu bar and I'm trying to figure out how to use it as a background image. I'm looking to create a one column website that is liquid and has a little content on each page.
    Thanks in advance!

    Of course, this CSS will only work if the background image is named "background.png", and it is in the same location as the page you are making.  Perhaps it would be more helpful to do it this way -
    body {
        margin: 0;
        padding: 0;
        background-image: url(the_path_to_your_image);
        background-repeat:no-repeat;
    This will place the background image on the page aligned with the upper, left-hand corner of the browser viewport.  Now you will have to build the page's infrastructure so that the content is properly aligned with the background image.  You may have problems doing this, as this approach is not normally one that is successful (i.e., designing a single background image containing all of your layout elements and then just trying to align content to it).  Think about what will happen with that approach if someone makes their browser display text larger or smaller than you have used while you are aligning things!
    A better approach is to make the background an image (if you use an image at all) that can tile to fill the screen no matter how large the screen is.  Then build the page as a series of stacked rectangular containers, where each container is parent to a single part of the page's layout (like masthead, menu, content, footer, credit for example) and style each container with its own background image/color as needed.  That way, if one container expands because text is resized, the whole arrangement can flex vertically to accommodate it.  This approach will require that you understand enough about CSS to know that using absolute positioning is NOT the right way to go about making such a page.
    If you are not so friendly with CSS, then I suggest you delay your beginning on this site until you have acquired some additional familiarity with it.  A great way to get that is to read the "Missing Manual" volume for your version of DW.  The book is published by O'Reilly press and is authored by David McFarland.

  • Windows 8 deployment using Zenworks imaging services

    Hi,
    I would like to find some guidelines or best practices stuff in order to help me with the deployment of Windows 8.1
    For our current method with Windows 7, we used SYSPREP with offline drivers for multiples machines in a local folder ex. C:\Drivers.
    Now it seems that it won't work anymore with Windows 8, and when we ask for help in the Microsoft forums we are pushed to products like MDT,WDS and SCCM.
    Does anyone here had a successful Windows 8 deployment ?
    Thank you in advance for your input

    Originally Posted by anto28
    Yes i have
    I asked this question a multiple forums but i have not received any satisfying answer yet...
    Can you elaborate with the DPinst way ?
    At what point do you use this command to inject drivers ? In the audit mode ?
    I think DPInst require the hardware to be present in order to work, no ?
    What if you want to install drivers for 7-10 different machine type in your image ?
    Thank you Thomas.
    Simply put, you call dpinst on first login after the image is deployed on the workstation by adding the following to sysprep unattend xml:
    <FirstLogonCommands>
    <SynchronousCommand wcm:action="add">
    <CommandLine>c:\drivers\dpinst.exe /path C:\drivers\pnp</CommandLine>
    <Order>1</Order>
    <RequiresUserInput>false</RequiresUserInput>
    </SynchronousCommand>
    and dpinst xml should look something like this:
    <?xml version="1.0" ?>
    <dpinst>
    <search>
    <subDirectory>*</subDirectory>
    </search>
    <legacyMode/>
    <quietInstall/>
    <suppressWizard/>
    <scanHardware/>
    </dpinst>
    You could add all the drivers to the base image or then use addon images for specific workstations models that places the workstation specific driver into: C:\drivers\pnp.
    Thomas

  • Using bmp image

    flex is not supporting bmp images.hw to use bmp image in
    flex?i tried with [Embed]metadata but its not working i am getting
    error.pls help me.

    The Flash Player does not support BMP images. You'll have to
    convert them to JPG, GIF, or PNG.

  • Explanation of using pkg image-create

    All
    Can someone please explain the use of pkg image-create, I've read the man page, created the depot server even installed packages to an image i created using
    # pkg image-create -F -p=PUB=http://localhost /mnt/disk
    and have now got an image on /mnt/disk, ive also installed vnc by cd'ing into /mnt/disk and issuing
    # pkg install xnvc
    Questions
    1) Now that i have my Full image on /mnt/disk, what can i do with it?
    2) Can it be booted?
    3) How can i test whether packages installed within that image "/mnt/disk <- image path) that they are indeed working.
    I just can seem to find the documentation anywhere which explain the full image theory?
    Can anyone please advise?
    Thanks, Frank

    Halo Frank,
    Thank you for your replay,
    i work at one of the main companies engaged in services, and i am in the midle creating flyer contest for customer
    so when the customer wins, the prize is macbook pro or iPad.  i need the image so the customer can see the type of the prize in the flyer
    if that the case, is it ok like etresoft say if i take picture with my own camera it will be fine?
    or can i grab image from official apple web site?
    by the way thank you to etresoft for the replay :-)
    sory if i am asking to many question, because of my lack of information and lack of understanding on this subject
    Thanks in advance

  • How can you use one image and edit it three different ways to export later?

    I am a new Lightroom 3 user.  How can use the same image and edit it multiple ways to produce mulitple images to later export?  For example,  I have a picture of a bride and groom.  I want to use that image and create a color image, a black and white image, and a close up of their hands.

    Do I need to do either of those options before I start editing the image at all?  For example,  what if I am working on the image and doing some creative edits.  Then I think of another option that I could do.  Is it too late at that time or can I still get the original image to begin with?

  • I am using Lightroom 5.7, 64 bit with Windows 7 Professional. For no apparent reason, I now get an error message when I export a photo, say a raw image to a JPG. However, the exported image seems to be OK. But now I notice that my LR directory of folders

    I am using Lightroom 5.7, 64 bit with Windows 7 Professional. For no apparent reason, I now get an error message when I export a photo, say a raw image to a JPG. However, the exported image seems to be OK. But now I notice that my LR directory of folders in Library view does not show images correctly: If there is a folder with sub-folder(s), the folder will indicate 0 images, but the sub-folders show the proper number of images. What happened and is there a fix? I tried uninstalling Lightroom and re-installing, but problem persists.
    Here is a screen shot of the error message:
    Message was edited by: Joseph Costanza, Jr.

    See here for a solution.

  • Using IMAQ Cast Image to convert 16 bit to 8 bit image.

    I am trying to convert a 16 bit image to a bit image, and I am using IMAQ Cast Image. I am wondering what I am supposed to wire into the # of shifts? When I use NI Vision Assistant it asks I can convert by the adjust dynamic method. Does anyone know how to do this with IMAQ Cast Image? Thank you in advance.

    The number of shifts is the number of bits that will be chopped (in the dark regions) from the initial image to fit into 8 bits.
    For instance, if you have a 10 bit image, compressing into an 8 bit image will obviously introduce some losses. You can decide to loose information either in the "whithe" parts or in the "black" parts of the image.
    With #shifts = 0, the two most significant bits will be lost, so the whitest parts of the image will be uniformely white, but the darl grey levels will be preserved.
    With #shifts = 2, the two least significant bits will be lost, preversing the whitest parts grey variations, but losing the subtilities in the darkest parts.
    With #shifts = 1, a single bit is lost on either sides...
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • Do IMAQ Cast Image or IMAQ Linear averages give different results when using different computers that are running under Windows XP ?

    Hello
    I'm currently developping an image processing algorithm using Labview 7.1 and the associated IMAQ Vision tools. After several tests, I found a weird result. Indeed, I put the labview algorithm - including the IMAQ VI on the library to get sure that I use all the time the same VI - on my memory stick and used it on two different computers. I tested the same picture (still in my memory stick) and had two very different results.
    After several hours trying to understand why, I found that there were a difference between the results given by both computers at the very begining of the algorithm. Indeed, I used a JPEG file.
    To open it, I first create an Image with IMAQ Create (U8). Then, I open it.
    Then in my first sub-VI, I use IMAQ Cast Image to be sure that the picture is a U8 grayscale picture.
    Right after that, I use the IMAQ Linear Averages. The results of this VI are different on the two computers.
    I tried several time on the same picture : one computer always give me the same result but the two computers give me a different result. So there is no random variable on the results.
    So my question is : Do IMAQ Cast Image or IMAQ Linear averages give different results when using different computers that are running under Windows XP ?
    My bet is on IMAQ Cast Image but I'm not quite sure and I do not undestand why. The labview and IMAQ are the same on both computers.
    The difference between the two computer are above :
    Computer 1 :
    Pentium(R) 4 CPU 3.20GHz with a RAM of 1Go. The processor is an Intel(R).
    The OS is windows XP Pro 2002
    Computer 2 :
    Pentium(R) 4 CPU 2.80GHz with a RAM of 512Mo. The processor is an Intel(R).
    The OS is windows XP Pro 2002.
    If anybody can help me on this problem, it would be really helpful.
    Regards
    Florence P.

    Hi,
    Indeed it's a strange behaviour, could you send me your VI and your JPEG file, (or another file that reproduces) so that I could check this inthere ?
    I'll then try to find out what's happening.
    Regards
    Richard Keromen
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Découvrez, en vidéo, les innovations technologiques réalisées en éco-conception

Maybe you are looking for