Git Product home page Git Product logo

Comments (4)

mathiasgaede avatar mathiasgaede commented on August 25, 2024 2

A small update from my side:

I ended up converting all POINT and OPEN_PLANAR structures into CLOSED_PLANAR by expanding the number of triplets using the corresponding image serie dimensions to determine the new triplet positions, as this resultet in a better workflow for our physicians.
The reason for this, is that our delineation software has more tools available for CLOSED_PLANAR structures, whereas POINT structures had to be replaced by new delineations in order to adjust the size.

I'm not sure how common this is for other image software, but this approach will work when POINT and OPEN_PLANAR are not supported.

from rt-utils.

awtkns avatar awtkns commented on August 25, 2024 1

Hi @mathiasgaede, thanks for the feedback.

I would love to help you guys expand your toolbox a little instead.

That would be awesome, we always are happy help new contributors.

Regarding what your are saying with the contours, what would be an ideal fix? We can change between OPEN_PLANAR / CLOSED_PLANAR based on the number of points. We can also provided an interface so that users can enable POINT's instead of
OPEN_PLANAR,

from rt-utils.

mathiasgaede avatar mathiasgaede commented on August 25, 2024

A quick and dirty fix would just be to use the NumberOfContourPoints value to set the geometric type:

1 = POINT
2 = OPEN_PLANAR
3 <= CLOSED_PLANAR

For this part, i don't think you need any user input, as you just need the model output to be successfully transferred to the image software without information loss. The trouble here is with the OPEN_PLANAR part not always being supported, which i will test a few methods for this week. I'm working with Syngo.via from Siemens and Mirada XD from Mirada Medical, but i can also check stuff in Slicer3D, if that is the program you are using.

For OPEN_NONPLANAR and CLOSEDPLANAR_XOR i do think you need some kind of user decision to implement them properly, but I'm not familiar enough with your toolbox to suggest a way to implement it yet.

To handle empty spaces inside contours, such as dead areas inside a tumour, i currently just inverse the binary mask, discard the largest connected component and give the other components the CLOSEDPLANAR_XOR type. This function has to be manually activated, as it is not a situation that can happen for most image series i work with. I'm sure that there are smarter ways to implement this.

I have no personal experience with usage of OPEN_NONPLANAR and i have not yet had a use case for this.

Link to Dicom standard for geometric types:
http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.8.8.6.html#sect_C.8.8.6.1

from rt-utils.

awtkns avatar awtkns commented on August 25, 2024

@mathiasgaede thanks for the detailed response. We are hoping to publish the changes for this sometime over the next week.

from rt-utils.

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.