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

Calculate size of the block to equally brake the image. More...

Functions

function [
block_width ,
block_height ] = 
generate_grid_block_size (image_width, image_height, block_width)
 Calculate size of the block to equally brake the image. More...
 

Detailed Description

Calculate size of the block to equally brake the image.

Function Documentation

function [ block_width , block_height ] = generate_grid_block_size (   image_width,
  image_height,
  block_width 
)

Calculate size of the block to equally brake the image.

Parameters
image_widthwidth of the image
image_heightheight of the image
block_width[optional] desired width of the block, when omitted a dialog asks for a value
Return values
block_widthwidth of the block block_height height of the block

References mib_inputdlg().

Referenced by get_black_white_filter(), ib_calcCorrelation(), ManGridBW>ManGridBW_OpeningFcn(), and ManGridBW>thresholdsTable_CellEditCallback().

Here is the call graph for this function:

Here is the caller graph for this function: