fn_maskselect

Contents

Syntax

mask = fn_maskselect(image[,mouseflag[,dorepeat[,colormap]]])

Description

ROI selection within an image. Returns an array of logicals.
Input:
- image       2D array
- mouseflag   'rect', 'poly' [default], 'free', 'ellipse'
- dorepeat    select multiple regions? [default = false]
- colormap    color map to use for image display
Output:
- mask        logical array the same size of image indicating interior of
              the mask
See also fn_maskavg, fn_imvect

Source

Thomas Deneux

Copyright 2011-2017