Giter Club home page Giter Club logo

spinenet's People

Contributors

rwindsor1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

mariamonzon

spinenet's Issues

The inderence only works with isometric pixel spacing

In the tutorial page thre is an example of NIFTI predictions whre the pixel spacing is
sx, sy, sz = image.header.get_zooms() # get pixel spacings

However when calling the detection function is specified as
vert_dicts = spnt.detect_vb(scan.volume, scan.pixel_spacing[0])

In the case tat would like to use the both pixel spacing the function detect_vb throus an error, despite in teh definition in theory allow .
def detect_vb(
self,
volume : np.ndarray,
pixel_spacing : Union[np.ndarray, List[float], torch.Tensor],
debug: bool = False,
penalise_skips: bool = True,
remove_single_slice_detections: bool = True,
) -> VertDicts:
"""
Use SpineNet to detect and label vertebral bodies in a volume.

    Parameters
    ----------
    volume : np.ndarray
        The volume to detect vertebrae in. Should have shape (height,width, number of sagittal slices).
    pixel_spacing : Union[np.ndarray, List[float], torch.Tensor]
        The pixel spacing of the volume, specifically the distance between adjacent pixels in the sagittal direction.
        This has order height, width

Update gen_utils for numpy compatibility

Numpy np.bool is deprecated since v1.20 I would suggest that you upload the file spinet/utils/gen_utils poky2
line 370 mask = np.zeros(shape, dtype=np.bool_)
I can create a merge request with the cahnge if you would like

Experiencing issues with data from the spinegeneric dataset

Hi, I am currently testing SpinenetV2 on the spinegeneric dataset and I am experiencing labeling issues and missed detections for T2w images, as displayed on the following images:

Could you explain me what is wrong with those images ? And how they are different from the training dataset used for SpinenetV2 ? Because according to your Readme.md T2w contrasts should be handled.

Information about the training scripts

Hi, I'm currently doing a benchmark of methods to detect vertebral discs (or vertebral bodies) on MRI scans and I truly believe that your method is interesting and could be part of this benchmark. Therefore, I would like to know if it was possible to have access to your training scripts in order to qualitatively compare this method with other deep learning based methods.

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.