pelkmanslab / iBRAINShared

A library of shared mostly MATLAB code used by canonical iBRAIN.
0 stars 0 forks source link

Add ill corr to heuristics #14

Closed tstoeger closed 8 years ago

tstoeger commented 9 years ago

Add illumination correction to heuristics, which will ultimately determine displayed range.

net result on a plate, where I tested this small update: x images look much better and show dynamic range and thus more information x total processing speed dropped from slightly over 2h to slightly less than 1h

In contrast to original create_jpg:

Downsample images for heuristics, since otherwise processing would be very slow (applying illcorr on hundreds/thousands of full resolution images) (note: I did same downsampling as for years within functions for obtaining spot detection parameters without any loss of output quality)

Side effect: slowest computational operation of create_jpg(_illumination_corrected) (quantile during heuristics) will be much faster.