Skip to content

Fouga/StitchIt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StitchIt with CIDRE or BaSiC

This is a fork of the main stream poject StitchIt. Here, we integrate CIDRE and BaSiC illumination correction algorithm into the image illumination correction pipeline. In odder to use the CIDRE correction you need to add CIDRE fork to the matlab path as it is shown in the example.

Motivation

Nonlinear illumination of an image is a common artifact of any microscope. This artifact is particularly noticable in a tile acquasition system such as Ragan et al. To adjust image brightness of each tile, one can calculte an average image of the acquired stack. Although this technique works very well on images with ample intensity information, on images with sparce signal more robust solution is required.

Example

source_dir = '/DATA_NAME/'; % here you need to have rawData directory with all your data and a Mosaic.txt

addpath(genpath('FULL_PATH/StitchIt/code/')); % add path of the StitchIt(https://github.com/BaselLaserMouse/StitchIt).

addpath(genpath('FULL_PATH/cidre/')); % add path of the CIDRE(https://github.com/Fouga/cidre) 

cd (source_dir);

% maKE INI FILE
if ~exist('stitchitConf.ini')
	makeLocalStitchItConf
end

% read info from Mosaic.txt 
M=readMetaData2Stitchit;

%check for and fix missing tiles if this was a TissueCyte acquisition
if strcmp(M.System.type,'TissueCyte')
    writeBlacktile = 0;
    missingTiles=identifyMissingTilesInDir('rawData',0,0,[],writeBlacktile);
else
    missingTiles = -1;
end

% correct background illumination with cidre
alternativeIlluminationCorrection


% stitch all the data
stitchAllChannels

About

Stitching of large tiled datasets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 99.0%
  • Other 1.0%