Skip to content

Conversation

StevenPuttemans
Copy link

New functionality to thin out blobs if desired. Used it to perform skeletization on segmented blobs in fingerprints, to find minutae (intersections). Example of application can be seen below:

9757_06_10

void thinning(InputArray _input, OutputArray _output);

// Applies a thinning iteration to a binary image
void thinningIteration(Mat img, int iter){
Copy link
Member

Choose a reason for hiding this comment

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

Use "static" here.
Remove all these function prototypes.
Add include "opencv2/ximgproc.hpp"

Copy link
Author

Choose a reason for hiding this comment

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

Okay will do so! Could you explain why the Ni Black hasn't got the ximgproc include but doesnt trigger an issue with the -Wmissing declarations?

Copy link
Member

Choose a reason for hiding this comment

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

Well, additional include is not required. It is done in precomp.hpp file

Copy link
Author

Choose a reason for hiding this comment

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

Well but if i do not add the prototypes then I get this error when building locally. Will see what buildbot says.

@alalek
Copy link
Member

alalek commented Aug 18, 2016

Thank you! 👍

@opencv-pushbot opencv-pushbot merged commit 5f816bb into opencv:master Aug 24, 2016
@StevenPuttemans
Copy link
Author

Thank you!

@StevenPuttemans StevenPuttemans deleted the add_thinning_algorithm branch August 24, 2016 13:18
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

Successfully merging this pull request may close these issues.

3 participants