1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

add getFrameCount()

This commit is contained in:
Suleyman TURKMEN
2024-07-03 19:55:35 +03:00
parent 53f51275e4
commit cdd8395f68
7 changed files with 11 additions and 21 deletions
+1
View File
@@ -279,6 +279,7 @@ bool TiffDecoder::readHeader()
m_width = wdth;
m_height = hght;
m_frame_count = TIFFNumberOfDirectories(tif);
if (ncn == 3 && photometric == PHOTOMETRIC_LOGLUV)
{
m_type = CV_32FC3;