Skip to content

Commit

Permalink
Fix function names
Browse files Browse the repository at this point in the history
  • Loading branch information
lmendo committed Sep 22, 2022
1 parent a7e1650 commit 7d24ee2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compatibility/bwlabeln_comp.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function varargout = bwlabeln_comp(varargin)
function varargout = bwlabeln(varargin)
% bwlabeln(1), bwlabeln(8), bwlabeln(true) give an error on TIO. This patches that
if numel(varargin{1})==1 && varargin{1} % patch
varargout{1} = 1;
Expand Down
2 changes: 1 addition & 1 deletion compatibility/bwselect_comp.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function BW2 = bwselect_comp(BW1, C, R, N)
function BW2 = bwselect(BW1, C, R, N)
% bwselect in some versions of Octave's Image Package (for example 2.12.0) gives different results
% from those in Matlab. This fixes that. The approach used here is: find the connected components
% and select those that contain any of the input pixels
Expand Down

0 comments on commit 7d24ee2

Please sign in to comment.