CRBS / cdeep3m

Please go to https://github.com/CRBS/cdeep3m2 for most recent version
Other
58 stars 10 forks source link

Watershed error #61

Closed MatthewBM closed 5 years ago

MatthewBM commented 5 years ago

line 90 in Apply3DWaterhsed.m is: L = watershed(hmtransf(imfilter(ensMod, h), hm3d),6); and should be: L = watershed(hmtransf(imfilter(ensMod, h), hm3d,6),6);

haberlmatt commented 5 years ago

I think this was a difference between the filter function that is implemented in octave, versus the one that is implemented in Matlab Can you check in Octave?

MatthewBM commented 5 years ago

It's the hmtransf function that's in CDeep3M's scripts/functions:

function img = hmtransf(img, t, connectiv)