Git Product home page Git Product logo

Comments (8)

sedghi avatar sedghi commented on July 18, 2024

Hmm, I looked into your data and as it appears it is oblique in plane, I don't think there is anything wrong with Cornerstone Axial, Sagittal, Coronal planes, and since in your last video you cross producted the vectors you can see the reformated view

image

from cornerstone3d.

LittleURF avatar LittleURF commented on July 18, 2024

In that case, what should one do to achieve the proper oblique orientation?
Meaning, the one that's shown when the example data is opened in fe. the ohif viewer https://v3-demo.ohif.org/local.
(the difference compared to my last video in the initial comment is: left = right)

ohif

from cornerstone3d.

sedghi avatar sedghi commented on July 18, 2024

OHIF is using the same Cornerstone3D engine, you can try drag and dropping here. So is the problem you are having the camera orientation or the left and right? I'm confused

from cornerstone3d.

LittleURF avatar LittleURF commented on July 18, 2024

Well in the end my problem for this example is the left and right, but I believe it's caused by the orientation. With different Dicoms I'm having different camera problems(other than left=right), so I'm not looking only for a 'left=right' solution, but generally for a 'how should the volume/viewport be prepared so that I can view the Dicoms how other viewers do it'.

I've earlier tried the DICOMs with the cornerstone uploader you linked, but it renders a stack instead of a volume, and in that case the problem doesn't appear. I suppose that could be a thing to investigate

from cornerstone3d.

sedghi avatar sedghi commented on July 18, 2024

Hmmm, so our volume camera is different than our stack camera, which is interesting to know. Just before I look deeper into this, can you check other dataset you have (not just this Knee MRI), to see if that is persistent bug?

'how should the volume/viewport be prepared so that I can view the Dicoms how other viewers do it'.

I guess if there is a bug, then we need to fix it, but generally you need to get the camera from the viewport viewport.getActiveCamera (I guess) and manipulate its parameters there. (You can flip there)

from cornerstone3d.

LittleURF avatar LittleURF commented on July 18, 2024

Sure, I've previously tested quite a few Dicom series, and for now every serie with unusual ImageOrientation metadata is wrong.
Examples:
1
2

from cornerstone3d.

LittleURF avatar LittleURF commented on July 18, 2024

Are there any updates on this matter?

from cornerstone3d.

sedghi avatar sedghi commented on July 18, 2024

Hey, I was thinking have you tried setting the orthogonal viewup and slice normal similar to this? The volumeViewport support any arbitrary orientation

from cornerstone3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.