From 61e50e2fdab710a53fdb56b8d5fc46647bd0a773 Mon Sep 17 00:00:00 2001 From: abidrahmank Date: Sat, 13 Jul 2013 16:00:15 +0530 Subject: [PATCH] python docs for non-local means denoising --- modules/photo/doc/denoising.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/photo/doc/denoising.rst b/modules/photo/doc/denoising.rst index 5a4d744..1de928d 100644 --- a/modules/photo/doc/denoising.rst +++ b/modules/photo/doc/denoising.rst @@ -10,6 +10,8 @@ with several computational optimizations. Noise expected to be a gaussian white .. ocv:function:: void fastNlMeansDenoising( InputArray src, OutputArray dst, float h=3, int templateWindowSize=7, int searchWindowSize=21 ) +.. ocv:pyfunction:: cv2.fastNlMeansDenoising(src[, dst[, h[, templateWindowSize[, searchWindowSize]]]]) -> dst + :param src: Input 8-bit 1-channel, 2-channel or 3-channel image. :param dst: Output image with the same size and type as ``src`` . @@ -30,6 +32,8 @@ Modification of ``fastNlMeansDenoising`` function for colored images .. ocv:function:: void fastNlMeansDenoisingColored( InputArray src, OutputArray dst, float h=3, float hColor=3, int templateWindowSize=7, int searchWindowSize=21 ) +.. ocv:pyfunction:: cv2.fastNlMeansDenoisingColored(src[, dst[, h[, hColor[, templateWindowSize[, searchWindowSize]]]]]) -> dst + :param src: Input 8-bit 3-channel image. :param dst: Output image with the same size and type as ``src`` . @@ -51,6 +55,8 @@ For more details see http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.131 .. ocv:function:: void fastNlMeansDenoisingMulti( InputArrayOfArrays srcImgs, OutputArray dst, int imgToDenoiseIndex, int temporalWindowSize, float h=3, int templateWindowSize=7, int searchWindowSize=21 ) +.. ocv:pyfunction:: cv2.fastNlMeansDenoisingMulti(srcImgs, imgToDenoiseIndex, temporalWindowSize[, dst[, h[, templateWindowSize[, searchWindowSize]]]]) -> dst + :param srcImgs: Input 8-bit 1-channel, 2-channel or 3-channel images sequence. All images should have the same type and size. :param imgToDenoiseIndex: Target image to denoise index in ``srcImgs`` sequence @@ -71,6 +77,8 @@ Modification of ``fastNlMeansDenoisingMulti`` function for colored images sequen .. ocv:function:: void fastNlMeansDenoisingColoredMulti( InputArrayOfArrays srcImgs, OutputArray dst, int imgToDenoiseIndex, int temporalWindowSize, float h=3, float hColor=3, int templateWindowSize=7, int searchWindowSize=21 ) +.. ocv:pyfunction:: cv2.fastNlMeansDenoisingColoredMulti(srcImgs, imgToDenoiseIndex, temporalWindowSize[, dst[, h[, hColor[, templateWindowSize[, searchWindowSize]]]]]) -> dst + :param srcImgs: Input 8-bit 3-channel images sequence. All images should have the same type and size. :param imgToDenoiseIndex: Target image to denoise index in ``srcImgs`` sequence -- 2.7.4