Comments (8)
sitk 2.0.2 should work, the error is caused by the wrong type of input. Please double-check the input lmage_array, and make sure the data type of its source array is int, i.e., input = input.astype(int), before excuting sitk.GetImageFromArray(input).
from ribseg.
sitk 2.0.2 should work, the error is caused by the wrong type of input. Please double-check the input lmage_array, and make sure the data type of its source array is int, i.e., input = input.astype(int), before excuting sitk.GetImageFromArray(input).
HI,i have the same error,the type of its source array is int,how can i solve it?
from ribseg.
Thanks for your interest in our work.
I'm not sure why you may have this error, would you please send me one of your input files and the corresponding code? It's hard for me to debug without more info.
My email: [email protected]
from ribseg.
@1640477469 @wo-sour Fixed. The function sitk.BinaryDilate seems updated, changing the radius parameter from 3 to (3,3,3) should work, you can also try different kernel parameters for better results. Thanks for pointing out the bug.
from ribseg.
@1640477469 @wo-sour Fixed. The function sitk.BinaryDilate seems updated, changing the radius parameter from 3 to (3,3,3) should work, you can also try different kernel parameters for better results. Thanks for pointing out the bug.
Thanks again for your patience! The bug can also be fixed by using sitk 1.2.4.
However, when the rib segmentation is done, the result is not as good as yours: the rib surface is really uneven. I've tried a lot of methods to make the surface smooth, but the result is still not satisfactory. Could you give me some advice?
from ribseg.
from ribseg.
Try combination of morphological operations as the code commented. Repeated open and close operation should yield some nice results. This is a tricky part, a decent dice metric valve does not necessarily mean a visually satisfying result.
Thanks a lot! I'll try my best.
from ribseg.
I want to convert the point cloud data prediction file into a NII file. How can I modify the code? Thank you very much!
from ribseg.
Related Issues (17)
- forward的时候报错,尚未找到原因,大家碰到过吗 HOT 3
- problem with data_prepare.py HOT 1
- train_rigseg.py labels wierds HOT 1
- data_prepare.py seems to be the binary version seg_classes = {'rib':[0,1]} HOT 2
- Why is there a scapula in the result of my segmentation?
- Labels missing for several training images HOT 2
- Dataset problem HOT 1
- How to use this code on ribfrac dataset for five kinds of rib segmentation HOT 8
- About the ribseg dataset HOT 2
- Visualization of prediction results HOT 1
- How to number the ribs HOT 1
- An error occurred while training the model“ModuleNotFoundError: No module named 'models.CLNet'” HOT 3
- issue in inference.py code branch ribsegv1, np.load both data and seg are same? HOT 1
- during training and inference HOT 1
- Label Accuracy is counted by dice threshold HOT 1
- Please tell me how do you achieve the indicators of center line evaluation?
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 ribseg.