Skip to content

marcoscoffier/torch-saliency

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

torch-saliency

code and tools around integral images.

A library for finding interest points based on fast integral historgrams. The saliency is computed based on Kadir 2004. The largest change in entropy between scales is the most salient.

several functions can be of more use generally. The interface will be cleaned up shortly. Need to add a lua interface and help to the working C functions.

compute an integer image ii from l l.libsaliency.intImage(ii,l)

compute an integer histogram rr from l l.libsaliency.intHist(rr,l,nbins,lmin,lmax)

average windows < kr x kc > steped < sr x sc > across the integral image l.libsaliency.intAvg(aa,ii,kr,kc,sr,sc)

Max, OneOverMax, MeanOverMax

rr.libsaliency.spatialMax(mm,rr) rr.libsaliency.spatialOneOverMax(mm,rr) rr.libsaliency.spatialMeanOverMax(mm,rr)

Non Maximal suppression code:

local m,mi,p = saliency.getMax(img,msize,ng)

There is an extensive regression test:

test.lua

About

code and tools around integral images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published