Public Member Functions | List of all members
iedge::IEdgesExtractor Class Referenceabstract

Interface for edge lines extraction from the image. More...

#include <IEdgesExtractor.h>

Inheritance diagram for iedge::IEdgesExtractor:
iproc::IProcessor istd::IPolymorphic

Public Member Functions

virtual bool DoContourExtraction (const iprm::IParamsSet *paramsPtr, const iimg::IBitmap &bitmap, CEdgeLineContainer &result) const =0
 Do extraction of set of edge lines found on the image. More...
 
- Public Member Functions inherited from iproc::IProcessor
virtual int GetProcessorState (const iprm::IParamsSet *paramsPtr) const =0
 Get state of this processor for processing of specified parameters. More...
 
virtual bool AreParamsAccepted (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, const istd::IChangeable *outputPtr) const =0
 Check if specified parameter set is accepted for this processor. More...
 
virtual int DoProcessing (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)=0
 Do synchronized processing. More...
 
virtual int BeginTask (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)=0
 Begin new task for this processor and add them to queue. More...
 
virtual int WaitTaskFinished (int taskId=-1, double timeoutTime=-1, bool killOnTimeout=true)=0
 Wait for task is finished. More...
 
virtual void CancelTask (int taskId=-1)=0
 Remove task from queue. More...
 
virtual int GetReadyTask ()=0
 Get the ID of any ready task. More...
 
virtual int GetTaskState (int taskId=-1) const =0
 Get actual task state. More...
 
virtual void InitProcessor (const iprm::IParamsSet *paramsPtr)=0
 Init processor to optimal process with specified params. More...
 

Additional Inherited Members

- Public Types inherited from iproc::IProcessor
enum  MessageId { MI_BAD_PARAMS = 0x16372620, MI_PROCESSING_ERROR }
 
enum  ProcessorState { PS_UNKNOWN, PS_INITIALIZATION, PS_READY, PS_INVALID }
 State of processing. More...
 
enum  TaskState {
  TS_NONE, TS_WAIT, TS_OK, TS_CANCELED,
  TS_INVALID
}
 Describe state of task. More...
 

Detailed Description

Interface for edge lines extraction from the image.

Definition at line 20 of file IEdgesExtractor.h.

Member Function Documentation

virtual bool iedge::IEdgesExtractor::DoContourExtraction ( const iprm::IParamsSet paramsPtr,
const iimg::IBitmap bitmap,
CEdgeLineContainer result 
) const
pure virtual

Do extraction of set of edge lines found on the image.

Parameters
bitmapimage where the contour lines should be extracted.
resultcontainer of result edges lines.
Returns
true if success.

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy