Microscopy Image Browser  1.00
 All Classes Files Functions Variables Pages
ib_doImageFiltering.m File Reference

Filter image with basic Matlab filters. More...

Functions

function [ img ,

logText ] = 
ib_doImageFiltering (img, options)
 Filter image with basic Matlab filters. More...
 

Detailed Description

Filter image with basic Matlab filters.

Function Documentation

function [ img , logText ] = ib_doImageFiltering (   img,
  options 
)

Filter image with basic Matlab filters.

Parameters
img-> image stack, [1:height, 1:width, 1:color, 1:layers]
options-> a structure with parameters
  • .dataType - type of the dataset, '4D' - [height, width, color, z], '3D' - [height, width, z]
  • .fitType - type of the filter to use: 'Gaussian 3d', 'Gaussian', 'Disk', 'Motion', 'Unsharp','Median 2D','Wiener 2D', 'Average', 'Motion'
  • .colorChannel - color channel to filter, when 0 filter all channels
  • .hSize - size of the Kernel to use
  • .sigma - sigma for the filters (if required)
  • .lambda - lambda for the filters (if required)
  • .pixSize - voxel sizes for 3D gaussian (imageData.pixSize.x imageData.pixSize.y imageData.pixSize.z)
  • .orientation - orientation of the dataset for 2D filters, 1-for XZ, 2 - YZ, 4 - XY
Return values
imgfiltered dataset, [1:height, 1:width, 1:color, 1:no_stacks]
logTextlog text with parameters of the applied filter
Required fields of options:

Referenced by ib_renderVolumeWithFiji(), ib_smoothImage(), and imageFilterDoitBtn_Callback().

Here is the caller graph for this function: