Interpolation method of IMAGE
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
When the size of the data displayed by the image command differs from the number of pixels used on the screen, the data must be interpolated.
- Which method is used for this interpolation?
- A user-defined property to control this would be fine.
- If I want to create a user-defined interpolation, it would be convenient to let it be triggered automatically, when the image is resized - e.g. be resizing the figure or modifying the axes positions. What is a secure way to catch all methods of resizing? Can we attach a callback? Maybe in the Java level? (Hi Yair!)
0 commentaires
Réponses (2)
Jan
le 23 Déc 2021
1 commentaire
Andreas Westlund
le 2 Mai 2022
Did you succeed in creating your own resize function? And would you mind sharing a code example?
yanqi liu
le 24 Déc 2021
yes,sir,may be default display size confused,such as
clc; clear all; close all;
x = zeros(640, 480, 3);
x(:, 1:2:end, :) = 1;
figure;
h=image(x);truesize
0 commentaires
Voir également
Catégories
En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!