Solar
Public Member Functions | List of all members
SolAR::api::image::IImageConvertor Class Referenceabstract

Converts image with a specific layout. UUID: 9c982719-6cb4-4831-aa88-9e01afacbd16 More...

#include <IImageConvertor.h>

Inheritance diagram for SolAR::api::image::IImageConvertor:
Inheritance graph
[legend]
Collaboration diagram for SolAR::api::image::IImageConvertor:
Collaboration graph
[legend]

Public Member Functions

virtual ~IImageConvertor ()
 ~IImageConvertor
 
virtual FrameworkReturnCode convert (const SRef< SolAR::datastructure::Image > imgSrc, SRef< SolAR::datastructure::Image > &imgDst)=0
 This method converts an image source to image destination according to a given channel and color representation layout. More...
 
virtual FrameworkReturnCode convert (const SRef< SolAR::datastructure::Image > imgSrc, SRef< SolAR::datastructure::Image > &imgDst, SolAR::datastructure::Image::ImageLayout destLayout)=0
 This method converts an image source to image destination according to a given channel and color representation layout. More...
 
virtual FrameworkReturnCode convertLookUpTable (const SRef< SolAR::datastructure::Image > imgSrc, SRef< SolAR::datastructure::Image > &imgDst)=0
 This method converts an image source to image destination according to a look up table attribute defined in the component. More...
 

Detailed Description

Converts image with a specific layout. UUID: 9c982719-6cb4-4831-aa88-9e01afacbd16

Member Function Documentation

◆ convert() [1/2]

virtual FrameworkReturnCode SolAR::api::image::IImageConvertor::convert ( const SRef< SolAR::datastructure::Image imgSrc,
SRef< SolAR::datastructure::Image > &  imgDst 
)
pure virtual

This method converts an image source to image destination according to a given channel and color representation layout.

Parameters
[in]imgSrcinput image to convert
[out]imgDstoutput image converted
Returns
FrameworkReturnCode::SUCCESS id conversion succeed, else FrameworkReturnCode::_ERROR.

◆ convert() [2/2]

virtual FrameworkReturnCode SolAR::api::image::IImageConvertor::convert ( const SRef< SolAR::datastructure::Image imgSrc,
SRef< SolAR::datastructure::Image > &  imgDst,
SolAR::datastructure::Image::ImageLayout  destLayout 
)
pure virtual

This method converts an image source to image destination according to a given channel and color representation layout.

Parameters
[in]imgSrcinput image to convert
[out]imgDstoutput image converted
[in]destLayoutoutput image converted
Returns
FrameworkReturnCode::SUCCESS id conversion succeed, else FrameworkReturnCode::_ERROR.

◆ convertLookUpTable()

virtual FrameworkReturnCode SolAR::api::image::IImageConvertor::convertLookUpTable ( const SRef< SolAR::datastructure::Image imgSrc,
SRef< SolAR::datastructure::Image > &  imgDst 
)
pure virtual

This method converts an image source to image destination according to a look up table attribute defined in the component.

Parameters
[in]imgSrcinput image to convert
[out]imgDstoutput image with a look up table
Returns
FrameworkReturnCode::SUCCESS id color mapping succeed, else FrameworkReturnCode::_ERROR.

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