fix: resolving carving issue on image enlargment (#65)

This commit is contained in:
esimov
2021-06-16 16:19:18 +03:00
parent 9b306380da
commit d3da34e80d
6 changed files with 69 additions and 79 deletions

View File

@@ -122,7 +122,7 @@ func (c *Carver) ComputeSeams(img *image.NRGBA, p *Processor) error {
}
if p.BlurRadius > 0 {
srcImg = StackBlur(sobel, uint32(p.BlurRadius))
srcImg = c.StackBlur(sobel, uint32(p.BlurRadius))
} else {
srcImg = sobel
}