Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ReplaceColorOptions

Hierarchy

Index

Properties

Optional dst

dst: Mat

Output image. If not given it will be created. Note that you can give [src] as output image in which case the input image will be written.

highColor

highColor: Scalar | number[]

Inclusive upper boundary array or a scalar.

lowColor

lowColor: Scalar | number[]

inclusive lower boundary array or a scalar.

newColorOrImage

newColorOrImage: Scalar | number[] | Mat

The color or image to write in those pixels within given boundaries.

Optional removeRest

removeRest: undefined | false | true

if true the output will only contain the replaced color and the rest (that didn't matched) will be 0,0,0,0

src

src: Mat

Input image.

Generated using TypeDoc