You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: impl/ocean/cv/detector/HarrisCornerDetector.h
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ class OCEAN_CV_DETECTOR_EXPORT HarrisCornerDetector
78
78
/**
79
79
* Creates a new object.
80
80
* @param frame The 8 bit frame on which the Harris corners are detected, must be valid
81
-
* @param width The width of the given frame in pixel, with range [7, infinity)
81
+
* @param width The width of the given frame in pixel, with range [10, infinity)
82
82
* @param height The height of the given frame in pixel, with range [7, infinity)
83
83
* @param framePaddingElements The number of padding elements at the end of each frame row, in elements, with range [0, infinity)
84
84
*/
@@ -101,7 +101,7 @@ class OCEAN_CV_DETECTOR_EXPORT HarrisCornerDetector
101
101
/// The frame in which the Harris corners are detected.
102
102
constuint8_t* const frameData_;
103
103
104
-
/// The frame width in pixel, with range [7, infinity)
104
+
/// The frame width in pixel, with range [10, infinity)
105
105
constunsignedint frameWidth_;
106
106
107
107
/// The frame height in pixel, with range [7, infinity)
@@ -164,8 +164,8 @@ class OCEAN_CV_DETECTOR_EXPORT HarrisCornerDetector
164
164
* Detects Harris corners inside a sub-region of a given frame.
165
165
* If the given frame is not an 8 bit grayscale frame with pixel origin in the upper left corner, the frame will be converted internally.
166
166
* @param frame The frame to be used for corner detection, with resolution [10, infinity)x[7, infinity), must be valid
167
-
* @param subFrameLeft Left position of the sub frame defined in the original image in pixel, with range [0, frame.width() - 7]
168
-
* @param subFrameTop Top position of the sub frame defined in the original image in pixel, with range [0, frame.height() - 7]
167
+
* @param subFrameLeft Left position of the sub frame defined in the original image in pixel, with range [0, frame.width() - subFrameWidth]
168
+
* @param subFrameTop Top position of the sub frame defined in the original image in pixel, with range [0, frame.height() - subFrameHeight]
169
169
* @param subFrameWidth Width of the sub frame in pixel, with range [10, frame.width() - subFrameLeft]
170
170
* @param subFrameHeight Height of the sub frame in pixel, with range [7, frame.height() - subFrameTop]
171
171
* @param threshold Minimal strength value all detected corners must exceed to count as corner, with range [0, 512]
@@ -194,8 +194,8 @@ class OCEAN_CV_DETECTOR_EXPORT HarrisCornerDetector
194
194
/**
195
195
* Creates the Harris corner votes for the horizontal and vertical sobel responses for an entire frame (and therefore for each pixel of the original frame) without applying a maximum suppression.
196
196
* The resulting votes may have an invalid 2 pixel wide frame border (depending on 'setBorderPixels').
197
-
* @param sobelResponse 16 bit sobel filter responses (8 bit for the horizontal response and 8 bit for the vertical response) to be used for Harris application, with minimal size 5x5
198
-
* @param width The width of the original frame in pixel, with range [5, infinity)
197
+
* @param sobelResponse 16 bit sobel filter responses (8 bit for the horizontal response and 8 bit for the vertical response) to be used for Harris application, with minimal size 10x5
198
+
* @param width The width of the original frame in pixel, with range [10, infinity)
199
199
* @param height The height of the original frame in pixel, with range [5, infinity)
200
200
* @param sobelResponsePaddingElements The number of padding elements at the end of each sobel response row, in elements, with range [0, infinity)
201
201
* @param votes Resulting Harris votes values, make sure that the buffer is large enough
@@ -207,9 +207,9 @@ class OCEAN_CV_DETECTOR_EXPORT HarrisCornerDetector
207
207
208
208
/**
209
209
* Calculates the Harris corner votes for several given positions in a frame only.
210
-
* @param yFrame The 8 bit (grayscale) frame to be used for Harris application, with minimal size 5x5
210
+
* @param yFrame The 8 bit (grayscale) frame to be used for Harris application, with minimal size 10x5
211
211
* @param width The width of the given frame in pixel, with range [10, infinity)
212
-
* @param height The height of the given frame in pixel, with range [7, infinity)
212
+
* @param height The height of the given frame in pixel, with range [5, infinity)
213
213
* @param yFramePaddingElements The number of padding elements at the end of each frame row, in elements, with range [0, infinity)
214
214
* @param positions Pixel positions inside the given frame to determine the responses for
215
215
* @param numberPositions Number of given pixel positions
@@ -232,7 +232,7 @@ class OCEAN_CV_DETECTOR_EXPORT HarrisCornerDetector
232
232
/**
233
233
* Calculates the Harris corner vote for one specific sub-pixel position from an 8 bit grayscale frame.
234
234
* @param yFrame The 8 bit grayscale frame that is used to determine the vote, must be valid
235
-
* @param width The width of the given frame in pixel, with range [10, infinity)
235
+
* @param width The width of the given frame in pixel, with range [7, infinity)
236
236
* @param x Horizontal position in pixel, with range [3, width - 3)
237
237
* @param y Vertical position in pixel, with range [3, height - 3)
238
238
* @param yFramePaddingElements The number of padding elements at the end of each frame row, in elements, with range [0, infinity)
@@ -243,7 +243,7 @@ class OCEAN_CV_DETECTOR_EXPORT HarrisCornerDetector
243
243
/**
244
244
* Calculates the Harris corner votes for specified sub-pixel positions from an 8 bit grayscale frame.
245
245
* @param yFrame The 8 bit grayscale frame that is used to determine the vote
246
-
* @param width The width of the given frame in pixel, with range [10, infinity)
246
+
* @param width The width of the given frame in pixel, with range [7, infinity)
247
247
* @param positions The sub-pixel positions for which the Harris votes will be determined
248
248
* @param yFramePaddingElements The number of padding elements at the end of each frame row, in elements, with range [0, infinity)
249
249
* @param worker Optional worker object to distribute the computation
@@ -325,7 +325,7 @@ class OCEAN_CV_DETECTOR_EXPORT HarrisCornerDetector
325
325
/**
326
326
* Creates the Harris corner votes for a subset of specified sub-pixel positions from an 8 bit grayscale frame.
327
327
* @param yFrame The 8 bit grayscale frame that is used to determine the vote
328
-
* @param width The width of the given frame in pixel, with range [10, infinity)
328
+
* @param width The width of the given frame in pixel, with range [7, infinity)
329
329
* @param yFramePaddingElements The number of padding elements at the end of each frame row, in elements, with range [0, infinity)
330
330
* @param positions The sub-pixel positions for which the Harris votes will be determined
331
331
* @param votes The resulting votes, one vote for each position
0 commit comments