CSBDeep / CSBDeep_fiji

BSD 2-Clause "Simplified" License
11 stars 4 forks source link

Bug when running networks on image crops #32

Open maweigert opened 4 years ago

maweigert commented 4 years ago

Hi,

Applying a network on an image crop after it was already applied on the full image currently yields the network result for the full image, which is rather strange.

Steps to reproduce (using the shipped deconv network on blobs)

run("Blobs (25K)");
run("Deconvolution - Microtubules", "input=blobs.gif ntiles=1 batchsize=10 showprogressdialog=true");
selectWindow("blobs.gif");
makeRectangle(93, 55, 82, 84);
run("Crop");
run("Deconvolution - Microtubules", "input=blobs.gif ntiles=1 batchsize=10 showprogressdialog=true");

System: OSX 10.14.6, csbdeep-0.5.0

maweigert commented 4 years ago

btw, everything is normal if the crop is duplicated in between the network applications, so it might be an issue of imagej only keeping a view when cropping...