![]() |
Microscopy Image Browser
1.00
|
align 2 stacks together [img shiftsXY] = ib_alignstacks(S1, S2, options, shiftsXY) OUT: img -> aligned image stacks shiftsXY -> shift coefficients IN: S1 and S2 -> two stacks, that have (height x width x color x layers) or (height x width x layers) format options -> optional options.centerX -> center of the search window options.centerY -> center of the search window options.templateWidth -> half-width of the searching window options.backgroundColor -> background color: black
, white
, mean
, or a value options.colorCh -> color channel options.method -> method: cc
- the normalized cross correlation sq
- the normalized sum of squared difference xcMatlab
- beta of using matlab normxcorr2 options.gradientSw = 1 or 0, use gradient image or the original intensity image shiftsXY -> optional, when provided the function generates aligned stack using this provided coordinates of shifts
More...
Functions | |
function [
img , shiftsXY ] = | ib_alignstacks (S1, S2, options, shiftsXY) |
align 2 stacks together [img shiftsXY] = ib_alignstacks(S1, S2, options, shiftsXY) OUT: img -> aligned image stacks shiftsXY -> shift coefficients IN: S1 and S2 -> two stacks, that have (height x width x color x layers) or (height x width x layers) format options -> optional options.centerX -> center of the search window options.centerY -> center of the search window options.templateWidth -> half-width of the searching window options.backgroundColor -> background color: black , white , mean , or a value options.colorCh -> color channel options.method -> method: cc - the normalized cross correlation sq - the normalized sum of squared difference xcMatlab - beta of using matlab normxcorr2 options.gradientSw = 1 or 0, use gradient image or the original intensity image shiftsXY -> optional, when provided the function generates aligned stack using this provided coordinates of shifts More... | |
align 2 stacks together [img shiftsXY] = ib_alignstacks(S1, S2, options, shiftsXY) OUT: img -> aligned image stacks shiftsXY -> shift coefficients IN: S1 and S2 -> two stacks, that have (height x width x color x layers) or (height x width x layers) format options -> optional options.centerX -> center of the search window options.centerY -> center of the search window options.templateWidth -> half-width of the searching window options.backgroundColor -> background color: black
, white
, mean
, or a value options.colorCh -> color channel options.method -> method: cc
- the normalized cross correlation sq
- the normalized sum of squared difference xcMatlab
- beta of using matlab normxcorr2 options.gradientSw = 1 or 0, use gradient image or the original intensity image shiftsXY -> optional, when provided the function generates aligned stack using this provided coordinates of shifts
function [ img , shiftsXY ] = ib_alignstacks | ( | S1, | |
S2, | |||
options, | |||
shiftsXY | |||
) |
align 2 stacks together [img shiftsXY] = ib_alignstacks(S1, S2, options, shiftsXY) OUT: img -> aligned image stacks shiftsXY -> shift coefficients IN: S1 and S2 -> two stacks, that have (height x width x color x layers) or (height x width x layers) format options -> optional options.centerX -> center of the search window options.centerY -> center of the search window options.templateWidth -> half-width of the searching window options.backgroundColor -> background color: black
, white
, mean
, or a value options.colorCh -> color channel options.method -> method: cc
- the normalized cross correlation sq
- the normalized sum of squared difference xcMatlab
- beta of using matlab normxcorr2 options.gradientSw = 1 or 0, use gradient image or the original intensity image shiftsXY -> optional, when provided the function generates aligned stack using this provided coordinates of shifts
References template_matching().
Referenced by alignDatasetsDlg>continueBtn_Callback().