eeconv2(kernel,targetMat)
result = eeconv2(kernel,targetMat)
I wanted a program to have a kernel (kernel) convoluted with an image (targetMat) using edge extension rather than the MATLAB default padding with zeros; the resulting matrix (result) is the same size as the original image. This program does not require any toolkits.
It assumes:
-kernel is odd (e.g., 3x3, 5x7) so that there is a center pixel
- minimum kernel is 3x3
- maximum kernel is the size of the target matrix
This is my first such program; let me know if it is useful and if you have issues so that I can address them. Thank you!
Cite As
Jason Moscatello (2025). eeconv2(kernel,targetMat) (https://se.mathworks.com/matlabcentral/fileexchange/62776-eeconv2-kernel-targetmat), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Object Analysis >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
