<?xml version="1.0" encoding="utf-8"?>
<executable>
  <category>
  Filtering.Morphology
  </category>
  <title>
  Grayscale Grind Peak
  </title>
  <description>
GrayscaleGrindPeakImageFilter removes peaks in a grayscale image.
Peaks are local maxima in the grayscale topography that are not
connected to boundaries of the image. Gray level values adjacent to
a peak are extrapolated through the peak.

This filter is used to smooth over local maxima without affecting
the values of local minima.  If you take the difference between the
output of this filter and the original image (and perhaps threshold
the difference above a small value), you'll obtain a map of the
local maxima.

This filter uses the GrayscaleGeodesicDilateImageFilter.  It
provides its own input as the "mask" input to the geodesic
erosion.  The "marker" image for the geodesic erosion is
constructed such that boundary pixels match the boundary pixels of
the input image and the interior pixels are set to the minimum
pixel value in the input image.

This filter is the dual to the GrayscaleFillholeImageFilter which
implements the Fillhole algorithm.  Since it is a dual, it is
somewhat superfluous but is provided as a convenience.

Geodesic morphology and the Fillhole algorithm is described in
Chapter 6 of Pierre Soille's book "Morphological Image Analysis:
Principles and Applications", Second Edition, Springer, 2003.
  </description>
  <version>1.0</version>
  <documentationurl></documentationurl>
  <license></license>
  <contributor>Bill Lorensen</contributor>

  <parameters>
    <label>IO</label>
    <description>Input/output parameters</description>
    <image>
      <name>inputVolume</name>
      <label>Input Volume</label>
      <channel>input</channel>
      <index>0</index>
      <description>Input volume to be filtered</description>
    </image>
    <image>
      <name>outputVolume</name>
      <label>Output Volume</label>
      <channel>output</channel>
      <index>1</index>
      <description>Output filtered</description>
    </image>
  </parameters>

</executable>
