-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from davehoadley/R2024b
R2024b support
- Loading branch information
Showing
22 changed files
with
210 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
# List of untracked files to ignore | ||
derived/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
UnitTestFolder/DeepLearningToolbox/instrumentedImageDataAugmenter.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
classdef instrumentedImageDataAugmenter < imageDataAugmenter | ||
% imageDataAugmenter subclass which provides access to intermediate | ||
% transform values for testing. | ||
|
||
% Copyright 2024 The MathWorks, Inc. | ||
|
||
methods | ||
function obj = instrumentedImageDataAugmenter(varargin) | ||
obj@imageDataAugmenter(varargin{:}); | ||
end | ||
|
||
function T = getAffineTransform(obj, varargin) | ||
%getAffineTransform Return the affine transform matrix | ||
% | ||
% getAffineTransform(obj) returns the full 3x3 matrix that the | ||
% imageDataAugmenter used for the most recent augment() call. | ||
% | ||
% getAffineTransform(obj, rowidx, colidx, pageidx) indexes the above | ||
% matrix and returns only the requested elements. | ||
|
||
T = obj.AffineTransforms; | ||
if nargin>1 | ||
T = T(varargin{:}); | ||
end | ||
end | ||
end | ||
end |
2 changes: 1 addition & 1 deletion
2
UnitTestFolder/ImageProcessingToolbox/ImageProcessingTest/regionpropsResults.mat
Git LFS file not shown
2 changes: 1 addition & 1 deletion
2
UnitTestFolder/ImageProcessingToolbox/ImageProcessingTest/strelResults.mat
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.