@cornerstonejs/core
Version:
Cornerstone3D Core
8 lines (7 loc) • 343 B
JavaScript
import splitImageIdsBy4DTags from './splitImageIdsBy4DTags.js';
function getDynamicVolumeInfo(imageIds) {
const { imageIdGroups: timePoints, splittingTag } = splitImageIdsBy4DTags(imageIds);
const isDynamicVolume = timePoints.length > 1;
return { isDynamicVolume, timePoints, splittingTag };
}
export default getDynamicVolumeInfo;