Hmax color
Matlab
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
descriptors
C1.m
C1Do.m
C1So.m
C2.m
C2Do.m
C2So.m
README.md
WindowedDoPatchDistance.m
WindowedPatchDistance.m
WindowedSoPatchDistance.m
_config.yml
computeDOS1hmax.m
computeSOhmax.m
conv2padded.m
datasplits.m
datasplits.mat
demoDoRelease.m
demoRelease.m
demoSoRelease.m
dictDo_250_patches_4_sizes.mat
dictSo_250_patches_4_sizes.mat
dict_250_patches_4_sizes.mat
divNorm_do.m
divNorm_gray.m
divNorm_so.m
extractC2Doforcell.m
extractC2Soforcell.m
extractC2forcell.m
extractRandC1DoPatches.m
extractRandC1Patches.m
extractRandC1SoPatches.m
getC2.m
getC2features.m
get_color_filters_gabor.m
init_color_gabor.m
init_gabor.m
loadAllImages.m
maxfilter.m
padimage.m
proof-eccv2012-color.pdf
sumfilter.m
unpadimage.m

README.md

(1) Single-Opponent (SO) and Double-Opponent (DO) descriptors

SODescriptor.m / DODescriptor.m: Compute SO/DO descriptors energyRes.m: Compute energy response based on Adelson & Bergen (1985)

We provide two examples to show how color descriptors work:

  1. additive color image used in Zhang et al (2012)
  2. blue-sky image: a representative color image

The normalization paramaters may need to be adjusted depending on the type of images. In general, we found k = 1, sigma = 0.225 to work well for natural images.


(2) Color HMAX

demoRelease.m : grayscale Hmax demoSoRelease.m: SOHmax (for most cases, two orientations of SO is sufficient because of their weak orientation tuning) demoDoRelease.m: DOHmax

Dictionary of S2 units: randomly extracted -- 250 patches of 4 patch sizes (1000 patches in total)

We provide three types of dictionaries: dict_250_patches_4_sizes : grayscale dictSo_250_patches_4_sizes: SO dictDo_250_patches_4_sizes: DO

If you use the code, please cite: Zhang J., Barhomi Y., and Serre T. A new biologically inspired color image descriptor.In: ECCV, Florence, Italy, October 2012.

For comments or questions, please contact Jun Zhang (zhangjun1126@gmail.com) or Thomas Serre (thomas_serre@brown.edu).