ExrConverter.h
Go to the documentation of this file.
1
#pragma once
2
3
// Base Class
4
#include "../../../../extractor/imageExtractor/DepthImageExtractor.h"
5
#include "../Converter.h"
6
7
namespace
armarx::armem::server::ltm::processor::converter::data::image
8
{
9
class
ExrConverter
:
public
ImageConverter
10
{
11
public
:
12
13
static
const
constexpr
char
*
NAME
=
"ExrConverter"
;
14
15
ExrConverter
() :
16
ImageConverter
(
ConverterType
::Binary,
17
"depthimage"
,
18
".exr"
,
19
std
::make_unique<
extractor
::DepthImageExtractor>())
20
{
21
}
22
23
protected
:
24
ConversionResult
_convert
(
const
aron::data::NDArrayPtr
&
data
)
final
;
25
aron::data::NDArrayPtr
_convert
(
const
ConversionResult&
data
,
26
const
armarx::aron::Path
& p)
final
;
27
};
28
}
// namespace armarx::armem::server::ltm::processor::converter::data::image
armarx::aron::data::NDArrayPtr
std::shared_ptr< NDArray > NDArrayPtr
Definition:
NDArray.h:46
armarx::armem::server::ltm::processor::converter::data::ImageConverter
Definition:
Converter.h:16
armarx::aron::Path
The Path class.
Definition:
Path.h:36
armarx::armem::server::ltm::processor::converter::data::image::ExrConverter::NAME
static const constexpr char * NAME
Definition:
ExrConverter.h:13
armarx::armem::server::ltm::processor::converter::data::image::ExrConverter
Definition:
ExrConverter.h:9
data
uint8_t data[1]
Definition:
EtherCATFrame.h:68
armarx::armem::server::ltm::processor::converter::data::image::ExrConverter::ExrConverter
ExrConverter()
Definition:
ExrConverter.h:15
std
Definition:
Application.h:66
armarx::armem::server::ltm::processor::converter::data::image
Definition:
ExrConverter.cpp:10
armarx::armem::server::ltm::processor::DataConverter::extractor
const std::unique_ptr< Extractor > extractor
Definition:
Converter.h:54
armarx::armem::server::ltm::processor::converter::data::image::ExrConverter::_convert
ConversionResult _convert(const aron::data::NDArrayPtr &data) final
Definition:
ExrConverter.cpp:13
armarx::armem::server::ltm::processor::DataConverter::ConverterType
ConverterType
Definition:
Converter.h:19
RobotAPI
libraries
armem
server
ltm
processors
converter
data
image
exr
ExrConverter.h
Generated on Sat Oct 12 2024 09:14:08 for armarx_documentation by
1.8.17