Distance between image block and image centroid of fingerprint

1 view (last 30 days)
I want to calculate the distance between each block centered at (xi, yi) and the centroid of fingerprint image located at (xc, yc). Anyone has an example code?
For example, a fingerprint image of 300*480 is divided into blocks of 16*16. One can do a block operation with blkproc, but how can calculate the global centroid of each block when using blkproc. Or other way to do this. Thanks.

Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!