Show / Hide Table of Contents

Enum BorderTypes

Type of the border to create around the copied source image rectangle

Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public enum BorderTypes
Remarks

https://github.com/opencv/opencv/blob/fc1a15626226609babd128e043cf7c4e32f567ca/modules/core/include/opencv2/core/base.hpp#L268

Fields

Name Description
Constant

Border is filled with the fixed value, passed as last parameter of the function. iiiiii|abcdefgh|iiiiiii with some specified i

Default

same as BORDER_REFLECT_101

Isolated

do not look outside of ROI

Reflect

fedcba|abcdefgh|hgfedcb

Reflect101

gfedcb|abcdefgh|gfedcba

Replicate

The pixels from the top and bottom rows, the left-most and right-most columns are replicated to fill the border. aaaaaa|abcdefgh|hhhhhhh

Transparent

uvwxyz|absdefgh|ijklmno

Wrap

cdefgh|abcdefgh|abcdefg

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX