Closed ClementCaporal closed 1 year ago
Hi @ClementCaporal ,
thanks for the report! I think you are right, I have the suspion that the code should be indeed cle.create([resampled.shape[1], resampled.shape[2]])
. But I'm not sure why my result looks different than yours. I just ran the notebook (with the code as it was) and my result looks like this:
Why do your input images have a different size?
Thanks!
Best, Robert
Ok, I'm guessing you applied it to the original dataset.
I just updated the notebook. If you find another issue of that kind, please let me know!
Thanks for your feedback! :-)
Hello, thank you for your work.
In case it is useful to report this, I cannot reproduce https://github.com/clEsperanto/pyclesperanto_prototype/blob/master/demo/segmentation/Segmentation_3D.ipynb under "Intensity and background correction" without the x,y slice being cropped.
Solved by
a_slice = cle.create([resampled.shape[1], resampled.shape[0]])
->a_slice = cle.create([resampled.shape[1], resampled.shape[2]])