Skip to content

Commit 55c7df2

Browse files
committed
Merge branch 'dev' into magaox
2 parents 57cab2e + 798e9d4 commit 55c7df2

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

include/improc/milkImage.hpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,12 @@ class milkImage
402402
* \throws if the image is not opened
403403
*/
404404
void post();
405+
406+
/// Get the value of cnt0 (the frame counter)
407+
/**
408+
* \returns the current value of cnt0
409+
*/
410+
uint64_t cnt0();
405411
};
406412

407413
template <typename dataT>
@@ -785,6 +791,12 @@ void milkImage<dataT>::post()
785791
}
786792
}
787793

794+
template <typename dataT>
795+
uint64_t milkImage<dataT>::cnt0()
796+
{
797+
return m_image->md->cnt0;
798+
}
799+
788800
} // namespace improc
789801
} // namespace mx
790802

0 commit comments

Comments
 (0)