How to Convert FLIR Gray Scale Image to a Temperatur​e Map in NI VBAI

I have been working with a FLIR A315 Infra-Red camera and NI's VBAI software.  I need to determine the presence and continuity of a hot mastic foam that has been injected into the hollow bulb of a rubber weatherstrip seal in 4 adjacent locations that flow together inside the weatherstrip bulb to form a continuous foamed mastic plug.
So far, I have been able to trigger image acquistions in VBAI from a FLIR IR camera by monitoring an Allen-Bradley PLC's status bit.   The communication with the FLIR A315 camera is via the IMAQdx GigE driver.  However, I haven't figured out how to detemine the temperatures from the gray scale images I receive from the FLIR camera.  I wonder if someone could give me some pointers on how to do this.
I have attached some images below to illustrate what I am working with and how far I've gotten.
iPhone_Photo.jpg - shows a photograph of the weatherstrip section that the FLIR IR camera is "looking" at.
FLIR_IR_Monitor.jpg - a screen capture of a FLIR IR monitor utility that shows temperatures measured at a number of points and areas (showing it can be done)
NI_VBAI.jpg - part of my VBAI 2010 project which shows the image I've acquired from the FLIR A315 IR Camera
So, I am part of the way there, but so far have not found a way to map the gray scale image that VBAI is acquiring from the FLIR IR camera into a heat map from which I can determine temperatures - and would appreciate some help on how to do this.
Kind regards,
Nick
Solved!
Go to Solution.
Attachments:
iPhone_Photo.jpg ‏239 KB
FLIR_IR_Monitor.jpg ‏113 KB
NI_VBAI.jpg ‏205 KB

Hello,
Image provided by FLIR camera are unsigned 16bit.
Depending on the FLIR temperature scale you selected (10mK or 100mK), you will have to divide by a 10 or 100 factor to get K values. Don't select radiometric output.
So if your object is cold, the population of the histogram of your image will be on the left part of it and if the object is hot, the population of the histogram will be on the right part.
If you want your temperature values in Celcius, just add 273,15 to the Kelvin Value.
Then you can add a color palette in VBAI (FLIR iron is available)
Hope this helps

