FLIR One Developer / Blog / Topics / thermalPixelValues


Home Forums FLIR ONE SDK Development Android development thermalPixelValues

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Gavin Gavin 5 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)

  • Author


  • #10030

    Profile photo of Devrim


    My question may be simple but basic;

    in the function PreviewActivty::onFrameProcessed(final RenderedImage renderedImage) let us say we have two renderedImage alternatives;

    For each one we could call
    int [] thermalPixels = renderedImage.thermalPixelValues();
    For RenderedImage.ImageType.ThermalRadiometricKelvinImage the thermalPixels array length is 307200 (480×640) and (example, the first array value int the array: 32447) and for RenderedImage.ImageType.BlendedMSXRGBA8888Image the thermalPixels array length is 3110400 (1080 x 1440 x 2) (example, the first array value int the array: 2413).

    I understand the thermal pixels for the RenderedImage.ImageType.ThermalRadiometricKelvinImage (they are pixel temperatures), but what is the meaning of the thermal array for RenderedImage.ImageType.BlendedMSXRGBA8888Image ? Why the values differ and what does the size multiplier x2 stand for ?


    Profile photo of Gavin


    Hi Devrim,

    The RenderedImage.ImageType.BlendedMSXRGBA8888Image array contains a MSX blended image. The reason it is x2 is because color is defined as 16 bits or 2 bytes.

    FLIR Support

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.