Ask Your Question

MatsW's profile - activity

2016-10-15 12:37:42 -0600 asked a question Interpretation of color parameter

I've tested a code sample which uses circle(), but what surprises is me that the RGB-color parameter passed with Scalar(0, 0, 255) is interpreted as RED. It turns out that the color parameter is interpreted as B,G,R which is backward.

Is this intentional?

2016-10-15 10:41:25 -0600 commented question Circle detection with HoughCircles v3.1.0

I've also tested the shoe-image in link text , but have not been able to reproduce the result shown in the Wiki-article

2016-10-15 08:02:45 -0600 asked a question Circle detection with HoughCircles v3.1.0

I'm experimenting with the sample code at https://github.com/opencv/opencv/blob... , but I'm can't figure out how to use HoughCircles to detect circles in a fairly simple test. I've created I png-file with Paint containing 3 black circles (see below). 2 with approximately the same center, and one with an offset. The input file is only black&white. But when I run the demo I can see that it can't detect the outmost circle at all, it detects the second circle, and the third circle is detected but with slightly incorrect radius and center.

1) Any clue why it can't detect the outermost circle ? 2) Any clue why the 3rd circle is offset?

I've also seen that HoughCircles() has a parameter

minDist – Minimum distance between the centers of the detected circles. If the parameter is too small, multiple neighbor circles may be falsely detected in addition to a true one. If it is too large, some circles may be missed.

The odd thing is that this sort of says that several circles with the same center but different radius can't be detected, thus invalidating my testcase. Is it so?

image description

2016-10-14 14:30:09 -0600 commented answer Howto generate documentation when building with Visual Studio

Wow!! Now it works. Thanks a lot

2016-10-14 04:26:44 -0600 commented answer Howto generate documentation when building with Visual Studio

BUILD_DOCS is set, and output from CMake says Documentation: Doxygen: C:/Program Files/Doxygen/bin/doxygen.exe (ver 1.8.12) PlantUML: NO

But not 'docs' catalog is created in my_build/install folder when i run 'Build' on INSTALL in VS 2015. And when I open my_build/cmake_install.cmake then I see no trace of instructions to create any documentation. Is PlantUML required as well?

2016-10-13 10:02:30 -0600 commented question Howto generate documentation when building with Visual Studio

It's version 3.1.0

2016-10-13 07:41:19 -0600 asked a question Howto generate documentation when building with Visual Studio

What is the procedure to generate documentation when CMake has been configured to generate build files for Visual Studio? It said that one should run make html_docs to build HTML-documentation. But there is not even a makefile. Also, is it a requirement to have doxygen installed to generate documentation? Or is Sphinx sufficient?