-
Notifications
You must be signed in to change notification settings - Fork 788
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
RawImage.split()
function to split images into channels; Improv…
…ed documentation and tests (#978) * Add tests for original slice method. * Add vslice and tests to retrieve the entire length of a column. * Add a test for slicing every other column. * Add method to return each channel as a separate array. * Add documentation. Fix TypeScript error for unsure type. * Remove vslice as it doesn't work as it should. Update documentation. Update tests. * Optimize `RawImage.split()` function * Use dummy test image * Update tensor unit tests * Wrap `.split()` result in `RawImage` * Update JSDoc * Update JSDoc * Update comments --------- Co-authored-by: Joshua Lochner <[email protected]>
- Loading branch information
1 parent
1768b8b
commit 8896dc7
Showing
4 changed files
with
113 additions
and
1 deletion.
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
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