Class SortedRound2DAperture
java.lang.Object
net.algart.executors.modules.cv.matrices.misc.SortedRound2DAperture
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintcount()intintdimX()int[]dx()Returns a reference to the internal array of x-offsets.int[]dy()Returns a reference to the internal array of y-offsets.static SortedRound2DAperturegetCircle(int apertureSize, long dimX) static SortedRound2DAperturegetCircleWithSpeciallyOrderedPointsAtAxes(int apertureSize, long dimX) static SortedRound2DAperturegetRing(int apertureSize, long dimX) inthypotSqr(int k) booleanintint[]offsets()Returns a reference to the internal array of offsets.
-
Field Details
-
MAX_SIZE
public static final int MAX_SIZE- See Also:
-
-
Method Details
-
getCircle
-
getRing
-
getCircleWithSpeciallyOrderedPointsAtAxes
public static SortedRound2DAperture getCircleWithSpeciallyOrderedPointsAtAxes(int apertureSize, long dimX) -
dimX
public int dimX() -
dx
public int[] dx()Returns a reference to the internal array of x-offsets. Please do not change the content of the returned array!- Returns:
- array of x-offsets of all aperture points.
-
dy
public int[] dy()Returns a reference to the internal array of y-offsets. Please do not change the content of the returned array!- Returns:
- array of y-offsets of all aperture points.
-
offsets
public int[] offsets()Returns a reference to the internal array of offsets. Please do not change the content of the returned array!- Returns:
- array of relative offsets of all aperture points.
-
hypotSqr
public int hypotSqr(int k) -
count
public int count() -
countWithoutLine
public int countWithoutLine() -
maxRadius
public int maxRadius() -
isSortedByIncreasingRadius
public boolean isSortedByIncreasingRadius()
-