OpenCV453
列挙型 | 関数

列挙型

enum  { cv::RECURS_FILTER = 1 , cv::NORMCONV_FILTER = 2 }
 Edge preserving filters [詳解]
 

関数

CV_EXPORTS_W void cv::edgePreservingFilter (InputArray src, OutputArray dst, int flags=1, float sigma_s=60, float sigma_r=0.4f)
 Filtering is the fundamental operation in image and video processing. Edge-preserving smoothing filters are used in many different applications [EM11] . [詳解]
 
CV_EXPORTS_W void cv::detailEnhance (InputArray src, OutputArray dst, float sigma_s=10, float sigma_r=0.15f)
 This filter enhances the details of a particular image. [詳解]
 
CV_EXPORTS_W void cv::pencilSketch (InputArray src, OutputArray dst1, OutputArray dst2, float sigma_s=60, float sigma_r=0.07f, float shade_factor=0.02f)
 Pencil-like non-photorealistic line drawing [詳解]
 
CV_EXPORTS_W void cv::stylization (InputArray src, OutputArray dst, float sigma_s=60, float sigma_r=0.45f)
 Stylization aims to produce digital imagery with a wide variety of effects not focused on photorealism. Edge-aware filters are ideal for stylization, as they can abstract regions of low contrast while preserving, or enhancing, high-contrast features. [詳解]
 

詳解

列挙型詳解

◆ anonymous enum

anonymous enum

Edge preserving filters

列挙値
RECURS_FILTER 

Recursive Filtering

NORMCONV_FILTER 

Normalized Convolution Filtering

関数詳解

◆ detailEnhance()

CV_EXPORTS_W void cv::detailEnhance ( InputArray  src,
OutputArray  dst,
float  sigma_s = 10,
float  sigma_r = 0.15f 
)

This filter enhances the details of a particular image.

引数
srcInput 8-bit 3-channel image.
dstOutput image with the same size and type as src.
sigma_sRange between 0 to 200.
sigma_rRange between 0 to 1.

◆ edgePreservingFilter()

CV_EXPORTS_W void cv::edgePreservingFilter ( InputArray  src,
OutputArray  dst,
int  flags = 1,
float  sigma_s = 60,
float  sigma_r = 0.4f 
)

Filtering is the fundamental operation in image and video processing. Edge-preserving smoothing filters are used in many different applications [EM11] .

引数
srcInput 8-bit 3-channel image.
dstOutput 8-bit 3-channel image.
flagsEdge preserving filters: cv::RECURS_FILTER or cv::NORMCONV_FILTER
sigma_sRange between 0 to 200.
sigma_rRange between 0 to 1.

◆ pencilSketch()

CV_EXPORTS_W void cv::pencilSketch ( InputArray  src,
OutputArray  dst1,
OutputArray  dst2,
float  sigma_s = 60,
float  sigma_r = 0.07f,
float  shade_factor = 0.02f 
)

Pencil-like non-photorealistic line drawing

引数
srcInput 8-bit 3-channel image.
dst1Output 8-bit 1-channel image.
dst2Output image with the same size and type as src.
sigma_sRange between 0 to 200.
sigma_rRange between 0 to 1.
shade_factorRange between 0 to 0.1.

◆ stylization()

CV_EXPORTS_W void cv::stylization ( InputArray  src,
OutputArray  dst,
float  sigma_s = 60,
float  sigma_r = 0.45f 
)

Stylization aims to produce digital imagery with a wide variety of effects not focused on photorealism. Edge-aware filters are ideal for stylization, as they can abstract regions of low contrast while preserving, or enhancing, high-contrast features.

引数
srcInput 8-bit 3-channel image.
dstOutput image with the same size and type as src.
sigma_sRange between 0 to 200.
sigma_rRange between 0 to 1.