added computeNMChannels helper function to compute the diferent channels to be processed independently in the N&M algorithm.
Using cv::magnitude instead of custom loop and Mat<float> instead of Mat<double> to compute gradient magnitude channel.
Primal-dual algorithm

This is an implementation of primal-dual algorithm, based on the C++
source code by Vadim Pisarevsky. It was extended to handle the denoising
based on multiple observations. It also contains documentation and
tests.
Minor fixes

As the opencv's build-bot did not want to compile this revision, I had
to do some changes. In particular,
1) Removed unsigned int vs int comparisons, that were treated as errors
2) Removed unused variables and functions
3) Removed functions without previous declaration
4) Fixed whitespaces
Minor fixes

Fixed integer vs unsigned integer comparison in .cpp test source and
trailing whitespaces in source code
Eliminate use of 32-bit floating pt type

Replace all "float" by "double" (64-bit) to avoid "lose precision"
warnings.
The prism distortion coefficients are added for the stereo calibration.
Added plantuml extension

Aligned strings in CMakeList

Modified the check on plantuml extension

Some fixes

Moved find_host_program for plantuml script
Added an additional version component - the development status.

This will allow us to distinguish between regular releases, prereleases
and development versions.
Added version status support into the build system.
Updated the build config files to deal with the version status.

I didn't make the status part of the version variables here, because
letters don't play too well with version comparison algorithms
(especially with CMake's, which only supports numbers).
Updated the Java bindings and docs to support the version status.
Bumped version to 3.0.
Merge pull request #1442 from SpecLad:version-status
Merge pull request #1441 from look4pritam:prism-stereo
Merge pull request #1426 from nailbiter:optimPD
Merge pull request #1414 from lluisgomez:scene_text_detection_computeNMChannels
fix thin-prism coefficients at 0's in the stereo calibration function unless the flag CALIB_THIN_PRISM_MODEL is explicitly set
Merge pull request #1330 from lenlen:plantuml
Merge pull request #1445 from vpisarev:stereocalib_quick_fix