cupuh com
sahabat-keyboard.web.id
Semarak 4 Tahun HN Community
Semarak 4 tahun HN Community
Semarak 4 Tahun HN Community GBVS - Graph-Based Visual Saliency - How to Run ? | welcome to shoping news | simple shoping

GBVS - Graph-Based Visual Saliency - How to Run ?

Bookmark and Share
Graph-Based Visual Saliency (GBVS) or the standard Itti, Koch, Niebur PAMI 1998 saliency map has source code on http://www.klab.caltech.edu/~harel/share/gbvs.php

However, i run it on linux ubuntu and windows vista. I need to edit some files. It's a great tool for saliency...

ERROR 1: gbvs_compile.m

??? Error using ==> cd
Cannot CD to util (Name is nonexistent or not a directory).

Error in ==> gbvs_compile at 4
cd util

SOLUTION 1: Edit gbvs_compile.m. Edit the line
cd util
to
cd %PATH_TO_UTIL/util

And you'll be successful in compiling.


ERROR 2: While running simplest_demonstration command, you'll get
??? Error using ==> load
Unable to read file mypath: No such file or directory.

Error in ==> getFeatureMaps at 7
load mypath;

Error in ==> gbvs at 55
[rawfeatmaps motionInfo] = getFeatureMaps( img , param , prevMotionInfo );

Error in ==> simplest_demonstration at 4
out = gbvs('samplepics/4.jpg' );

SOLUTION 2: Edit getFeatureMaps.m
line : load mypath;
to
%load mypath;

ERROR 3: While running simplest_demonstration command, you'll get
??? Undefined function or variable 'pathroot'.

Error in ==> getFeatureMaps at 65
channel_files = dir( [pathroot '/util/featureChannels/*.m'] );

Error in ==> gbvs at 55
[rawfeatmaps motionInfo] = getFeatureMaps( img , param , prevMotionInfo );

Error in ==> simplest_demonstration at 4
out = gbvs('samplepics/4.jpg' );

SOLUTION 3: Edit getFeatureMaps.m
line:
channel_files = dir( [pathroot '/util/featureChannels/*.m'] );
to
channel_files = dir( ['PATH_TO_GBVS/util/featureChannels/*.m'] );


Then you'll get the result. Enjoy ;)



baca juga artikel terkait dibawah ini

{ 0 komentar... Views All / Send Comment! }