Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
mibCrossShiftStacks.m File Reference

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

Functions

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

Detailed Description

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

Function Documentation

◆ mibCrossShiftStacks()

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

[imgOut, bbShiftXY] = mibCrossShiftStacks(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:

References max.

Referenced by mibAlignmentController.continueBtn_Callback().

Here is the caller graph for this function: