Detect object with Canny Edge detector
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 image
This is Canny detecttion result.
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
You should forget canny: i think you need only gradient modulus. Try to mix images using a weight defined by modulus in each image
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.