Skip to content

Fix elliptical gaussianBlur #276

@gr5

Description

@gr5

There's a feature where you check a box in "configuration" "mirror" called "elliptical flat or nulled optics".

When this is checked and you check gaussian blur in results tab, it turns the edge.

This can be fixed by changing from cv::gaussianBlur() to CropGaussianBlur() but you have to pass the vertical axis ratio to cropGaussianBlur and you have to modify CropGaussianBlur to take one more parameter and deal with making the elliptical mask.

If someone does this you need to pay extreme attention to the size/shape of the blur mask because if you are off by a pixel on the radii (vertical and horizontal) you will get bad results; results visible in the 3d view.

You might have to shrink the outer border by 1 or 2 pixels to match the data going into CropGaussianBlur.

Elliptical feature is not used much so this was put on the back burner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions