Mercurial > hg > orthanc
diff OrthancServer/ParsedDicomFile.cpp @ 1950:533ff46e944b
return a single raw frame from DICOM videos
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 05 Apr 2016 11:07:02 +0200 |
parents | 40b7a0176305 |
children | fc16ee04e71b |
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.cpp Tue Apr 05 10:30:17 2016 +0200 +++ b/OrthancServer/ParsedDicomFile.cpp Tue Apr 05 11:07:02 2016 +0200 @@ -1261,4 +1261,10 @@ { pimpl_->frameIndex_.reset(NULL); } + + + unsigned int ParsedDicomFile::GetFramesCount() const + { + return DicomFrameIndex::GetFramesCount(*pimpl_->file_->getDataset()); + } }