mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
Merge pull request #18261 from OrestChura:oc/fluid_convert_mask
[G-API]: Fluid: add mask, extend convertTo for CV_16S * Add Fluid `mask` kernel + Acc. and Perf. tests - simple cycle implementation with restrictions on mask type and input/output type like in OCV/GPU kernels (mask - CV_8UC1 only, input/output - CV_8UC1, CV_16UC1, CV_16SC1) * Added convertions from/to 16S * `convertTo()` perf tests refactoring - add testing of `alpha` and `beta` parameters - fixed unreliable comparison - added instances to OCV, Fluid and GPU tests according to the changes * Addressing comments - fixed multiple-channel mistake - prohibited multiple-channeling * Reduced perf tests
This commit is contained in:
@@ -267,9 +267,12 @@ INSTANTIATE_TEST_CASE_P(LUTPerfTestCustomGPU, LUTPerfTest,
|
||||
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(ConvertToPerfTestGPU, ConvertToPerfTest,
|
||||
Combine(Values(CV_8UC3, CV_8UC1, CV_16UC1, CV_32FC1),
|
||||
Combine(Values(AbsExact().to_compare_f()),
|
||||
Values(CV_8UC3, CV_8UC1, CV_16UC1, CV_32FC1),
|
||||
Values(CV_8U, CV_16U, CV_16S, CV_32F),
|
||||
Values( szSmall128, szVGA, sz720p, sz1080p ),
|
||||
Values(2.5, 1.0),
|
||||
Values(0.0),
|
||||
Values(cv::compile_args(CORE_GPU))));
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(ResizePerfTestGPU, ResizePerfTest,
|
||||
|
||||
Reference in New Issue
Block a user