Image size reduction by averaging pixels into one
Afficher commentaires plus anciens
Hello, I want to reduce the size of an image by averaging every 4 neighbouring pixels into 1 pixel of the output image. This should help me to get an N/2 x N/2 image from an N x N image.
I was using a kernal = ones(2) and conv2(). But I was not able to get the dientions to half of the original image. Can you please help?
Thank you.

Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Image Segmentation and Analysis dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!