no.hiof.imagepr.morphology
Class RectangStructEl

java.lang.Object
  extended byno.hiof.imagepr.morphology.StructElement
      extended byno.hiof.imagepr.morphology.RectangStructEl

public class RectangStructEl
extends StructElement

A RectangStructEl models a rectangular structur element.

Author:
Per-Olav Rusås
See Also:
Morphology

Field Summary
 
Fields inherited from class no.hiof.imagepr.morphology.StructElement
elementMatrix, hCenter, vCenter
 
Constructor Summary
RectangStructEl(int height, int width, int vCenter, int hCenter)
          Constructs a rectangular structure element with given size and center.
 
Methods inherited from class no.hiof.imagepr.morphology.StructElement
createReflectStruct, getElementMatrix, getHCenter, getHeight, getVCenter, getWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RectangStructEl

public RectangStructEl(int height,
                       int width,
                       int vCenter,
                       int hCenter)
Constructs a rectangular structure element with given size and center.

Parameters:
height - The height of the structure element.
width - The width of the structure element.
vCenter - The vertical coordinate of the elements center.
hCenter - The horizontal coordinate of the elements center.