Creating ohif:metadata package with metadata classes and adding it to the viewers

This commit is contained in:
Eloízio Salgado authored and Emanuel F. Oliveira committed 2017-01-29 22:11:17 -02:00
1 parent 30a50c7ade
commit 660b828f4b
24 files changed
+242 -28

No files matched your search

@@ -30,10 +30,10 @@ function createAndAddStack(stackMap, study, displaySet) {
imageIndex: imageIndex + 1
};
const numFrames = image.numFrames;
if (numFrames > 1) {
const numberOfFrames = image.numberOfFrames;
if (numberOfFrames > 1) {
OHIF.log.info('Multiframe image detected');
for (let i = 0; i < numFrames; i++) {
for (let i = 0; i < numberOfFrames; i++) {
metaData.frame = i;
imageId = getImageId(image, i);
imageIds.push(imageId);