Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Oriented Edge Forests for Boundary Detection

NotificationsYou must be signed in to change notification settings

samhallman/oef

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains the source code for the method described in

"Oriented Edge Forests for Boundary Detection".Sam Hallman, Charless Fowlkes. CVPR, June 2015

The system is implemented in MATLAB. On a 480-by-320 image, the detector shouldrun in ~2 seconds on an 8-core machine. Development was done on Linux andpre-compiled MEX binaries for Linux are included.

Installation

To use this software, you need to have Piotr Dollar's very usefulImage & Video Matlab Toolbox installed.

You can download a pre-trained model athttp://www.ics.uci.edu/~shallman/oef/modelCvpr.mat.The file is 98 MB, but swells to 1.1 GB when loaded into memory.To train a model yourself, you'll need to download theBSDS500 dataset.

Usage

Seedemo.m for usage examples.

To train a reasonably good detector quickly,

% requires ~5GB of RAM and <4 min/treemodel = train('nPos',5e5, 'nNeg',5e5, 'nTrees',8, ...  'useParfor',1, 'calibrate',0, 'bsdsDir','/path/to/bsds/');

To train the model from the CVPR paper, just use the default settings:

% requires ~19GB of RAM and ~15 min/treemodel = train('bsdsDir','/path/to/bsds/');

This trains 24 trees by default, because that is originally how I derived thenumbers shown in the paper. But 24 trees is probably overkill, and I would betthat you'd get the same results with 12 trees.

Acknowledgements

Many files were built on top of files from theSketch Tokens andStructuredForest packages. I also make use of the edge linking files from Peter Kovesi'sMATLAB and Octave Functions for Computer Vision and Image Processing page.

About

Oriented Edge Forests for Boundary Detection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp