Doc update
authorFedor Morozov <f-morozov@ya.ru>
Fri, 6 Sep 2013 10:43:04 +0000 (14:43 +0400)
committerFedor Morozov <f-morozov@ya.ru>
Fri, 6 Sep 2013 10:43:04 +0000 (14:43 +0400)
modules/photo/doc/hdr_imaging.rst

index b809001..f07d9ae 100644 (file)
@@ -192,16 +192,30 @@ Helper function, that shift Mat filling new regions with zeros.
     :param dst: result image
     
     :param shift: shift value
+
+AlignMTB::computeBitmaps
+---------------------------
+Computes median threshold and exclude bitmaps of given image.
+    
+.. ocv:function:: void computeBitmaps(Mat& img, Mat& tb, Mat& eb)
+
+    :param img: input image
+    
+    :param tb: median threshold bitmap
     
+    :param eb: exclude bitmap
+       
 createAlignMTB
 ---------------------------
 Creates AlignMTB object
 
-.. ocv:function:: Ptr<AlignMTB> createAlignMTB(int max_bits = 6, int exclude_range = 4)
+.. ocv:function:: Ptr<AlignMTB> createAlignMTB(int max_bits = 6, int exclude_range = 4, bool cut = true)
     
     :param max_bits: logarithm to the base 2 of maximal shift in each dimension. Values of 5 and 6 are usually good enough (31 and 63 pixels shift respectively).
     
     :param exclude_range: range for exclusion bitmap that is constructed to suppress noise around the median value.
+       
+       :param cut: if true cuts images, otherwise fills the new regions with zeros.
     
 ExposureCalibrate
 ---------------------------
@@ -234,11 +248,13 @@ createCalibrateDebevec
 ---------------------------
 Creates CalibrateDebevec object
 
-.. ocv:function:: Ptr<CalibrateDebevec> createCalibrateDebevec(int samples = 50, float lambda = 10.0f)
+.. ocv:function:: createCalibrateDebevec(int samples = 70, float lambda = 10.0f, bool random = false)
 
     :param samples: number of pixel locations to use
     
     :param lambda: smoothness term weight. Greater values produce smoother results, but can alter the response.
+       
+       :param random: if true sample pixel locations are chosen at random, otherwise the form a rectangular grid.
     
 ExposureMerge
 ---------------------------