Hosuk:LabNotes/2014-7-20

From ZhangLabWiki
Revision as of 23:50, 20 July 2014 by >Hosuki78
Jump to navigation Jump to search

Deconvolution and PSF images - Update

PSF Functions

  • Generated by PSF Generator plug-in
    • Settings

File:PSFGeneratorSettings 2014-07-20.png.png



Procedure for PISA

  • Pre-processing before an actual identification algorithm
    1. img_raw = imread(ImgFileName);
    2. img_double1 = mat2gray(img_raw);
    3. [img_decv, PSF] = deconvblind(img_double1, PSFimg, 10);
    4. img_flt = medfilt2(img_decv, [3 3]);
    5. [xsize, ysize]=size(img_raw);
    6. hi = prctile( double( reshape(img_flt, 1, xsize*ysize) ), 99.9);
    7. img_double = double(img_flt)/hi;


  • Need to test the result between doing medfilt2 or not for 20x 4096x4096
    • medfilt2 (of 20x 4096x4096 image) seems to make more blurred image…