IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Types | Public Member Functions | Protected Member Functions | List of all members
ipsdk::imaproc::BaseImageYStripSeq2dSplit< InputDataType, OutputDataType > Class Template Referenceabstract

Base class for split operation generating sequence image y strips 2d. More...

#include <BaseImageYStripSeq2dSplit.h>

Inheritance diagram for ipsdk::imaproc::BaseImageYStripSeq2dSplit< InputDataType, OutputDataType >:
ipsdk::imaproc::BaseImageStripSplit< InputDataType > ipsdk::processor::BaseDynamicSplit ipsdk::processor::BaseDataSplit

Public Types

typedef OutputDataType OutputType
 output data type for split operation
 
- Public Types inherited from ipsdk::imaproc::BaseImageStripSplit< InputDataType >
typedef InputDataType InputType
 input data type for split operation
 

Public Member Functions

eImageStripSplitType getImageStripSplitType () const
 retrieve image strip split operation type
 
const image::eStripAllocationTypegetStripAllocationType () const
 retrieve flag indicating whether splitted strip allocation should be forced More...
 
const image::eStripParsingDirectiongetStripParsingDirection () const
 retrieve strip parsing direction associated to attribute allocation should be forced More...
 
Constructors and destructors
 BaseImageYStripSeq2dSplit ()
 
virtual ~BaseImageYStripSeq2dSplit ()=0
 
- Public Member Functions inherited from ipsdk::imaproc::BaseImageStripSplit< InputDataType >
processor::eSplitDynamicType getSplitDynamicType () const
 retrieve dynamic split operation type
 
eImageSplitType getImageSplitType () const
 retrieve image split operation type
 
const image::BaseImagegetImage () const
 retrieve image to be splitted More...
 
 BaseImageStripSplit ()
 
virtual ~BaseImageStripSplit ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseDynamicSplit
eSplitBaseType getSplitBaseType () const
 retrieve split operation base type
 
ipUInt64 getNbMinEltsPerSplit () const
 retrieve minimum number of elements for a split operation More...
 
ipUInt64 getNbMaxEltsPerSplit () const
 retrieve maximum number of elements for a split operation More...
 
BoolResult initAttribute (BaseProcessor &processor, const ipUInt64 elementsStartIndex, const ipUInt64 nbElements, const core::BaseRequestOrigin &requestOrigin)
 initialize processor attribute associate to split operation for a starting element index and a number of elements More...
 
 BaseDynamicSplit ()
 
virtual ~BaseDynamicSplit ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseDataSplit
virtual const std::string & getAttributeName () const =0
 retrieve attribute name associated to split operation
 
virtual const std::string & getAttributeToolTip () const =0
 retrieve attribute tooltip associated to split operation
 
bool isInit () const
 retrieve object initialization flag
 
bool isSplitted () const
 check whether object will be associated to split operation More...
 
const ElementsLocationInfogetElementsLocationInfo () const
 retrieve data location informations More...
 
ipUInt64 getFullMemorySize () const
 retrieve full memory data size for elements More...
 
bool areDataLocalized () const
 check whether data are localized More...
 
bool hasLocalData () const
 check whether some data are local data More...
 
bool hasRemoteData () const
 check whether some data are remote data More...
 
void disableDataLocalization ()
 method allowing to disable data localization More...
 
 BaseDataSplit ()
 
virtual ~BaseDataSplit ()=0
 
ipUInt64 getNbElements () const
 retrieve total number of elements associated to input data More...
 
ipUInt64 getDataMemorySize (const ipUInt64 elementIdx) const
 retrieve memory size of data for a given element More...
 
ipUInt64 getDataMemorySize () const
 retrieve memory size of data for a given element More...
 

Protected Member Functions

virtual BoolResult processAttribute (processor::BaseProcessor &processor, const boost::shared_ptr< OutputDataType > &pImageYStripSeq2d)=0
 
void initBase (const boost::shared_ptr< InputDataType > &pImage, const image::eStripAllocationType &stripAllocationType, const image::eStripParsingDirection &stripParsingDirection)
 base class initialization method More...
 
