boofcv.alg.feature.disparity
Interface DisparitySparseSelect<ArrayType>
-
- All Known Implementing Classes:
- ImplSelectSparseBasicWta_F32, ImplSelectSparseBasicWta_S32, ImplSelectSparseStandardWta_F32, ImplSelectSparseStandardWta_S32, SelectSparseStandardSubpixel.F32, SelectSparseStandardSubpixel.S32, SelectSparseStandardWta
public interface DisparitySparseSelect<ArrayType>Computes the disparity given disparity score calculations provided byDisparitySparseScoreSadRect. Array specifies the type of primitive array that stores the scores that it processes,
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doublegetDisparity()Returns the found disparitybooleanselect(ArrayType scores, int maxDisparity)Examines disparity scores and looks for the best correspondence.
-
-
-
Method Detail
-
select
boolean select(ArrayType scores, int maxDisparity)
Examines disparity scores and looks for the best correspondence. If no correspondence can be found then false is returned.- Parameters:
scores- Set of disparity scores.maxDisparity- Maximum allowed disparity.- Returns:
- true if a valid correspondence was found
-
getDisparity
double getDisparity()
Returns the found disparity- Returns:
- disparity
-
-
DataMelt 3.0 © DataMelt by jWork.ORG