forked from openvinotoolkit/openvino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RGB to Gray ConvertColor Preprocessor (openvinotoolkit#13855)
* Add RGB to Gray ConvertColor Preprocessor * Revert some changes * Additional updates * Polish RGBToGray implementation Move Conv computations to FP32 and add Round for INT cases * Extend tests - add comparison with OpenCV * ClangFormat * Return commented code * Make `pre_post_process` tests parametrized * Add shape calculation for RGB ColorFormat. Make RGB->GRAY 4D only * Update ov_core_unit_tests * Update ov_template_func_tests * Clang Formatting * Fix python preprocess tests * Fix warning: truncation from 'double' to 'float' of RGB->GRAY weights * Fix flake8 issues * Fix `convert_color_asserts` test * Treat GRAY as NHWC * Resolve review issues with tests * Fix Py preprocess tests after rebase * Clang Format * Add case if C < 0 * Add reference link to RGB coefficients * Add doxygen documentation for ColorFormat enum
- Loading branch information
Showing
9 changed files
with
419 additions
and
50 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
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
Oops, something went wrong.