Hosuk:LabNotes/2014-7-20: Difference between revisions

From ZhangLabWiki
Jump to navigation Jump to search
>Hosuki78
(Created page with "*LabNote ===Deconvolution and PSF images - Update=== ====PSF Functions==== *Generated by '''PSF Generator''' plug-in **Settings [[File:PSFGeneratorSettin...")
 
>Hosuki78
No edit summary
Line 15: Line 15:


====Procedure for PISA====
====Procedure for PISA====
*Pre-processing before an actual identification algorithm
*#img_raw = imread(ImgFileName);
*#img_raw = imread(ImgFileName);
*#img_double1 = mat2gray(img_raw);
*#img_double1 = mat2gray(img_raw);

Revision as of 23:50, 20 July 2014

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…