I have a B&W image of size 200 X 200. I want to divide this image into circles of pixel width say 5 pixels and want to count the number of white pixels in the cropped circle. So the radius should be of 5 pixels. How can I get the centre of image ? After the first crop of radius 5 pixels, i want to again crop starting from 6th pixel with radius length 5 pixels and do the same till the whole image is divided into circles.
Can anyone help me in understanding the OpenCV library function which are there to perform this task ? I want to know which functions are there and how parameters are passed to achieve this.
Newb to OpenCV. Any help is appreciated. Thanks in advance