Microscopy Image Browser  1.233
All Classes Files Functions Variables Pages
mib_crossShiftStacks.m File Reference

[imgOut, bbShiftXY] = mib_crossShiftStacks(I1, I2, shiftX, shiftY) Shift I2 vs I1 using translation numbers in shiftX and shiftY More...

Functions

function [ imgOut ,

bbShiftXY ] = 
mib_crossShiftStacks (I1, I2, shiftX, shiftY, options)
 [imgOut, bbShiftXY] = mib_crossShiftStacks(I1, I2, shiftX, shiftY) Shift I2 vs I1 using translation numbers in shiftX and shiftY More...
 

Detailed Description

[imgOut, bbShiftXY] = mib_crossShiftStacks(I1, I2, shiftX, shiftY) Shift I2 vs I1 using translation numbers in shiftX and shiftY

Function Documentation

function [ imgOut , bbShiftXY ] = mib_crossShiftStacks (   I1,
  I2,
  shiftX,
  shiftY,
  options 
)

[imgOut, bbShiftXY] = mib_crossShiftStacks(I1, I2, shiftX, shiftY) Shift I2 vs I1 using translation numbers in shiftX and shiftY

Parameters
I1a reference stack: [1:height, 1:width, 1:color, 1:depth]
I2a second stack to shift over I2: [1:height, 1:width, 1:color, 1:depth]
shiftXa value for the X-shift
shiftYa value for the Y-shift
optionsan optional structure with options
  • .backgroundColor -> background color: black, white, mean, or a number
  • .waitbar -> [optional] a handle to existing waitbar
  • .modelSwitch -> 1-defines that dataset has 3 dimensions [H,W,Z], or when 0 - 4 dimensions [H,W,C,Z]
Return values
imgOutaligned stack
bbShiftXYa vector [xMin, yMin] with shift of the reference dataset
Required fields of options:

Referenced by mibDriftAlignDlg>continueBtn_Callback().

Here is the caller graph for this function: