Effacer les filtres
Effacer les filtres

How to use the slice command to visualize one image into two intersecting planes?

2 vues (au cours des 30 derniers jours)
Hi, I need to visualize one image in two intersecting planes. The attached picture shows an example of what I want to do. However, it uses an equation (V = X.*exp(-X.^2-Y.^2-Z.^2);) while I want to insert my image instead.
[X,Y,Z] = meshgrid(-2:.2:2);
V = X.*exp(-X.^2-Y.^2-Z.^2);
xslice = 0;
yslice = [];
zslice = 0;
slice(X,Y,Z,V,xslice,yslice,zslice)

Réponses (1)

Walter Roberson
Walter Roberson le 30 Déc 2022
use improfile() or interp2() to get a line through a plane.

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by