mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
remove a useless statement.
This commit is contained in:
parent
23fc96e98f
commit
84f2f37680
@ -513,10 +513,6 @@ bool findChessboardCorners(InputArray image_, Size pattern_size,
|
||||
{
|
||||
cvtColor(img, img, COLOR_BGR2GRAY);
|
||||
}
|
||||
else
|
||||
{
|
||||
img.clone();
|
||||
}
|
||||
|
||||
int prev_sqr_size = 0;
|
||||
|
||||
@ -578,6 +574,7 @@ bool findChessboardCorners(InputArray image_, Size pattern_size,
|
||||
{
|
||||
if (flags & CALIB_CB_NORMALIZE_IMAGE)
|
||||
{
|
||||
img = img.clone();
|
||||
equalizeHist(img, img);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user