Contenuto principale

isflat

True for flat structuring element

isflat will be removed in a future release. See strel for the current list of methods.

Description

TF = isflat(SE) returns true (1) if the structuring element SE is flat; otherwise the function returns false (0).

Input Arguments

collapse all

Structuring element, specified as a strel object, an array of strel objects, an offsetstrel object, or an array of offsetstrel objects.

Output Arguments

collapse all

Structuring element SE is flat, returned as a logical scalar or logical array of the same size as SE. If the structuring element consists of offsetstrel objects, then TF is false regardless of the neighborhood.

Data Types: logical

Version History

Introduced before R2006a

See Also