This event describes the evolution of the registration process. More...
#include <ImageViz/Engines/GeometryAndMatching/Registration/SoImageRegistrationTransform.h>
Public Member Functions | |
SoImageVizEngine * | getSource () const |
float | getProgress () const |
double | getSimilarity () const |
SbMatrix | getTransform () const |
RegistrationEvent (SoImageVizEngine *engine, float progress, double similarity, const SbMatrix &matrix) | |
~RegistrationEvent () |
This event describes the evolution of the registration process.
The user can access to the current similarity, the current transformation, the estimated progression.
SoImageRegistrationTransform::RegistrationEvent::RegistrationEvent | ( | SoImageVizEngine * | engine, | |
float | progress, | |||
double | similarity, | |||
const SbMatrix & | matrix | |||
) | [inline] |
Default constructor.
SoImageRegistrationTransform::RegistrationEvent::~RegistrationEvent | ( | ) | [inline] |
Destructor.
float SoImageRegistrationTransform::RegistrationEvent::getProgress | ( | ) | const [inline] |
Returns the progress value of processing in the range [0-1].
double SoImageRegistrationTransform::RegistrationEvent::getSimilarity | ( | ) | const [inline] |
Returns the similarity measurement between the 2 overlapped images.
The measurement and the range of the similarity will vary according to the metric type. Whatever the metric used, a higher similarity means a better registration. Similarity values from different metrics cannot be compared.
The similarity value is defined in Use enum MetricType.
SoImageVizEngine* SoImageRegistrationTransform::RegistrationEvent::getSource | ( | ) | const [inline] |
Returns the source engine that raised the event.
SbMatrix SoImageRegistrationTransform::RegistrationEvent::getTransform | ( | ) | const [inline] |
Returns the current estimated transformation.