![]() |
Microscopy Image Browser
1.233
|
Calculate black and white bitmap out of the image. More...
Functions | |
| function [
bwimage , image_grid ] = | get_black_white_filter (img, darkthres, automatic, mask, grid_size, grid_coef, orientation, layer_id, thrMatrix) |
| Calculate black and white bitmap out of the image. More... | |
| function [
bwimage , image_grid , th_min ] = | getblackwhitefilter>do_filter (I, mask, Options, exportThrMatrixSw, thresholdImage) |
Calculate black and white bitmap out of the image.
| function [ bwimage , image_grid ] = get_black_white_filter | ( | img, | |
| darkthres, | |||
| automatic, | |||
| mask, | |||
| grid_size, | |||
| grid_coef, | |||
| orientation, | |||
| layer_id, | |||
| thrMatrix | |||
| ) |
Calculate black and white bitmap out of the image.
| img | - input image, img - [1:height,1:width,1:colors,1:stacks] |
| darkthres | - a vector with minimal and maximal levels b/w threshold [minValue, maxValue] |
| automatic | - automatically define b/w thereshold, when 1 |
| mask | - mask for the image, when only part of the image is needed |
| grid_size | - detection of b/w threshold based on a grid when grid_size > 0 |
| grid_coef | - the coefficient for defining the minimal bw convertion value, if empty will be defined automatically |
| orientation | - indicates dimension for 2D iterations, 1 - XZ, 2 - YZ, 4 - XY |
| layer_id | - define a single slice from the dataset
|
| thrMatrix | [optional] matrix with thresholding coefficients, default = NaN |
| bwimage | - thresholded b/w image image_grid - image with the applied grid |
References generate_grid_block_size(), and roiRegion.Options.
Referenced by ib_maskGenerator(), ManGridBW>startBtn_Callback(), and ManGridBW>thresholdsTable_CellEditCallback().


| function [bwimage , image_grid , th_min ] = getblackwhitefilter>do_filter | ( | I, | |
| mask, | |||
| Options, | |||
| exportThrMatrixSw, | |||
| thresholdImage | |||
| ) |