MASH logo
Login | Register

lmerchante/edgessymmetryax

User avatar

Core team

Author:
lmerchante
Upload date:
Nov. 24, 2010, 2:08 p.m.
Summary:
Evaluates the axial symmetry of the edges detected in the image
Description:

Inspired in:


Francois Fleuret implementation of Zk (for the gradient)

Philip Abbet examples/meanThreshold (for the threshold)

Luis Francisco /ThresholdGradient

Luis Francisco /SymmetryAX


This heuristic thresholds the ROI refered to its mean value and then extracts the edges using the calculation of gradient as in lmerchante/gradient. Afterwards, it analyses the axial symmetry of the edges extracted using the score:

        sum (abs(pixel_value_reference_side - picture_value_symmetric_side))

Score = ----------------------------------------------------------------------------------------------------------------------------------------------

              Number of symmetric pixels considered


By default, _numfeatures = 180 features. The range of degrees where symmetry will be evaluated goes from 0º to 180º

Inspired by:
mash/meanthreshold
 
francoisfleuret/zk
 
lmerchante/thresholdgradient
 
lmerchante/symmetryax
Evaluation:
Configuration Training error ( sd ) Test error ( sd ) Rank
caltech-256 9.99% (4.873) 47.23% (13.007) 36
cifar-10 44.02% (3.996) 45.97% (4.047) 53
coil-100 1.57% (0.493) 12.26% (1.857) 52
mini-mnist 6.08% (2.091) 9.82% (2.525) 58
mugs 11.64% (0.321) 12.54% (0.336) 48
All configurations 55