Skip to main content

ResizeOptions Struct

Resize changes geometry only. Output is a raw image in the input format. More...

Declaration​

struct simaai::neat::ResizeOptions { ... }

Included Headers​

#include <ImageTransform.h>

Public Member Attributes Index​

intwidth = 0
intheight = 0
ResizeInterpolationinterpolation = ResizeInterpolation::Bilinear
ResizeFitfit = ResizeFit::Stretch
intmax_input_width = 0

Zero fixes capacity to the first prepared input width. More...

intmax_input_height = 0

Zero fixes capacity to the first prepared input height. More...

intpad_value = 0
std::optional< std::array< unsigned char, 3 > >yuv_padding
ImageColorOptionscolor
ImageSurfaceLayoutsurface = ImageSurfaceLayout::Native
std::stringelement_name

Description​

Resize changes geometry only. Output is a raw image in the input format.

Definition at line 34 of file ImageTransform.h.

Public Member Attributes​

color​

ImageColorOptions simaai::neat::ResizeOptions::color

Definition at line 43 of file ImageTransform.h.

element_name​

std::string simaai::neat::ResizeOptions::element_name

Definition at line 45 of file ImageTransform.h.

fit​

ResizeFit simaai::neat::ResizeOptions::fit = ResizeFit::Stretch

Definition at line 38 of file ImageTransform.h.

height​

int simaai::neat::ResizeOptions::height = 0

Definition at line 36 of file ImageTransform.h.

interpolation​

ResizeInterpolation simaai::neat::ResizeOptions::interpolation = ResizeInterpolation::Bilinear

Definition at line 37 of file ImageTransform.h.

max_input_height​

int simaai::neat::ResizeOptions::max_input_height = 0

Zero fixes capacity to the first prepared input height.

Definition at line 40 of file ImageTransform.h.

max_input_width​

int simaai::neat::ResizeOptions::max_input_width = 0

Zero fixes capacity to the first prepared input width.

Definition at line 39 of file ImageTransform.h.

pad_value​

int simaai::neat::ResizeOptions::pad_value = 0

Definition at line 41 of file ImageTransform.h.

surface​

ImageSurfaceLayout simaai::neat::ResizeOptions::surface = ImageSurfaceLayout::Native

Definition at line 44 of file ImageTransform.h.

width​

int simaai::neat::ResizeOptions::width = 0

Definition at line 35 of file ImageTransform.h.

yuv_padding​

std::optional<std::array<unsigned char, 3> > simaai::neat::ResizeOptions::yuv_padding

Definition at line 42 of file ImageTransform.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.