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

Adjust brightness automatically. More...

Functions

function
handles = 
ib_autoBrightness (handles)
 Adjust brightness automatically. More...
 

Detailed Description

Adjust brightness automatically.

Function Documentation

function handles = ib_autoBrightness (   handles)

Adjust brightness automatically.

The function stretch the image min and max intensity values to fill the minimal and maximal values of the image container. When handles.brightnessFixCheck == 1 the coefficients are calculated for the whole 3D dataset; when handles.brightnessFixCheck == 0 each single slice adjusted individually.

Parameters
handlesstructure with handles of im_browser.m
Return values
handlesstructure with handles of im_browser.m
Required fields of handles:

References ib_do_backup(), ib_getStack(), ib_setStack(), and roiRegion.roi.

Referenced by imbrowser>brightnessBtn_Callback().

Here is the call graph for this function:

Here is the caller graph for this function: