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

Compile errors with methods getFitQuality() and getModelParameters() #13

Closed
jpmanson opened this issue Sep 22, 2013 · 4 comments
Closed

Comments

@jpmanson
Copy link

Hi! Most examples works OK, but I have some compilation errors with 2 methods (getFitQuality() and getModelParameters() ). Eclipse shows error like these:

The method getFitQuality() is undefined for the type LeastMedianOfSquares<ScaleTranslateRotate2D,AssociatedPair> SparseFlowObjectTracker.java /BoofCV/src/boofcv/alg/tracker/sfot line 127 Java Problem
.....
The method getModelParameters() is undefined for the type LeastMedianOfSquares<ScaleTranslate2D,AssociatedPair> TldAdjustRegion.java /BoofCV/src/boofcv/alg/tracker/tld line 74 Java Problem

I'm using the last sources commited that include FastQueue moved to DDogleg

Any help please?

Thanks in advance,
Juan Pablo

@lessthanoptimal
Copy link
Owner

Try pulling the latest version of BoofCV, ddogleg, and georegression. I pushed a few updates last night and I think you might have missed one of them.

@jpmanson
Copy link
Author

...I'm using the last updates you pushed last night. The problem is in ModelMatcherTranGivenRot Class, with the following methods:
@OverRide
public Vector3D_F64 getModelParameters() {
return alg.getModelParameters();
}

@OverRide
public double getFitQuality() {
return alg.getFitQuality();
}

I don´t see that variable "alg" (of type Ransac) implement that methods. In Ransac.java, I only see a method getModel(), but no getModelParameters() or getFitQuality().....Are you using the official DDogleg v0.3 or is a customized version?

Thanks again,
Juan Pablo

@lessthanoptimal
Copy link
Owner

I'm using the latest git code for all those libraries. I also just went through and pushed the latest source code to git. Try updating the code again. If that doesn't work double check that you aren't linking to a jar file instead of the source code in your IDE. If it still doesn't work I'll do a fresh checkout of all the libraries.

@jpmanson
Copy link
Author

I'm compiling everything ok now. I'm building all using the ddogleg and georegression from source, using your other repos, to avoid outdated lib jars.
Thanks. This is an excellent project.
JP

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

No branches or pull requests

2 participants