Comments (5)
I'm not sure what you mean. Both original .csv files are opened in 'read' mode. Then the new file is written with a different name: ProstateX-Images-Train-NEW.csv
Maybe I'm missing something...
from prostatex.
That is what the description in csv_fix.py says. Then I read the code...
from prostatex.
Can you give an example of how the data loading works?
For example I want:
X,y with X being the 2d tumor slices, and y the label.
from prostatex.
If you mean a cutout of the lesion from a particular slice, there is no functionality for it as of yet. You could however create a query object like the example code in h5 query.py. Let's say for all the ADC series. That will give you a subset of the data containing just the full dicom images and the lesion information.
The print result function in h5_query shows how to traverse this subset. At the very end it extracts one lesion attribute named 'ijk'. To get the label for that lesion, the attribute name should be changed to 'ClinSig' . If you want to access the raw dicom pixel data, it would look something like result[patient_id][dcm_series name]['pixel_array'][:]
from prostatex.
works great!
from prostatex.
Related Issues (20)
- Other team edits HOT 3
- Python2 or Python3 HOT 2
- Spy on the other team
- Initial convnet not learning anything HOT 4
- Intermediate results presentation HOT 4
- Lesion visualization and understanding data better
- Submit results HOT 1
- Augmentation of Data HOT 2
- Make table of cases in training data: Zone and Clinical Significance HOT 3
- Patient-Level Train Validation Split HOT 2
- Create .hdf5 file for the test set HOT 2
- Add random seed for the train test split
- Utilize K-trans HOT 8
- Experiment with the network
- find out how to make lesion images isotropic HOT 4
- How to handle multiple similar DICOM series per patient? HOT 4
- Check voxel sizes of test set HOT 1
- Delete branches HOT 3
- Experimental results consultation HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prostatex.