Fixing rebase issue: restoring getImagePlane behaviour...
This commit is contained in:
parent
75e027fee5
commit
2ed38cf6e7
@ -135,8 +135,7 @@ const updateMetaData = image => {
|
|||||||
* @param metadataInstance The metadata instance (InstanceMetadata class) containing information to construct imagePlane
|
* @param metadataInstance The metadata instance (InstanceMetadata class) containing information to construct imagePlane
|
||||||
* @returns imagePlane The constructed imagePlane to be used in viewer easily
|
* @returns imagePlane The constructed imagePlane to be used in viewer easily
|
||||||
*/
|
*/
|
||||||
function getImagePlane(metadataInstance) {
|
function getImagePlane(instance) {
|
||||||
const instance = metadataInstance.getData();
|
|
||||||
if (!instance.rows || !instance.columns || !instance.pixelSpacing ||
|
if (!instance.rows || !instance.columns || !instance.pixelSpacing ||
|
||||||
!instance.frameOfReferenceUID || !instance.imageOrientationPatient ||
|
!instance.frameOfReferenceUID || !instance.imageOrientationPatient ||
|
||||||
!instance.imagePositionPatient) {
|
!instance.imagePositionPatient) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user