Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.37 KB | None | 0 0
  1. obraz1 = imread('1.jpg');                         % Colour Image
  2. obraz11 = rgb2gray(obraz1);                       % Grayscale Image
  3. x = 0:size(obraz11,2)-1;
  4. y = 0:size(obraz11,1)-1;
  5. [X,Y] = meshgrid(x,y);                          
  6. figure(1)
  7. meshc(X, Y, obraz11)                              % Mesh Plot
  8. grid on
  9. xlabel('X')
  10. ylabel('Y')
  11. zlabel('Intensity')
  12. colormap jet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement