Designing filter

6 views (last 30 days)
ch basit
ch basit on 31 Mar 2011
Edited: Vidhi Agarwal on 9 Jun 2025
I want to design a filter that can recognize objects of a particular shape e.g round shape, within an image and then return a high pixel value at each spot where it identifies an object. Any help would be appreciated.

Answers (1)

Vidhi Agarwal
Vidhi Agarwal on 9 Jun 2025
Edited: Vidhi Agarwal on 9 Jun 2025
I understand that you want to design a filter, that can recignize objects of a particular shape within an image anf then return a high pixel value at each spot where it identifies an object. Below steps can help you in getting started:
  1. Preprocess the image
  2. Detect round objects using "imfindcircles" (Hough transform) or circularity-based filtering with "regionprops".
  3. Mark locations in output image
To understand more about "imfindcircles" refer to the following documentation: https://www.mathworks.com/help/images/ref/imfindcircles.html and for "regionprops" refer https://www.mathworks.com/help/images/ref/regionprops.html
Hope this helps!.

Tags

Community Treasure Hunt

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

Start Hunting!