mirror of
https://github.com/opencv/opencv.git
synced 2025-06-09 18:43:05 +08:00
Merge pull request #20201 from PolarNick239:3.4
This commit is contained in:
commit
c34445a496
@ -156,6 +156,10 @@ bool ExrDecoder::readHeader()
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_green = channels.findChannel( "Y" );
|
m_green = channels.findChannel( "Y" );
|
||||||
|
if( !m_green )
|
||||||
|
{
|
||||||
|
m_green = channels.findChannel( "Z" ); // Distance of the front of a sample from the viewer
|
||||||
|
}
|
||||||
if( m_green )
|
if( m_green )
|
||||||
{
|
{
|
||||||
m_ischroma = true;
|
m_ischroma = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user