```{index} single: Filters; ITK Regional Maxima Image Filter ``` # ITK Regional Maxima Image Filter Produce a binary image where foreground is the regional maxima of the input image. ## Group (Subgroup) ITKMathematicalMorphology (MathematicalMorphology) ## Description Regional maxima are flat zones surrounded by pixels of lower value. If the input image is constant, the entire image can be considered as a maxima or not. The desired behavior can be selected with the SetFlatIsMaxima() method. ## Author This class was contributed to the Insight Journal by author Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France. The paper can be found at https://www.insight-journal.org/browse/publication/65 ## See Also - [ValuedRegionalMaximaImageFilter](https://itk.org/Doxygen/html/classitk_1_1ValuedRegionalMaximaImageFilter.html) - [HConvexImageFilter](https://itk.org/Doxygen/html/classitk_1_1HConvexImageFilter.html) - [RegionalMinimaImageFilter](https://itk.org/Doxygen/html/classitk_1_1RegionalMinimaImageFilter.html) ### Input Parameter(s) | Parameter Name | Parameter Type | Parameter Notes | Description | |----------------|----------------|-----------------|-------------| | Background Value | Scalar Value |Float64 | Set/Get the value used as 'background' in the output image. Defaults to NumericTraits::NonpositiveMin() . | | Foreground Value | Scalar Value |Float64 | Set/Get the value in the output image to consider as 'foreground'. Defaults to maximum value of PixelType. | | Fully Connected | Bool | | Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn. | | Flat Is Maxima | Bool | | Set/Get whether a flat image must be considered as a maxima or not. Defaults to true. | ### Input Cell Data | Parameter Name | Parameter Type | Parameter Notes | Description | |----------------|----------------|-----------------|-------------| | Image Geometry | Geometry Selection | Image | Select the Image Geometry Group from the DataStructure. | | Input Cell Data | Array Selection | Allowed Types: int8, uint8, int16, uint16, int32, uint32, int64, uint64, float32, float64 | The image data that will be processed by this filter. | ### Output Cell Data | Parameter Name | Parameter Type | Parameter Notes | Description | |----------------|----------------|-----------------|-------------| | Output Image Data Array | DataObjectName | | The result of the processing will be stored in this Data Array. | ## Example Pipelines ## License & Copyright Please see the description file distributed with this plugin. ## DREAM3D Mailing Lists If you need help, need to file a bug report or want to request a new feature, please head over to the [DREAM3DNX-Issues](https://github.com/BlueQuartzSoftware/DREAM3DNX-Issues/discussions) GitHub site where the community of DREAM3D-NX users can help answer your questions.