mirror of
https://github.com/opencv/opencv.git
synced 2026-12-04 05:57:10 -06:00
* core: add insertChannel and extractChannel test for all depths insertChannel had no CPU test that checks its values, and extractChannel was only checked on CV_8UC3. Add a test for every depth with 2 to 4 channels: inserting into one channel must leave the others unchanged, and extractChannel must return the inserted channel. * core: use CV_DEPTH_CURR_MAX in insertChannel test Cover every depth with a range instead of listing them by hand, so new depths are tested automatically.