6#ifndef iipr_CLineProjectionProcessorComp_included
7#define iipr_CLineProjectionProcessorComp_included
11#include <QtCore/QString>
37 I_ASSIGN(m_lineParamIdAttrPtr,
"LineParamId",
"ID of line parameter in parameter set",
true,
"LineParam");
38 I_ASSIGN(m_featureMapperCompPtr,
"FeatureMapper",
"Map result feature to projection position, it is needed for mapping operation",
false,
"FeatureMapper");
44 template <
typename InputPixelType,
typename DestPixel,
typename CalcPixel>
66 const istd::IPolymorphic* inputPtr,
68 bool allowAsync =
false,
82 I_ATTR(QByteArray, m_lineParamIdAttrPtr);
Definition of a line in 2D-space.
Definition of position or mathematical vector on 2D plane.
Definition of single plane bitmap.
bool IsAutoProjectionSizeSupported() const override
Check if automatical projection size is supported.
iproc::TSyncProcessorCompBase< ILineProjectionProcessor > BaseClass
istd::CRange GetLineWidthRange() const override
Get range of possible projection line width.
int GetMinProjectionSize() const override
Get minimal number of projection elements can be calculated by projection.
bool DoAutosizeProjection(const iimg::IBitmap &bitmap, const i2d::CLine2d &bitmapLine, imeas::IDataSequence &results) const
Do projection along specified line with variable projection size.
virtual bool GetImagePosition(const imeas::INumericValue &feature, const iprm::IParamsSet *paramsPtr, i2d::CVector2d &result) const override
Get position in image coordination system using position extracted from projection.
virtual bool DoProjection(const iimg::IBitmap &bitmap, const i2d::CLine2d &projectionLine, const IProjectionParams *paramsPtr, imeas::IDataSequence &results) override
virtual iproc::CTaskState DoProcessing(const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, bool allowAsync=false, iproc::IProgressManager *progressManagerPtr=nullptr) override
int GetMaxProjectionSize() const override
Get maximal number of projection elements can be calculated by projection.
void OnComponentCreated() override
Interface allowing mapping of extracted features to native coordinate systems.
Interface allowing mapping of extracted features to native coordinate systems.
Describe parameter for projection 2D image to 1D structure.
General definition of sequence contains samples in regular time grid.
General parameter set containing list of numeric values.
Set of general parameters.
Represent state of asynchronous operation.
Consume information about progress of some process.
Simple definition macro for a synchronous processor.
Common interface for data model objects, which can be changed.
Contains the image processing classes.