MMACH commands
PROGRAM NAME
vstrflat  Generates a 3 by 3 Flat Structuring Element
DESCRIPTION
vsrtflat
Creates a new morphological planar kernel via keyboard entry.
The term Structuring element is more often used than
morphological kernel.
From a general scientific perspective, the word MORPHOLOGY
refers to the study of form and structure.
The morphological approach is generally based upon the analysis
of an image in terms of some predetermined geometric
shape known as a structuring element (or morphological
kernel). Essentially, the manner in which the structuring
element fits into the image is studied.
The morphological operations can be employed for many purposes,
including edge detection, segmentation, and enhancement of images.
The definition of a structuring element is very important, and
depending on the applications, users have to create the appropriate
kernel.
A Structuring Element can be described by :
_
A 3x3 matrix containing pixels with value 0 (background) or 1 (domain).
_
The origin is the central pixel in the 3x3 matrix.
The kernel is stored in a formed file by columns.
REQUIRED ARGUMENTS
 o

type: outfile
desc: output morphological kernel
 s00

type: integer
desc: position (1, 1) of the structuring element.
bounds: 0 < [s00] < 1
 s10

type: integer
desc: position (0, 1) of the structuring element.
bounds: 0 < [s10] < 1
 s20

type: integer
desc: position (1, 1) of the structuring element.
bounds: 0 < [s20] < 1
 s01

type: integer
desc: position (1, 0) of the structuring element.
bounds: 0 < [s01] < 1
 s11

type: integer
desc: position (0, 0) of the structuring element.
bounds: 0 < [s11] < 1
 s21

type: integer
desc: position (1, 0) of the structuring element.
bounds: 0 < [s21] < 1
 s02

type: integer
desc: position (1, 1) of the structuring element.
bounds: 0 < [s02] < 1
 s12

type: integer
desc: position (0, 1) of the structuring element.
bounds: 0 < [s12] < 1
 s22

type: integer
desc: position (1, 1) of the structuring element.
bounds: 0 < [s22] < 1
OPTIONAL ARGUMENTS
none
EXAMPLES
vstrflat o kernel s00 0 s10 1 s20 0 s01 1 s11 1 s21 1 s02 0 s12 1 s22 0
Creates a new planar kernel for morphological functions via keyboard entry.
SEE ALSO
lvstrflat(3)
RESTRICTIONS
vstrflat
accepts only 0 or 1 for kernel pixel values.
REFERENCES
COPYRIGHT
Copyright (C) 19931997 Junior Barrera, Roberto Lotufo. All rights reserved.