MinMax Namespace Reference

Classes

class  MinMax
 Min/Max Filter operator for morphological image processing. Read the documentation for more info. More...
 

Enumerations

enum  OperationType {
  Min = 0 , Max = 1 , Open = 2 , Close = 3 ,
  Gradient = 4
}
 
enum  KernelShape { Box = 0 , Ellipse = 1 , Cross = 2 , Diamond = 3 }
 
enum  ChannelMode { PerChannel = 0 , Luminance = 1 }
 
enum  ProcessChannels { RGB = 0 , RGBA = 1 , AlphaOnly = 2 }
 

Enumeration Type Documentation

◆ ChannelMode

Enumerator
PerChannel 0 

Per-Channel - Process R, G, B independently.

Luminance 1 

Luminance - Select pixel by brightness.

◆ KernelShape

Enumerator
Box 0 

Box - Square/rectangular kernel.

Ellipse 1 

Ellipse - Circular/elliptical kernel.

Cross 2 

Cross - Plus-shaped kernel.

Diamond 3 

Diamond - Diamond-shaped kernel.

◆ OperationType

Enumerator
Min 0 

Minimum (Erosion) - Shrinks bright areas.

Max 1 

Maximum (Dilation) - Expands bright areas.

Open 2 

Open - Min then Max, removes small bright spots.

Close 3 

Close - Max then Min, removes small dark spots.

Gradient 4 

Gradient - Max minus Min, edge detection.

◆ ProcessChannels

Enumerator
RGB 0 

RGB - Process color channels only.

RGBA 1 

RGBA - Process color and alpha.

AlphaOnly 2 

Alpha - Process alpha channel only.