Skip to content

Commit

Permalink
bug fix: LFCalFindCheckerCorners updated for newer versions of MATLAB…
Browse files Browse the repository at this point in the history
…s detectCheckerboardPoints by disabling partial detections
  • Loading branch information
doda42 committed Apr 18, 2023
1 parent 0d6ddbb commit 347b5ee
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Copyright (c) 2013-2020 Donald G. Dansereau

Please refer to README.md and LFToolbox.pdf for installation instructions and further information.

---v0.5.3----------------------------------------------------------------------
Minor bug fixes

- LFCalFindCheckerCorners updated for newer versions of MATLAB's detectCheckerboardPoints by disabling partial detections

---v0.5.2----------------------------------------------------------------------
Minor bug fixes

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Sample data:
* Additional datasets and community links at [dgd.vision](http://dgd.vision/Tools/LFToolbox)

## What's New / Development Plan
v0.5.3: bug fixes, see CHANGELOG.txt
v0.5.2: bug fixes, see CHANGELOG.txt

v0.5.1: bug fixes, documentation improvements, see CHANGELOG.txt
Expand Down
4 changes: 3 additions & 1 deletion SupportFunctions/LFCalFindCheckerCorners.m
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@
CurImg = squeeze(LF(TIdx, SIdx, :,:, 1:3));
CurImg = rgb2gray(CurImg);

[CurCheckerCorners,CheckBoardSize] = detectCheckerboardPoints( CurImg );
% Disabling partial detections as present toolbox deals only with full grid
% detections
[CurCheckerCorners,CheckBoardSize] = detectCheckerboardPoints( CurImg, 'PartialDetections', false );
warning('off','vision:calibrate:boardShouldBeAsymmetric'); % display once (at most)

% Matlab's detectCheckerboardPoints sometimes expresses the grid in different orders, especially for
Expand Down
2 changes: 1 addition & 1 deletion SupportFunctions/LFToolboxVersion.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
% Copyright (c) 2013-2020 Donald G. Dansereau

function VersionStr = LFToolboxVersion
VersionStr = 'v0.5.2';
VersionStr = 'v0.5.3';

0 comments on commit 347b5ee

Please sign in to comment.