Detect object with Canny Edge detector

asked 2017-05-08 11:03:41 -0500

zhongen.dff gravatar image

updated 2017-05-08 11:44:43 -0500

Hi guys,

I am develop multi-focus application. Now, I can detect keypoint feature with ORB and Canny detect result. I want to get focus region with my result. But, I don't know how to get object. This is source imageimage description

This is Canny detecttion result. image description

And, I want to get flower object.

Hope receive any idea or guide me develop it. Thanks every one read it.

====== update Gradient Map======= Gradient result for 2 image image descriptionimage description

edit retag flag offensive close merge delete


You should forget canny: i think you need only gradient modulus. Try to mix images using a weight defined by modulus in each image

LBerger gravatar imageLBerger ( 2017-05-08 11:14:05 -0500 )edit

I just updated my gradient. But, it only differs in the values of the edges.In this program, I want to get region for near focus ( flower object). Thank pro for suggesting. Hope to receive reply information.

zhongen.dff gravatar imagezhongen.dff ( 2017-05-08 11:48:30 -0500 )edit