We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 57cab2e + 798e9d4 commit 55c7df2Copy full SHA for 55c7df2
1 file changed
include/improc/milkImage.hpp
@@ -402,6 +402,12 @@ class milkImage
402
* \throws if the image is not opened
403
*/
404
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();
411
};
412
413
template <typename dataT>
@@ -785,6 +791,12 @@ void milkImage<dataT>::post()
785
791
}
786
792
787
793
794
+template <typename dataT>
795
+uint64_t milkImage<dataT>::cnt0()
796
+{
797
+ return m_image->md->cnt0;
798
+}
799
788
800
} // namespace improc
789
801
} // namespace mx
790
802
0 commit comments