Closed DenizD closed 3 years ago
Error actually occurs in the rank_core
function in ClearMap/ImageProcessing/Filter/Rank/RankCoreCode.pyx
file during memory allocation and free operations
I am closing this issue since it was my mistake of using wrong "max_bin" parameter
Hello all,
I am using
LightsheetCorrection
functionality inClearMap.ImageProcessing
module. However, when I run thecorrect_lightsheet
function foruint16 array
type I am getting an error.The function I use:
result = ls.correct_lightsheet(source=img, lightsheet_vs_background=0.5, max_bin=2 ** 10)
where my
source array (img)
has a shape of(5612, 3876, 6)
withuint16
type. I do not get this error when I convert mysource array (img)
touint8
typeError is:
Thank you Best Regards Deniz