Skip to content

GaussianBlur method, strange border on both ends #15015

@nakamichi3011

Description

@nakamichi3011
System information (version)
  • OpenCV => 4.1.0
  • Operating System / Platform => Windows 10 Pro 64bit (10.0, build 17763)
  • Compiler => Visual Studio 2017 or Python 2.7.15
Detailed description

When using GaussianBlur, when Width = 5 and SigmaX = 9, strange lines are visible at both ends of the image.

Steps to reproduce

Source image
test

Output image
output

below code is same thing happens C++.

# coding: utf-8

import numpy as np
import cv2

print('OpenCV version : ' + cv2.__version__)

img = cv2.imread('test.bmp')

gau1 = cv2.GaussianBlur(img, (5,5), 8)
gau2 = cv2.GaussianBlur(img, (5,5), 9)
gau3 = cv2.GaussianBlur(img, (5,5), 10)

cv2.imshow('origin', img)
cv2.imshow('gau1', gau1)
cv2.imshow('gau2', gau2)
cv2.imshow('gau3', gau3)

cv2.waitKey(0)
cv2.destroyAllWindows()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions