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

Added cv_detect_contour module #1798

Merged
merged 4 commits into from
Jul 13, 2016
Merged

Conversation

rmeertens
Copy link
Contributor

Revamped #1785
Now it works, code looks nice, no warnings and actually compiles.

extern float contour_d_x, contour_d_y, contour_d_z;

// values for thresholding the contour
extern int lower_y, upper_y, lower_u, upper_u, lower_v, upper_v;
Copy link
Member

Choose a reason for hiding this comment

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

these should probably be either passed as args to find_contour or at least grouped in a struct to not pollute the whole namespace with these rather generic names...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed! Done.

@flixr
Copy link
Member

flixr commented Jul 13, 2016

IMHO same goes for the whole contour result stuff...

@rmeertens
Copy link
Contributor Author

Done!

extern float contour_d_x, contour_d_y, contour_d_z;
struct contour_estimation{

float contour_d_x, contour_d_y, contour_d_z;
Copy link
Member

Choose a reason for hiding this comment

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

please fix indentation in this file...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@flixr flixr merged commit 86a5d2e into paparazzi:master Jul 13, 2016
@flixr flixr changed the title Added detect contour Added cv_detect_contour module Jul 13, 2016
@flixr flixr mentioned this pull request Jul 13, 2016
@rmeertens
Copy link
Contributor Author

Nice! Thank you very much.

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

Successfully merging this pull request may close these issues.

None yet

2 participants