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 

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

Luminance 

Luminance - Select pixel by brightness.

◆ KernelShape

Enumerator
Box 

Box - Square/rectangular kernel.

Ellipse 

Ellipse - Circular/elliptical kernel.

Cross 

Cross - Plus-shaped kernel.

Diamond 

Diamond - Diamond-shaped kernel.

◆ OperationType

Enumerator
Min 

Minimum (Erosion) - Shrinks bright areas.

Max 

Maximum (Dilation) - Expands bright areas.

Open 

Open - Min then Max, removes small bright spots.

Close 

Close - Max then Min, removes small dark spots.

Gradient 

Gradient - Max minus Min, edge detection.

◆ ProcessChannels

Enumerator
RGB 

RGB - Process color channels only.

RGBA 

RGBA - Process color and alpha.

AlphaOnly 

Alpha - Process alpha channel only.