- Protected Member Functions inherited from ipsdk::imaproc::BaseImageStripSplit< InputDataType >
void initSplitted (const boost::shared_ptr< InputDataType > &pImage, const processor::ElementsLocationInfo &elementsLocationInfo, const ipUInt64 nbMinEltsPerSplit=1, const ipUInt64 nbMaxEltsPerSplit=NumericLimits< ipUInt64 >::max())
 base class initialization method for splitted case More...
 
void initUnSplitted (const boost::shared_ptr< InputDataType > &pImage, const processor::ElementsLocationInfo &elementsLocationInfo)
 special base initialization method for un splitted case More...
 
const boost::shared_ptr< InputDataType > & getImagePtr () const
 retrieve image pointer to be splitted More...
 
- Protected Member Functions inherited from ipsdk::processor::BaseDynamicSplit
void initSplitted (const ElementsLocationInfo &elementsLocationInfo, const ipUInt64 nbMinEltsPerSplit=1, const ipUInt64 nbMaxEltsPerSplit=NumericLimits< ipUInt64 >::max())
 base class initialization method for splitted case More...
 
void initUnSplitted (const ElementsLocationInfo &elementsLocationInfo)
 base class initialization method for un splitted case More...
 
- Protected Member Functions inherited from ipsdk::processor::BaseDataSplit
void initBaseSplitted (const ElementsLocationInfo &elementsLocationInfo)
 base class initialization method for splitted elements More...
 
void initBaseUnSplitted (const ElementsLocationInfo &elementsLocationInfo)
 base class initialization method for un splitted elements More...
 
virtual bool checkProcessorType (const processor::BaseProcessor &processor)=0
 check processor type in derived class
 
void throwNullInputSharedPtr ()
 

Additional Inherited Members

- Static Public Attributes inherited from ipsdk::processor::BaseDynamicSplit
static const eSplitBaseType::domain g_splitBaseType = eSplitBaseType::eSBT_Dynamic
 data split type associated to object
 
- Protected Attributes inherited from ipsdk::processor::BaseDynamicSplit
ipUInt64 _nbMinEltsPerSplit
 minimum number of elements for a split operation
 
ipUInt64 _nbMaxEltsPerSplit
 maximum number of elements for a split operation
 

Detailed Description

template<typename InputDataType, typename OutputDataType>
class ipsdk::imaproc::BaseImageYStripSeq2dSplit< InputDataType, OutputDataType >

Base class for split operation generating sequence image y strips 2d.

Author
E.Noirfalise
Date
2015/01/16

Member Function Documentation

◆ getStripAllocationType()

template<typename InputDataType, typename OutputDataType>
const image::eStripAllocationType& ipsdk::imaproc::BaseImageYStripSeq2dSplit< InputDataType, OutputDataType >::getStripAllocationType ( ) const

retrieve flag indicating whether splitted strip allocation should be forced

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionif isInit() == false

◆ getStripParsingDirection()

template<typename InputDataType, typename OutputDataType>
const image::eStripParsingDirection& ipsdk::imaproc::BaseImageYStripSeq2dSplit< InputDataType, OutputDataType >::getStripParsingDirection ( ) const

retrieve strip parsing direction associated to attribute allocation should be forced

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionif isInit() == false

◆ processAttribute()

template<typename InputDataType, typename OutputDataType>
virtual BoolResult ipsdk::imaproc::BaseImageYStripSeq2dSplit< InputDataType, OutputDataType >::processAttribute ( processor::BaseProcessor processor,
const boost::shared_ptr< OutputDataType > &  pImageYStripSeq2d 
)
protectedpure virtual

initialize processor attribute associate to split operation for a starting element index and a number of elements

Implemented in ipsdk::imaproc::ImageYStripSeq2dSplit< TProcessor, InputDataType, TAttribute >.

◆ initBase()

template<typename InputDataType, typename OutputDataType>
void ipsdk::imaproc::BaseImageYStripSeq2dSplit< InputDataType, OutputDataType >::initBase ( const boost::shared_ptr< InputDataType > &  pImage,
const image::eStripAllocationType stripAllocationType,
const image::eStripParsingDirection stripParsingDirection 
)
protected

base class initialization method

Exceptions
ipsdk::imaproc::IPSDKImageProcessingExceptionif pImage.get() == 0
ipsdk::image::IPSDKImageExceptionif pImage.isInit() == false

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