haesleinhuepf / BioImageAnalysisNotebooks

Python Jupyter notebooks for BioImageAnalysis, GPU-accelerated image processing, bio-image data science and more
https://haesleinhuepf.github.io/BioImageAnalysisNotebooks
BSD 3-Clause "New" or "Revised" License
123 stars 35 forks source link

Slice shape issue on page /20_image_segmentation/Segmentation_3D.html #38

Open ClementCaporal opened 1 year ago

ClementCaporal commented 1 year ago

Hello ,

Thank you for your work. There is always a notebook for what I am looking for!

In this notebook : https://haesleinhuepf.github.io/BioImageAnalysisNotebooks/20_image_segmentation/Segmentation_3D.html In the section intensity and background correction I think the slice should be

a_slice = cle.create([resampled.shape[1], resampled.shape[2]])

image

With the example data the change is not obvious but with less cubic data I think it will crop part of the image