Giter Site home page Giter Site logo

Comments (5)

vessemer avatar vessemer commented on July 21, 2024

I'm a bit confused: how we are going to calculate the real volume of an area while the function does not receive the CT meta data. Also, can you please clarify how the output from the predict method will be serialised? And last: is it necessary to provide the centroids, since all centroids may be re-estimated via the connected components analysis?

from concept-to-clinic.

reubano avatar reubano commented on July 21, 2024

Hi @vessemer

I'm a bit confused: how we are going to calculate the real volume of an area while the function does not receive the CT meta data.

Good point! I think one way to approach this is to create a new function that outputs metadata, and then pass in that metadata as a third argument. I see you've assumed something similar in your PR via voxel_shape.

Also, can you please clarify how the output from the predict method will be serialised?

That will be up to whoever implements the predict function. I see you have assumed npy files. That should be perfectly fine as a stub for now. In the event a different serialization method is chosen, it shouldn't be too difficult to make the appropriate updates.

And last: is it necessary to provide the centroids, since all centroids may be re-estimated via the connected components analysis?

It is the job of algorithms.identify.trained_model.predict to calculate centroids. And it is this centroids argument that is passed to algorithms.segment.trained_model.predict. segment.trained_model.predict in turn calls segment.trained_model.calculate_volume. While it would be possible for calculate_volume to take dicom_path as an argument, and then calculate centriods on it's own, we prefer to uncouple those steps and have a canonical function dedicated to that task.

from concept-to-clinic.

vessemer avatar vessemer commented on July 21, 2024

@reubano, thanks for making it clear. I guess I've considered all your proposition, by this commit.
Is there something else I need take into account?

from concept-to-clinic.

reubano avatar reubano commented on July 21, 2024

Hi @vessemer, see #78 (comment).

from concept-to-clinic.

reubano avatar reubano commented on July 21, 2024

Closed via #78

from concept-to-clinic.

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.