17 #ifndef __IPSDKIMAGE_COLORGEOMETRY_H__ 18 #define __IPSDKIMAGE_COLORGEOMETRY_H__ 22 #pragma warning (push) 23 #pragma warning (disable : 4251) 27 #include <IPSDKSerialization/Engine/BaseSerializationObject.h> 73 bool isGreyLevel()
const;
86 std::string getChannelName(
const ipUInt64 channelIdx)
const;
90 const std::vector<std::string>& getChannelNames()
const;
95 void setChannelName(
const std::string& channelName,
const ipUInt64 channelIdx);
99 void setChannelNames(
const std::vector<std::string>& vChannelNames);
103 void setMinIsBlack(
const bool bMinIsBlack);
107 bool minIsBlack()
const;
150 #pragma warning (pop) 152 #endif // __IPSDKIMAGE_COLORGEOMETRY_H__ #define IPSDK_DECLARE_SERIAL_WITH_COPY(libraryName, className)
macro enabling serialization on class
Definition: SerializationHdrMacro.h:73
Predefined types for geometry component management.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
bool _bMinIsBlack
Flag indicating if the minimum intensity is represented by black color.
Definition: ColorGeometry.h:132
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
ipUInt64 _sizeC
c size associated to object
Definition: ColorGeometry.h:123
bool isInit() const
retrieve object initialisation flag
Definition: ColorGeometry.h:139
eColorGeometryType
Color geometry type.
Definition: GeometryComponentTypes.h:45
bool _bInit
object initialization flag
Definition: ColorGeometry.h:126
eColorGeometryType _colorGeometryType
color geometry type associated to object
Definition: ColorGeometry.h:120
IPSDKIMAGEPROCESSING_API processor::RulePtr isColor(const ImageAttributeConstWeakPtr &pAttribute)
functions allowing to check image color type
Definition of import/export macro for library.
#define IPSDKIMAGE_API
Import/Export macro for library IPSDKImage.
Definition: IPSDKImageExports.h:27
Class encapsulating color geometryThis class allows to define geometry color size and type (grey...
Definition: ColorGeometry.h:35
std::vector< std::string > _vChannelNames
Collection to store the names for each channel.
Definition: ColorGeometry.h:129
Base class for serializable class.
Definition: BaseSerializationObject.h:33