Ask Your Question
0

is there an example how to use gpu::HoughCircles ?

asked 2015-04-13 17:25:10 -0600

Otman gravatar image

Hello everyone ..

i would like ask about how to use HoughCircles detection using GPU under opencv 2.9.11 (not 3.0.0) i have managed to use gpu::Houghlines, i found a sample how to use gpu::houghlines in the sources samples but i can't figure it out how to use gpu::HoughCirlces it took me days now i have not found anything around the internet so hopefully i will find an answer here

thank you .

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-04-13 18:15:22 -0600

Eduardo gravatar image

Hi,

If you have managed to use gpu::HoughLines, you should be able to use gpu::HoughCircles.

It seems for me at first sight that you just have to supply the correct arguments like for gpu::HoughLines or you should be more explicit on what you cannot do: convert an image to grayscale ?, load a cv::Mat to cv::GpuMat ?, the correct values for the arguments ?, how to get / display the result ?, etc.

For the cpu version of cv::HoughCircles, the corresponding tutorial.

edit flag offensive delete link more

Comments

yes i want to know ho to call the gpu::houghcricles as i understood its a bit diffrent from the cpu version its not the same way to call it and display the results so what i want is how to detect the circles and display them

Otman gravatar imageOtman ( 2015-04-14 03:03:23 -0600 )edit

The function arguments and call can be found in that link. What more do you need to know?

StevenPuttemans gravatar imageStevenPuttemans ( 2015-04-14 04:09:27 -0600 )edit

Once performed than use the download function beneath that to retrieve the hough circle data in a normal Mat object instead of a GpuMat object.

StevenPuttemans gravatar imageStevenPuttemans ( 2015-04-14 04:10:24 -0600 )edit
1

i got it thanks !!

Otman gravatar imageOtman ( 2015-04-14 04:24:16 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-04-13 17:25:10 -0600

Seen: 1,259 times

Last updated: Apr 13 '15