Similar Messages

  • How can I save the 12-bits gray scale image ?

    Software & Hardware
    NI-IMAQ Vision 6.0
    NI-IMAQ for 1394 2.0.0
    Hamamatsu C4742-95
    I acqured the 12-bits gray scale image (Format7 , 640X512 size , 12bits) successfully.
    And CWIMAQViewer display the correct image of which the range is from 0(black) to 4096(white).
    But, I don't find the way to save this image with 12-bits format T.T
    Always, CWIMAQVision object save this image to 8-bit format.
    I tested all formats - tiff, bmp, aip, png.
    I think there are two possible problems.
    1. I dont't know the way to save the 12bits gray scale image. :{
    2. I dont't know the way to read the 12bits gray scale image that saved correctly.
    How can I save and load the 12-bits gray scale image ?
    What is the solution for this problem T.T ?

    Hello,
    I would recommend taking a look at the "ReadImage" Visual Basic project for more information on setting the image type and saving the image to file.  When you run the program, make sure you select 16 bit for your image.  You can also add another button to this example for saving the image.  Within the click subroutine for the button, you can add the line:
    CWIMAQVision1.WritePNGFile CWIMAQViewer1.Image, "C://image.png"
    This method will save the image in the viewer as a png file.  As long as it was loaded as a 16 bit image, it should save all of the 12 bit information into the file.  You could then test the new image by loading it using the example (you can see the pixel values by right-clicking on the viewer and selecting Settings>>Show Image Info.  The pixel value displayed in the info bar corresponds to the mouse position.
    Best Regards,
    Jesse D.
    Applications Engineering
    National Instruments

  • How to transfer a 2D array from NI-scop into a gray scale image and save it

    Dear all,
    I acquired a 2D array and want to transfer it into a gray scale image (12 bits) and save it into my hard disk but I don't know how to do it.
    I can use Intensity graph to show the 2Darray into gray scale image, but the intensity graph.vi can not save the image in real time.
    Thank you.
    Solved!
    Go to Solution.

    The 24-bit is a color image with 8-bits per color channel per pixel (interleaved, if I remember correctly).  It is not a 24-bit gray-level, so I don't think it will work for you.  I believe the IMAQ library (a LabVIEW add-on) will handle 16-bit gray-scale, if you can get a copy.
    As a native LabVIEW workaround, you could also split your image into two 8-bit images, with one image representing the high bytes, the other the low.  You could then combine them when you do the analysis, if your analysis program is capable of this.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • How to control "colorrange= high 5% dark 254%" in Gray scale image

    Hello every one,
    Our client wants to change the passport size image in B/W art work to do this below comments from client:
    “Change the picture (parts supplied look ADV Material) Picture in black, 200 dpi colorrange= high 5% dark 254%, file extension= .tif”
    In this comments I didn’t understand “colorrange= high 5% dark 254%” unfortunately I don’t have contact details to ask more details to client. Please some one share with me does i control the same in Gray scale image
    Thanks in Advance
    Regards,
    Siva

    Your client's comments don't make any sense.
    “colorrange= high 5% dark 254%
    Except Color Rage from the Select menu in Photoshop which apparently is not what is meant here, there is no such term "colorrange" neither in Photoshop nor it is something popular in the design and printing terminology. If this is a print job, percentage suggests ink coverage but if so, while "dark 254%"  makes sense, the word "high" from "high 5%" doesn't make any sense. If the client was trying to communicate what Zeno is guessing then in the context of the comment, 254 cannot be described as "dark" because this affects the highlights.
    If it was me, I will not procede until it is made clear what the task is.

  • Convert to Gray scale issue in spot color file

    Hi,
    I am having some problem in Acrobat X Pro on Convert to Gray Scale Preflight Fixup, but the same PDF file is working good in Acrobat 9.0 Pro for the same process.
    Even I tried with the error report, but there was no error details in that report.
    Please help me out to find the reason for that problem. The PDF file is having a spot color.
    Please find the RGB and converted Gray image
    Thanks in advance,
    Veeramani.M

    Kumararaja,
    You can upload you file  using any public/private FTP and then can embedd the link here.
    Or when you click on Edit (in your message division), you get a browse option in the bottom left cornet. That allows upto 8.9MB. The way i attached!!!
    BTW, what's the issue?
    ~Sandeep V.

  • Store a 12-bit gray scale image

    I'm using a video camera to acquire images. This camera delivers 12-bit gray scale images so 4096 levels of grey. However, when I store these images on my HD on PNG format, the maximum value of a pixel is 256. Which is normal because the 3 colors R, V, B are coded onto 8 bits each. How is it possible to keep the signal dynamic of the image delivered by the camera? Does it exist an image format which would allow me to store the pixel values onto 12 bits ?

    I'm using the IMAQ function "IMAQ Write PNG file" to store the images. But then when you open these stored images with a basic software (such as Paint) each pixel is coded onto 256 levels. Do you think I should turn "Use bit depth?" option to True ?

  • Gray scale Image Processing

    sir/madam, please explain how to extract pixels from monochrome(or gray scale image, which is having JPG file format. As I am doing visual cryptography application, I am facing this problem. thank you one and all. bye

    it would be no different (though the data might be easier to interpret) than doing it will a full colour picture.
    Load the file into an Image, and operate on that.
    An image is easily loaded by code like this:
        public Image loadImage(String filename) throws IOException {
            return new ImageIcon(getClass().getResource(filename)).getImage();
        }Turn that into a BufferedImage, and you can access each pixel at your leasure.

  • How to convert Doc file into image

    hello frnds
                     Can any body guide me how to convert doc file into image and show into swf loader.
    actually i have to convert doc files into swf files in runtime so that i have to use this flow.
    is it possible to convert doc file into byte array and than convert into image.
    Thanks And Regards
        Vineet Osho

    You can convert any DisplayObject to byeArray using this function ImageSnapshot.captureBitmapData().getPixels()

  • Can aperture 3 convert a gray scale photo into a line drawing?

    can aperture 3 convert a gray scale photo into a line drawing?

    I have a B.F.A. degree in painting which educated me in the "history of art" with appreciation of the old masters. I agree with your statement that, "anyone mistaking photos converted to "line drawings, watercolors,or paintings" is simply ignorant" and that, "line art is to drawing what clip art is to painting."
    I appreciate your passion and love for keeping "visual creativity" true to its inherant nature. Expressing your views however, in regard to my question in this thread, is irrelevant to the question asked. I am not ignorant.  My question has nothing to do with the philosophy of art. You have no idea what project I have in mind for asking my original question. I suggest that perhaps you have chosen the wrong forum to express your views.  Sticking to the question asked, as the other participants have, has been most helpful to me and I appreciate their response.
    Thanks for your attention.

  • How to create an gray scale png image from intensitie​s values

    Hi,
      I would like create a gray scale png image from set of intensities values which is saved in excel sheet . Is IMAQ tool necessary for this vi?
    thanks & regards
    Manoj

    You posted in the feedback forum, which is not correct for your question. I am guessing you are talking about LabVIEW since you mention "vi".
    manojkp89 wrote:
    Is IMAQ tool necessary for this vi?
    The answer is NO. Plain LabVIEW is sufficient.
    LabVIEW Champion . Do more with less code and in less time .

  • How to capture the gray scale photo

    Hi. I followed this (
    https://msdn.microsoft.com/en-us/library/windows/apps/hh202982(v=vs.105).aspx ) example to capture photos and also in gray scale but the sample doesn't capture the gray image, it only pumps the gray pixels to the Image control. How can I freeze these
    pixels in the Image control or capture it as a jpg? Thank you in advance. 

    I should have been more clear. Forgive me.  I followed that example and added all the functionality as in the example like the focus(auto and tap), the flash light ect and it works but when it comes to the grayscale: the example only streams the converted
    pixels to the image control. It does not "capture" the image. Somehow I have to stop pumping the grayscaled pixels to the Image control and then I want to save-send the "gray" image. What's the easiest way to do that? This is what I have
    so far:
    MyClient.DownloadStringAsync(new Uri("http://www.iclips.co.za/sign_in.php?username=Clint William Theron&password=k"));
    However, the username and password is empty on the server side. How do I add paramters and download the server's response? Thanks in advance
    I basically want to turn this:
    var values = new List<KeyValuePair<string, string>>
    new KeyValuePair<string, string>("username", un),
    new KeyValuePair<string, string>("password", pw),
    new KeyValuePair<string, string>("friends", friends),
    new KeyValuePair<string, string>("density", "high"),
    new KeyValuePair<string, string>("platform", "Windows Phone"),
    var task = DoPost_Sign_In_To_Server("http://www.iclips.co.za/sign_in.php", values);
    async Task DoPost_Sign_In_To_Server(string url, IEnumerable<KeyValuePair<string, string>> values)
    try
    var httpClient = new HttpClient(new HttpClientHandler());
    HttpResponseMessage response = await httpClient.PostAsync(url, new FormUrlEncodedContent(values));
    response.EnsureSuccessStatusCode();
    var responseString = await response.Content.ReadAsStringAsync();
    this.Dispatcher.BeginInvoke(delegate()
    if (responseString.Trim().StartsWith("Welcome to iClips. You need to delete"))
    MessageBox.Show(responseString);
    return;
    if (responseString.Trim().StartsWith("Welcome to iClips"))
    //this means sign up was succesfull
    //so now we signed in
    txtDebug.Text = "Sign In Successfull :-)";
    vibrator.Start(TimeSpan.FromSeconds(1));
    else
    MessageBox.Show("Network Error: \n" + responseString);
    signForm.Visibility = Visibility.Visible;
    signForm_Shadow.Visibility = Visibility.Visible;
    catch (Exception ex)
    MessageBox.Show("Network Error: \n" + ex.Message.ToString());
    signForm.Visibility = Visibility.Visible;
    signForm_Shadow.Visibility = Visibility.Visible;
    txtDebug.Text = "Try to Sign In >> again.";
    in to WebClient, because of the progress bar that can be bind to WebClient.

  • How to convert a 16-bit image to 8-bit

    I am having difficulties in skeletonizing my image. Although I already threshold my image, it still cannot be skeletonized. When I create the image using IMAQ create, the image type must be set to 16-bit, otherwise it will create an error message. An enthusiast in the forum told me that the image must be 8-bit so that it can be skeletonized. But I do not know how to convert the image from 16-bit to 8-bit. So is there anybody out there that can provide me with a solution. Attached is the VI that I used. Really appreciate your help.
    Attachments:
    Image_Acquisition.vi ‏68 KB

    Try using the IMAQ Cast Image function under Motion & Vision>>Vision Utilities>>Image Management>>IMAQ Cast Image.
    Regards,
    Steve

  • How to convert a folder of images to a Collection?

    Ques 1
    How do I convert a folder of images that has been sorted, files rejected, files hidden, and so on, to a Collection? When I create a New Collection and drag the images across from the folder, all editing is lost and the images appear in alphabetical order. I'm using CS6.
    Ques 2
    What is the location of the file that contains the sorted/rejected/hidden data for a folder?

    A Collection is just a saved search.  It does not contain any images.
    Wonder why your question went unanswered for so long?
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    A screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • How to convert HTML text to image

    Hi all!
    I&acute;m having this problem: I have a html code (dynamic generated) and I need to convert it to a image, any idea how to do that?
    Thanks, J.

    Im no Java2D expert but if you want the actual code as an image couldnt you just use 'drawString("<br>", x, y)' to display it and then allow it to be saved as an image, I know theres built in capability in Java to import/export common image formats. Or do you mean you want what the html actually produces as an image?
    Ken

  • How to convert BufferedImage back to Image

    I have an Image from ImageIcon and i want to cut it using BufferedImage.getSubImage(...) and now from BufferedImage i want to turn it to Image again so that i can put in ImageIcon.
    Here is my code:
    URL img = new URL(location);
    ImageIcon imgIcon = new ImageIcon(img);
    Image image = imgIcon.getImage();
    //turn image into bufferedImage via graphic draw
    BufferedImage bi = new BufferedImage(..);
    Graphics g = bi.createGraphics();
    g.drawImage(image,0,0,null);
    bi.getSubImage(...);
    // how to turn bi back to Image newImage
    any ideas??

    More correctly, BufferedImage extends Image as Image is an abstract class and not an interface.
    Shaun

Maybe you are looking for

  • New iPod update has messed up my Artist list!!!

    I would greatly appreciate if anyone could help me out, as this problem is causing a great deal of annoyance & frustration. My iPod recently that there was a new update to download, which I did. However, once I did this, this has greatly messed up my

  • I can't get Creative Cloud Installer to work

    When I get to "down load CC"  I get a request for my pass word in order to allow Creative Cloud Installer to "make changes."  I've tried every password I can think of, but it won't let me reset it.  How do I reset the password?  thank

  • The hidden columns of wrokbook will appear when refresh the workbook

    Hi,expert.   I create a query,the query has 3 columns, Fields Name: Col_A, Col_B, Col_C Fields Value:  1001.....001 ...  X        I want to connect the Col_B and Col_C, so I add a column Col_D, like this: Fields Name: Col_A, Col_B, Col_C, Col_D Field

  • How to turn off image info when hovering mouse over image?

    I think I must have selected something by accident because now everytime I hover my mouse over an image, I get all this info about that image. I know it can be info will be good to know but I don't want to see it all the time. I can't find anything i

  • Need a Quicker Way to Unarchive...

    Hello All: I have some .tar.gz archives on DvD's that are made for backup. I went to go and open one today and it took forever to unarchive the file. Is there a way to just look at the contents of this file or is there a quicker way to unarchive? Tha