[][src]Struct libblackbody::flir::FlirThermogram

pub struct FlirThermogram { /* fields omitted */ }

This is the struct and ThermogramTrait implementation for FLIR thermograms, using flyr.

While a file can be directly read with from_file, it is recommended to instead use the Thermogram::from_file instead. The latter detects what kind of file (TIFF, FLIR) it is dealing with, subsequently choosing the right reader for it. This way your application support different thermogram formats.

Implementations

impl FlirThermogram[src]

pub fn from_file(file_path: &Path) -> Option<FlirThermogram>[src]

Read a FLIR file referenced by a path.

Arguments

  • file_path - The path to the FLIR file to read.

Returns

In case of success, Some<FlirThermogram> is returned, otherwise None. Values are in centigrades, as specified by the ThermogramTrait contract.

Trait Implementations

impl Clone for FlirThermogram[src]

impl Debug for FlirThermogram[src]

impl From<&'_ FlirThermogram> for Array<f32, Ix2>[src]

impl ThermogramTrait for FlirThermogram[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.