You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this possible, or is there at least a way to achieve this with a workaround, many other professional dicom viewers allow images with different orientation in the same serie. However, the component has an explicit check and throws an error for other orientations.
appendSlice(rhs){// check inputif(rhs===null){thrownewError('Cannot append null slice');}constrhsSize=rhs.getGeometry().getSize();letsize=this.#geometry.getSize();if(rhsSize.get(2)!==1){thrownewError('Cannot append more than one slice');}if(size.get(0)!==rhsSize.get(0)){thrownewError('Cannot append a slice with different number of columns');}if(size.get(1)!==rhsSize.get(1)){thrownewError('Cannot append a slice with different number of rows');}if(!this.#geometry.getOrientation().equals(rhs.getGeometry().getOrientation(),0.0001)){thrownewError('Cannot append a slice with different orientation');}
The text was updated successfully, but these errors were encountered:
ivmartel
changed the title
allow adding slices with different orientation in the same serie
Allow adding slices with different orientation in the same serie
Dec 22, 2023
I need to think about this one because if the check is removed, the created data is not a real '3D' image. Some functionalities then need to be disabled (for example MPR).
I understand, but especially for LOCALIZER images, where reference lines are drawn, here are usually images with different orientations, from different views, in the same serie. I have just looked at a professional dicom viewer today, and this was possible. Perhaps at least a way to allow it with a flag, if required, by the user. It could be set to false default. If set the true, the 3d functionalities can be disabled
Is this possible, or is there at least a way to achieve this with a workaround, many other professional dicom viewers allow images with different orientation in the same serie. However, the component has an explicit check and throws an error for other orientations.
The text was updated successfully, but these errors were encountered: