mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
removed trailing backspaces, reduced number of warnings (under MSVC2010 x64) for size_t to int conversion, added handling of samples launch without parameters (should not have abnormal termination if there was no paramaters supplied)
This commit is contained in:
@@ -127,7 +127,7 @@ HarrisResponse::HarrisResponse(const cv::Mat& image, double k) :
|
||||
dX_offsets_.resize(7 * 9);
|
||||
dY_offsets_.resize(7 * 9);
|
||||
std::vector<int>::iterator dX_offsets = dX_offsets_.begin(), dY_offsets = dY_offsets_.begin();
|
||||
unsigned int image_step = image.step1();
|
||||
unsigned int image_step = (unsigned int)image.step1();
|
||||
for (size_t y = 0; y <= 6 * image_step; y += image_step)
|
||||
{
|
||||
int dX_offset = y + 2, dY_offset = y + 2 * image_step;
|
||||
|
||||
Reference in New Issue
Block a user