Skip to content

fix missing 0.5 factor in anisotropic segmentation tutorial#18225

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
dmici:fix_missing_0.5_factor_in_anisotropic_segmentation_tutorial
Sep 1, 2020
Merged

fix missing 0.5 factor in anisotropic segmentation tutorial#18225
opencv-pushbot merged 1 commit intoopencv:3.4from
dmici:fix_missing_0.5_factor_in_anisotropic_segmentation_tutorial

Conversation

@dmici
Copy link
Copy Markdown
Contributor

@dmici dmici commented Aug 30, 2020

I found a typo in the tutorial "Anisotropic image segmentation by a gradient structure tensor" from the Image Processing module.

A factor 1/2 is missing in the computation of the eigenvalues of the structure tensor. The correct formula is the eq. 4 of this paper:
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.104.8552&rep=rep1&type=pdf

This pull request changes the text of the tutorial and the code of the python/cpp samples by inserting the 0.5 x factor.

@alalek
Copy link
Copy Markdown
Member

alalek commented Aug 31, 2020

@asmorkalov Do NOT create new labels without discussion / notification. There is already "category: documentation" label.

@asmorkalov asmorkalov added category: documentation Documentation fix or update and removed documentation labels Aug 31, 2020
Copy link
Copy Markdown
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

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

Thank you for contribution 👍

@opencv-pushbot opencv-pushbot merged commit f9fbd29 into opencv:3.4 Sep 1, 2020
@alalek alalek mentioned this pull request Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug category: documentation Documentation fix or update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants