Giter Club home page Giter Club logo

Comments (2)

salimkanoun avatar salimkanoun commented on September 25, 2024

Pour la lecture des CSV il faut reperer la ligne qui a pour 1ere colonne un texte qui commence par "Number of ROIs = "
apres cette ligne chaque ligne chaque ligne correspond à une ROI,
La 1ere colonne est un nom on ignore pour l'instant
la 2eme colonne est le type 1= polygone 11=elipse et "num point" un array de pixel (cf ci dessus)
ensuite on parse poour chaque lignes les coordonénes
les 3 et 4 eme colonne correspondent au numero de coupes sur lesquelle la ROI doit etre propagée (ex coupes 85 à 134 le motif 2D sera repetés sur toutes ces coupes)
la 5eme colonne num point correpond au nombre d'arretes, pour les polygone c'est variable suivant le nombre d'arrete dessinée par l'utilisateur, pour les elipse c'est toujours 3 (centre, extremité nord => hauteeur, extremité est=> largeur)

from dicom-to-cnn.

salimkanoun avatar salimkanoun commented on September 25, 2024

Pour lire un csv en python
https://docs.python.org/fr/3/library/csv.html

from dicom-to-cnn.

Related Issues (17)

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.