16 #ifndef __IPSDKIMAGEPROCESSING_IMAGEZSTRIP3DWITHKERNELSPLIT_H__ 17 #define __IPSDKIMAGEPROCESSING_IMAGEZSTRIP3DWITHKERNELSPLIT_H__ 19 #include <IPSDKImageProcessing/DataSplit/Strip/ZStrip3dWithKernel/BaseImageZStrip3dWithKernelSplit.h> 27 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
29 typename TAttribute::ValueType>
72 void init(
const boost::shared_ptr<InputDataType>& pImage,
92 void init(
const boost::shared_ptr<InputDataType>& pImage,
112 void init(
const boost::shared_ptr<InputDataType>& pImage,
130 const boost::shared_ptr<OutputType>& pImageZStrip3dWithKernel);
140 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
141 inline const std::string&
144 return TAttribute::getObjectNameStr();
147 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
148 inline const std::string&
151 return TAttribute::getToolTipStr();
154 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
162 this->initBase(pImage,
164 stripAllocationType, stripParsingDirection);
167 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
175 this->initBase(pImage,
176 structuringElementXYZ,
177 stripAllocationType, stripParsingDirection);
180 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
193 this->initBase(pImage,
194 startingKernelSizeX, endingKernelSizeX,
195 startingKernelSizeY, endingKernelSizeY,
196 startingKernelSizeZ, endingKernelSizeZ,
197 stripAllocationType, stripParsingDirection);
200 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
206 "This attribute is not part of processor class");
208 return dynamic_cast<const TProcessor*
>(&processor) != 0;
211 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
214 const boost::shared_ptr<OutputType>& pImageZStrip3dWithKernel)
217 TProcessor& tProcessor =
static_cast<TProcessor&
>(processor);
220 tProcessor.TProcessor::template set<TAttribute>(pImageZStrip3dWithKernel);
231 #endif // __IPSDKIMAGEPROCESSING_IMAGEZSTRIP3DWITHKERNELSPLIT_H__ Class allowing to encapsulate a typed process result associated to a string description.
Definition: ProcessingResult.h:28
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
BoolResult processAttribute(processor::BaseProcessor &processor, const boost::shared_ptr< OutputType > &pImageZStrip3dWithKernel)
initialize processor attribute associate to split operation for a given element index ...
Definition: ImageZStrip3dWithKernelSplit.h:213
TAttribute AttributeType
attribute type associated to object
Definition: ImageZStrip3dWithKernelSplit.h:37
const std::string & getAttributeName() const
retrieve attribute name associated to split operation
Definition: ImageZStrip3dWithKernelSplit.h:142
Base class for processor class.
Definition: BaseProcessor.h:43
structure allowing to check whether a given attribute exists in attribute collection information ...
Definition: AttributeCollInfoCheckMacros.h:131
eStripAllocationType
Enumerate describing image strip allocation policy.
Definition: ImageStripTypes.h:88
Concrete class for split operation generating image z strips 3d associated to a kernel.
Definition: ImageZStrip3dWithKernelSplit.h:28
Class encapsulating a 3d structuring element spanning along x, y and z axis.
Definition: StructuringElementXYZ.h:35
eStripParsingDirection
Enumerate describing strip parsing direction.
Definition: ImageStripTypes.h:72
Base class for split operation generating image z strips 3d associated to a kernel.
Definition: BaseImageZStrip3dWithKernelSplit.h:38
bool checkProcessorType(const processor::BaseProcessor &processor)
check processor type in derived class
Definition: ImageZStrip3dWithKernelSplit.h:202
const std::string & getAttributeToolTip() const
retrieve attribute tooltip associated to split operation
Definition: ImageZStrip3dWithKernelSplit.h:149
TProcessor ProcessorType
processor type associated to object
Definition: ImageZStrip3dWithKernelSplit.h:34
Class encapsulating a 3d kernel spanning along x, y and z axis.
Definition: KernelXYZ.h:34
TAttribute::ValueType OutputType
output data type for split operation
Definition: ImageZStrip3dWithKernelSplit.h:40
void init(const boost::shared_ptr< InputDataType > &pImage, const KernelXYZ &kernelXYZ, const image::eStripAllocationType &stripAllocationType, const image::eStripParsingDirection &stripParsingDirection)
initialization method for splitted objects
Definition: ImageZStrip3dWithKernelSplit.h:156