FinderPattern

class FinderPattern(posX: Float, posY: Float, val estimatedModuleSize: Float, val count: Int) : ResultPoint

Constructors

Link copied to clipboard
constructor(posX: Float, posY: Float, estimatedModuleSize: Float, count: Int)

Properties

Link copied to clipboard
val count: Int
Link copied to clipboard
Link copied to clipboard
val x: Float
Link copied to clipboard
val y: Float

Functions

Link copied to clipboard
fun aboutEquals(moduleSize: Float, i: Float, j: Float): Boolean

Determines if this finder pattern "about equals" a finder pattern at the stated position and size -- meaning, it is at nearly the same center with nearly the same size.

Link copied to clipboard
fun combineEstimate(i: Float, j: Float, newModuleSize: Float): FinderPattern

Combines this object's current estimate of a finder pattern position and module size with a new estimate. It returns a new FinderPattern containing a weighted average based on count.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String