mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Merge pull request #16803 from TolyaTalamanov:at/yuv-to-gray
* Implement NV12toGray * Snapshot * Implement NV12toGray as compound kernel * Update gapi_imgproc_tests_inl.hpp * Remove YUV2Gray from public API
This commit is contained in:
committed by
GitHub
parent
ea34b2fefb
commit
4d3d6230c5
@@ -157,18 +157,26 @@ GMat RGB2Lab(const GMat& src)
|
||||
return imgproc::GRGB2Lab::on(src);
|
||||
}
|
||||
|
||||
GMat BayerGR2RGB(const GMat& src_gr) {
|
||||
GMat BayerGR2RGB(const GMat& src_gr)
|
||||
{
|
||||
return imgproc::GBayerGR2RGB::on(src_gr);
|
||||
}
|
||||
|
||||
GMat RGB2HSV(const GMat& src) {
|
||||
GMat RGB2HSV(const GMat& src)
|
||||
{
|
||||
return imgproc::GRGB2HSV::on(src);
|
||||
}
|
||||
|
||||
GMat RGB2YUV422(const GMat& src) {
|
||||
GMat RGB2YUV422(const GMat& src)
|
||||
{
|
||||
return imgproc::GRGB2YUV422::on(src);
|
||||
}
|
||||
|
||||
GMat NV12toGray(const GMat &y, const GMat &uv)
|
||||
{
|
||||
return imgproc::GNV12toGray::on(y, uv);
|
||||
}
|
||||
|
||||
GMatP NV12toRGBp(const GMat &y, const GMat &uv)
|
||||
{
|
||||
return imgproc::GNV12toRGBp::on(y, uv);
|
||||
|
||||
Reference in New Issue
Block a user