8 bit of size 256*256 grey image for testing

41 ビュー (過去 30 日間)
Majid Al-Sirafi
Majid Al-Sirafi 2015 年 11 月 23 日
コメント済み: punam panda 2017 年 11 月 19 日
hi every one please I want copy of 8 bit of size 256*256 grey image for such as lena, Baboon, Peppers
  1 件のコメント
punam panda
punam panda 2017 年 11 月 19 日
can you please send me the same to punampravapanda17@gmail.com

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2015 年 11 月 24 日
imread() the color image, rgb2gray() it, imresize() it to 256 x 256 or imresize() it to 256 on the shorter side and imcrop() the rest of the longer side away if the image is not originally square.
  1 件のコメント
Majid Al-Sirafi
Majid Al-Sirafi 2015 年 11 月 24 日
thanks a lot

サインインしてコメントする。

その他の回答 (1 件)

Image Analyst
Image Analyst 2015 年 11 月 24 日
Lena is available here: http://www.cs.cmu.edu/~chuck/lennapg/ or here: http://www.lenna.org/full/len_full.html. Note: the second link is the full image which contains nudity. Playboy has given permission to use the cropped version in research.
Peppers is a standard demo image that ships with the Image Processing Toolbox. You can get a gray scale version like this
rgbImage = imread('peppers.png');
grayImage = rgb2gray(rgbImage);
imwrite(grayImage, 'grayPeppers.png');
To get the mandrill baboon demo image in gray scale, do this:
storedStructure = load('mandrill.mat')
rgbImage = ind2rgb(storedStructure.X, storedStructure.map);
grayImage = rgb2gray(rgbImage);
imshow(grayImage);
imwrite(grayImage, 'grayMandrill.png');
  1 件のコメント
Majid Al-Sirafi
Majid Al-Sirafi 2015 年 11 月 24 日
thanks a lot

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by