Package boofcv.alg.fiducial.calib.chess
Class ChessboardCornerEdgeIntensity<T extends ImageGray<T>>
java.lang.Object
boofcv.alg.fiducial.calib.chess.ChessboardCornerEdgeIntensity<T>
Computes edge intensity for the line between two corners. Assumes the edge is approximately straight. This means
lens distortion between two points can't be too massive. Orientation of corners is used to estimate which
side of the line should be white/black
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
float
process
(ChessboardCorner ca, ChessboardCorner cb, double direction_a_to_b) Computes a value for the line intensity between two corners.void
void
setLengthSamples
(int lengthSamples)
-
Constructor Details
-
ChessboardCornerEdgeIntensity
-
-
Method Details
-
setImage
-
process
Computes a value for the line intensity between two corners.- Parameters:
ca
- corner acb
- corner bdirection_a_to_b
- Direction from a to b in radians.- Returns:
- the line intensity. more positive more intense. Units = pixels intensity
-
getLengthSamples
public int getLengthSamples() -
setLengthSamples
public void setLengthSamples(int lengthSamples) -
getImageType
-