AnAriyan

Image Basic (Image Proccessing)

Oct 15th, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.59 KB | None | 0 0
  1. % img  =  imread('peppers.png');
  2. %  imshow(img);
  3. %  imwrite(img,'output.bmp','bmp');
  4. %  a = imread('output.bmp');
  5. %   figure(),imshow(a);
  6.  
  7.  
  8. % create you own image
  9. % row = 256;
  10. % col =256;
  11. % img = zeros(row,col);
  12.  
  13. % join two image together
  14.  
  15. % img(100:110,:)=0.5;
  16. % img(:,100:110)=1;
  17. % figure(),imshow(img);
  18. % A = imread('football.jpg');
  19. % B = imread('peppers.png');
  20. %
  21. % C = imresize(A,[256 256]);
  22. % D = imresize(B,[256 256]);
  23.  
  24. % sum =  D+C;
  25. %
  26. % subplot(3,3,1)
  27. % figure(),imshow(sum);
  28.  
  29. %   A = imread('football.jpg');
  30. %   I = Image_MatrixageQuantize(A,8);
  31. %   figure(),imshow(I);
Advertisement
Add Comment
Please, Sign In to add comment