Navigation Menu

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

ConnectedComponent Area Property #517

Closed
bseay opened this issue Sep 13, 2019 · 2 comments
Closed

ConnectedComponent Area Property #517

bseay opened this issue Sep 13, 2019 · 2 comments
Milestone

Comments

@bseay
Copy link

bseay commented Sep 13, 2019

ImageMagick's ConnectedComponents feature exposes an area for each component it detects (an example of this can be seen in their documentation here: https://imagemagick.org/script/connected-components.php ) when you set the command line parameter: -define connected-components:verbose=true

Notice that the area is not just the width * height of the bounding region of the component; it is actually the pixel count of the component itself.

My request is that you expose this area as a property on the ConnectedComponent object.

@dlemstra
Copy link
Owner

For some reason this property is already available in the native library but not in Magick.NET. I just pushed a patch to add this in the next release that should be available very soon.

@bseay
Copy link
Author

bseay commented Sep 13, 2019

Thank you!

@bseay bseay closed this as completed Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants