Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

corresponPixels function #1

Closed
ebenezergr opened this issue Jun 12, 2017 · 8 comments
Closed

corresponPixels function #1

ebenezergr opened this issue Jun 12, 2017 · 8 comments
Labels

Comments

@ebenezergr
Copy link

Hello, I got a problem with the function CorrespondPixels.
When I downloaded extended-berkeley-segmentation-benchmark this function was fully commented. I uncommented the lines 1, 28, 30, 32, 34, 36, 38 and added "function" at the beginning of the l 1 and "end" at the l 40.
But I can't modify anything else and don't really understand to what correspond the lines 28 to 38, and how to find match1.

@davidstutz
Copy link
Owner

No commented is completey right! You need to compile this function. In correspondPixels.M you will only find documentation. The source is in source/correspondPixels.cc. See the README how to compile the sources.

@ZubairKhan001
Copy link

Error: File: evaluation_bdry_image.m Line: 92 Column: 61
"groundTruth" previously appeared to be used as a function or command, conflicting with its use here as the name of a
variable.
A possible cause of this error is that you forgot to initialize the variable, or you have initialized it implicitly using
load or eval.
using in windows, unable ot compile the build.sh.

@davidstutz davidstutz reopened this Nov 29, 2018
@davidstutz
Copy link
Owner

Are you sure that you don't use groundTruth as a name for something else? In this benchmark, it's solely used as variable name.

Also please give details on when this error occurs and why you can't build the benchmark. The above error message doe snot seem to stem from building, does it?

@ghost
Copy link

ghost commented Feb 28, 2019

Hi, I also got this problem.
A new function called groundTruth was introduced in MATLAB R2017a, check the link below.
https://www.mathworks.com/help/vision/ref/groundtruth.html

So a simple to fix this problem is to (1) rename those 'groundTruth' cell in the groundTruth .mats to something like 'GT', and (2) replace the word 'groundTruth' to 'GT' in evaluation_bdry_image.m.

davidstutz added a commit that referenced this issue Mar 28, 2019
@davidstutz
Copy link
Owner

Ah OK, thanks for the info. I wasn't aware of this change. I will add a note to the README for this issue.

@JobinFrancisGithub
Copy link

Sir in the test_benchmarks.m,

imgDir = 'data/BSDS500/images';
gtDir = 'data/BSDS500/groundTruth';
inDir = 'data/BSDS500/superpixel_segs';
outDir = 'tests/test_7';
mkdir(outDir);
codes are there but I got tests\test_1 upto test_5. test_6], test_7 etc are I could not find . Pls give us the link to get the same

@davidstutz
Copy link
Owner

These are the output directories as far as I remember. You do not need to create them in advance.

@JobinFrancisGithub
Copy link

JobinFrancisGithub commented Dec 1, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants