Interface ImageMotion2D<I extends ImageBase<I>,
IT extends InvertibleTransform>
- Type Parameters:
I- Input image type
IT- Internally used image motion model
Estimates the 2D motion of images in a video sequence. All internal motion models must belong to the
Homography2D_F64transformation family, The returned transformations use the first image as the reference frame, but other images can be converted into the reference frame. Typically used in image stabilization or image mosaic applications.
Method SummaryModifier and TypeMethodDescriptionTransform from first image into the current image.
longReturns the ID of the most recently processed frame.Type of transform that it estimates
booleanProcesses and updates the image transform.
reset()Resets the class into its initial state and throws away any information on the image sequence
voidTurns the current image into the origin of the coordinate system.
(I input)Processes and updates the image transform. The very first image processed will always return true and have a transform of no motion.
input- Next image in the sequence. Not modified.
- true if the transform has been updated and false if not
resetvoid reset()Resets the class into its initial state and throws away any information on the image sequence
setToFirstvoid setToFirst()Turns the current image into the origin of the coordinate system.
getFrameIDlong getFrameID()Returns the ID of the most recently processed frame. Starts at zero and increments with each call to process.
getFirstToCurrentIT getFirstToCurrent()Transform from first image into the current image. NOTE: Returned transform is owned by this class and can be modified after any function is called.
- Image transform
getTransformTypeType of transform that it estimates
- Transform type.