Talk:Image convolution: Difference between revisions

Border Handling: fixed "partial convolution" idea
(Added section: Border Handling)
(Border Handling: fixed "partial convolution" idea)
 
Line 17:
 
==Border Handling==
I don't know if this is common knowledge that I'm missing, but maybe the task should specify how to handle the border pixels. I think the standard method is padding the image with zeroes (or something of that equivalence) so that the convolution can be taken on all pixels. Some functions, like edge-detection, are benefited from the zero-padding. Others, like smoothing or blurring, are benefited more by not padding and not taking the convolution on the border pixels,. orMaybe the kernal matrix could be adapted on a step-by-step doingbasis some(at kindleast offor partialthe convolutionborder usingpixels) onlyto still process the border, but normalize the weight of the valid pixels that will be processed (e.g. if on left edge and ker = [0.25 0.5 0.25] the kernal will be adjusted to [0 0.666 0.333] before taking convolution of those pixels).
 
I would suggest making it clear which should be used in the task, and perhaps make other options extra credit.--[[User:Ooorah|Ooorah]] ([[User talk:Ooorah|talk]]) 13:54, 30 June 2014 (UTC)
Anonymous user