opencv android-edge detection
<p>I am creating a project in android ,where i need to detect the <code>edges</code> of the <code>object</code> in very intial stage.But the <code>edges</code> are not appropriate they are broken .I have tried otsu <code>thresholding</code> method for <code>edge detection</code>.
Now i m trying to get the intensity from histogram ,can anyone help me to figure out the mean from the <code>histogram</code> of an image using <code>calchist</code> method in <code>opencv</code>. Also, i am giving a thought to dividing the image into blocks of 3* 3,as then computing each block.,but enable to find how to do that .
I am using <code>opencv</code> library.</p>

<p>Thanks,
Please do respond.</p>