Open an IR Image |
This sample will open and show a Thermal Image in a Matlab Imshow window using FLIR Atlas SDK.
Use this Matlab code to open an image and display the colorized image
To get signal values from the image file change "file.ImageArray" to "file.ImageProcessing.GetPixelsArray; X = double(img)"
%Load the Atlas SDK asmInfo = NET.addAssembly(atImage); %open a thermal image file = Flir.Atlas.Image.ThermalImageFile; file.Open('test.jpg'); %Get the image as an array img = file.ImageArray; %convert to Matlab type X = uint8(img); %Use matlabs Imshow to show the image imshow(X); %close file file.Close;