What is the difference between bilinear image resizing and averaged downsampling

16 visualizzazioni (ultimi 30 giorni)
I note imresize has the method option 'bilinear'. Does this method have the same effect as averaged downsampling? For example, given an image A, imresize(A,0.5,'bilinear'), is this equivalent to 2*2 averaged binning? How is the bilinear resizing implemented by Matlab?

Risposta accettata

Nikhil Sonavane
Nikhil Sonavane il 14 Apr 2020
Modificato: Nikhil Sonavane il 14 Apr 2020
I would suggest you refer imresize which states that "Bilinear interpolation; the output pixel value is a weighted average of pixels in the nearest 2-by-2 neighborhood".
You may also refer to interpolation methods for further details about implementation.

Più risposte (0)

Categorie

Scopri di più su Read, Write, and Modify Image in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by