OpenCV Q&A Forum - RSS feedhttp://answers.opencv.org/questions/OpenCV answersenCopyright <a href="http://www.opencv.org">OpenCV foundation</a>, 2012-2018.Wed, 08 Jul 2020 04:43:24 -0500Nonlinear solver such as Levenberg- Marquardthttp://answers.opencv.org/question/232234/nonlinear-solver-such-as-levenberg-marquardt/ Hi,
I need to use a nonlinear solver in OpenCV. Does OpenCV support it or I need to use 3rd lib such as Ceres or Dlib?
Thanks a lot.
YLARYL518Wed, 08 Jul 2020 04:43:24 -0500http://answers.opencv.org/question/232234/Possible to use KAZE's nonlinear scale space construction otherwise?http://answers.opencv.org/question/209380/possible-to-use-kazes-nonlinear-scale-space-construction-otherwise/Hello,
I need to construct a non-linear scale space for a project I'm working on, and was thinking if it is possible to use the built-in method in the KAZE module that does exactly this - but I have no idea how to implement this in my Python code.
Best,
Nikdroog_the_droogMon, 25 Feb 2019 04:54:03 -0600http://answers.opencv.org/question/209380/Anisotropic diffusionhttp://answers.opencv.org/question/93406/anisotropic-diffusion/Hello great openCV-community,
I'd like to find out if it is possible to perform an anisotropic diffusion operation on an image through openCV? I found out that the KAZE and AKAZE feature detectors use the anisotropic diffusion. But I think the functions behind are private and inaccessible. Is there a filter predefined for this filteringoperation or do I have to write my own filter? (or make usage of the filter which "occurs" for this purposes in this forum ? [isotropic non-linear diffusion...](http://answers.opencv.org/question/71005/isotropic-non-linear-diffusion-smoothing-perona-malik/)
Thank you very much in advance,
Best RegardsNewDeveloperThu, 21 Apr 2016 10:13:41 -0500http://answers.opencv.org/question/93406/Is nonlinear minimization (like Levenbergâ€“Marquardt) directly available?http://answers.opencv.org/question/17181/is-nonlinear-minimization-like-levenberg-marquardt-directly-available/I need to minimize a function `f` of 3 variables (or more). `f` has a particular form because it is a sum of squares of nonlinear function of the 3 variables, for example:
double f(double x1, double x2, double x3)
{
double acc = 0;
for ( size_t i = 0; i < N; i++ ) {
acc += pow(g(x1,x2,x3,i),2);
}
return acc;
}
std::vector< double > data;
double g(double x1, double x2, double x3, size_t i)
{
return some nonlinear function of x1, x2, x3, data[i]
}
Is there any direct available algorithm for this kind of minimization?
For example I read [here](http://docs.opencv.org/modules/stitching/doc/motion_estimation.html) that the C++ class `detail::BundleAdjusterBase` uses Levenbergâ€“Marquardt algorithm but it doesn't seem to me that this algorithm is directly available.uvts_cvsSat, 20 Jul 2013 07:08:04 -0500http://answers.opencv.org/question/17181/