New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regarding preprocessing(for step1) #3
Comments
Yes correct, resize and pad.
…On Jan 12, 2017 6:29 AM, "cjayanth95" ***@***.***> wrote:
Hi,
I am having trouble understanding pre-processing step. I have dicom images
of liver of size 512x512. How do I proceed further?Do I have to resize it
to 388x388 and add symmetrical padding of size 92?
Any help would be appreciated.
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADqENWB-umT1K62U1j91dJlg-Om4i6Jvks5rRaxBgaJpZM4LhXC8>
.
|
This is the image I get after HU windowing, histogram equalisation, resizing and padding. img= dicomread('image'); %pixel values range from -1024 to 1023 Am I missing something? |
Please check the code in the notebook in : https://github.com/IBBM/Cascaded-FCN/blob/master/notebooks/cascaded_unet_inference.ipynb you can find the preprocessing function named "step1_preprocess_img_slice". |
Please look at the prediction at the end. We are getting a blank image. https://github.com/cjayanth95/liverseg/blob/master/custom_outs.ipynb |
Did you successfully run our notebook with outputs that make sense ? |
Actually this is the output we got when we used the data from http://www.ircad.fr/softwares/3Dircadb/3Dircadb1/ . We tried different patients data but our predictions were way off from Ground truth. We are getting blobs in place of the liver. These blobs change when we adjust the prediction probability, but we are unable to predict the whole liver correctly. Would you be able to tell where we can possibly go wrong? |
We used BVLC Caffe but not the caffe that you mentioned( https://github.com/mohamed-ezz/caffe/tree/jonlong ). Will that make any difference? |
I'd recommend you just run the notebook "as is" and install the mentioned dependencies exactly. Otherwise many things can be wrong and it's difficult to help you. There's a reason of course to use the mentioned branch ( https://github.com/mohamed-ezz/caffe/tree/jonlong ). The latest caffe version has a different crop layer that does not do center crops by default, so if you want to use it you have to specify an |
Thanks for the prompt replies. We were able to reproduce the results after specifying the offset for each crop layer. |
Hi, Thanks. |
You can diff the 2 prototxts and check.
In the notebook you are loading the ground truth (lbl) from a different CT
image so they dont match.
The prediction looks ok. I expect those false positives to be removed by
the 3D CRF.
…On Jan 17, 2017 8:27 PM, "cjayanth95" ***@***.***> wrote:
Hi,
Are step1 and step2 supposed to have the same prototxt files?
Also is pred2, the prediction for liver lesions? If so, can you take a
look at pred2 in our output at the end of step2? Is the output right?
https://github.com/cjayanth95/liverseg/blob/master/for_me_legion.ipynb
Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADqENetiVpOBcUL9ORGHXaFqdLJ7LEk2ks5rTQgDgaJpZM4LhXC8>
.
|
Could you please provide an example of the following fix--
|
Here is my updated crop layers (step 1 model) which appeared to work under Cafe 1.0.0 (AWS Python 3 configured) layer { type: "Crop" offset = (current blob size - desired blob size) / 2I am down to just the following warning which I hope are related to training and not inference: |
hello boss can I get a matlabcode for applying a hu windowing and histogram equalisation on a CT image |
You must following the preprocessing exactly as the model was trained. |
thank u for u response
i want a code in MATLAB and i don't know anything about PYTHON
so please help me in this regard
…On Wed, May 12, 2021 at 5:09 AM keesh0 ***@***.***> wrote:
You must following the preprocessing exactly as the model was trained.
Got very good results even for different CT phase images.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOFOF35CESVLMDMF27Q6UGDTNG5ZRANCNFSM4C4FOC6A>
.
--
Thanks&Regards
R V Manjunath
Asst Professor
ECE Dept
DSATM
Bangalore-82
Mob 8095465146
|
Sorry, you would need to translate from Python to Matlab line by line. |
okay thank you
…On Thu, May 13, 2021 at 5:33 PM keesh0 ***@***.***> wrote:
Sorry, you would need to translate from Python to Matlab line by line.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOFOF37SJLNWN736QI53TNDTNO5ZRANCNFSM4C4FOC6A>
.
--
Thanks&Regards
R V Manjunath
Asst Professor
ECE Dept
DSATM
Bangalore-82
Mob 8095465146
|
Hi,
I am having trouble understanding pre-processing step. I have dicom images of liver of size 512x512. How do I proceed further?Do I have to resize it to 388x388 and add symmetrical padding of size 92?
Any help would be appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: