Class NearestPixelFinder
java.lang.Object
net.algart.executors.modules.cv.matrices.objects.binary.NearestPixelFinder
-
Constructor Summary
ConstructorsConstructorDescriptionNearestPixelFinder(net.algart.arrays.Matrix<? extends net.algart.arrays.BitArray> mask, SortedRound2DAperture maxAperture, SortedRound2DAperture neighbourhoodForNearest) -
Method Summary
Modifier and TypeMethodDescriptionintfindNearest(int centerX, int centerY, net.algart.arrays.MutableIntArray resultXY) intbooleansetMaxNumberOfNeighbours(int maxNumberOfNeighbours) setSkipPositionsAtMaks(boolean skipPositionsAtMaks)
-
Constructor Details
-
NearestPixelFinder
public NearestPixelFinder(net.algart.arrays.Matrix<? extends net.algart.arrays.BitArray> mask, SortedRound2DAperture maxAperture, SortedRound2DAperture neighbourhoodForNearest)
-
-
Method Details
-
getMaxNumberOfNeighbours
public int getMaxNumberOfNeighbours() -
setMaxNumberOfNeighbours
-
isSkipPositionsAtMaks
public boolean isSkipPositionsAtMaks() -
setSkipPositionsAtMaks
-
findNearest
public int findNearest(int centerX, int centerY, net.algart.arrays.MutableIntArray resultXY)
-