Genetic algorithm-based optimization for COSFIRE filters with application to object recognition

Increasing generalization ability of COSFIRE filters by optimizing the selection of contour features
315 Downloads
Updated 7 Sep 2016

View License

The recently proposed trainable COSFIRE filters are highly effective in a wide range of computer vision applications, including object recognition, image classification, contour detection and retinal vessel segmentation. A COSFIRE filter is selective for a collection of contour parts in a certain spatial arrangement. These contour parts and their spatial arrangement are determined in an automatic configuration procedure from a single user-specified pattern of interest. The traditional configuration, however, does not guarantee the selection of the most distinctive contour parts. We propose a genetic algorithm-based optimization step in the configuration of COSFIRE filters that determines the minimum subset of contour parts that best characterize the pattern of interest. We use a public dataset of images of an edge milling head machine equipped with multiple cutting tools to demonstrate the effectiveness of the proposed optimization step for the detection and localization of such tools. The optimization process that we propose yields COSFIRE filters with substantially higher generalization capability. With an average of only six COSFIRE filters we achieve high precision P and recall R rates (P=91.99%,R=96.22%). This outperforms the original COSFIRE filter approach (without optimization) mostly in terms of recall. The proposed optimization procedure increases the efficiency of COSFIRE filters with little effect on the selectivity.
George Azzopardi; Laura Fernández-Robles; Enrique Alegre and Nicolai Petkov. Increased generalization capability of trainable COSFIRE filters with application to machine vision. ICPR 2016. In print.

Cite As

Laura Fernandez Robles (2024). Genetic algorithm-based optimization for COSFIRE filters with application to object recognition (https://www.mathworks.com/matlabcentral/fileexchange/59028-genetic-algorithm-based-optimization-for-cosfire-filters-with-application-to-object-recognition), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

COSFIRE_MatlabCode/Application/

COSFIRE_MatlabCode/COSFIRE/

COSFIRE_MatlabCode/Gabor/

Version Published Release Notes
1.1.0.0

Cleaned and commented code, dataset included

1.0.0.0