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

DM-1364 set specific MeasurementError's for SdssCentroidAlgorithm #12

Merged
merged 1 commit into from Mar 29, 2015

Conversation

jdswinbank
Copy link
Contributor

PR for review.

@@ -232,7 +242,8 @@ void doMeasureCentroidImpl(double *xCenter, // output; x-position of object
double *sizeX2, double *sizeY2, // output; object widths^2 in x and y directions
double *peakVal, // output; peak of object
MaskedImageXy_locatorT mim, // Locator for the pixel values
double smoothingSigma // Gaussian sigma of already-applied smoothing filter
double smoothingSigma,// Gaussian sigma of already-applied smoothing filter
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be a space after the ,

These new flags correspond to the errors in the original algorithm:

not_at_maximum when the centroid is at a point lower than surround
no_2nd_derivative when the 2nd derivative around the point is <= 0
almost_not_at_2nd_derivate when it is too small around the point
@pgee2000 pgee2000 merged commit 6f11e7d into master Mar 29, 2015
@ktlim ktlim deleted the u/pgee/DM-1364 branch August 25, 2018 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants