[−][src]Struct libblackbody::flir::FlirThermogram
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]
Trait Implementations
impl Clone for FlirThermogram
[src]
pub fn clone(&self) -> FlirThermogram
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FlirThermogram
[src]
impl From<&'_ FlirThermogram> for Array<f32, Ix2>
[src]
impl ThermogramTrait for FlirThermogram
[src]
pub fn thermal(&self) -> &Array<f32, Ix2>
[src]
pub fn optical(&self) -> Option<&Array<u8, Ix3>>
[src]
pub fn identifier(&self) -> &str
[src]
pub fn path(&self) -> Option<&str>
[src]
pub fn render(
&self,
min_temp: f32,
max_temp: f32,
palette: [[f32; 3]; 256]
) -> Array<u8, Ix3>
[src]
&self,
min_temp: f32,
max_temp: f32,
palette: [[f32; 3]; 256]
) -> Array<u8, Ix3>
pub fn render_defaults(&self) -> Array<u8, Ix3>
[src]
pub fn export_thermal(&self, path: &PathBuf) -> Option<()>
[src]
pub fn save_render(
&self,
path: PathBuf,
min_temp: f32,
max_temp: f32,
palette: [[f32; 3]; 256]
) -> Option<()>
[src]
&self,
path: PathBuf,
min_temp: f32,
max_temp: f32,
palette: [[f32; 3]; 256]
) -> Option<()>
pub fn thermal_shape(&self) -> [usize; 2]
[src]
pub fn has_optical(&self) -> bool
[src]
pub fn min_temp(&self) -> f32
[src]
pub fn max_temp(&self) -> f32
[src]
pub fn normalized_minmax(&self) -> Array<f32, Ix2>
[src]
Auto Trait Implementations
impl RefUnwindSafe for FlirThermogram
[src]
impl Send for FlirThermogram
[src]
impl Sync for FlirThermogram
[src]
impl Unpin for FlirThermogram
[src]
impl UnwindSafe for FlirThermogram
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,