Generate a two-dimensional square and rectangular shape digital image.
19 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Adam Franco
am 30 Aug. 2016
Beantwortet: Image Analyst
am 30 Aug. 2016
The digital image should be 20 x 20 pixels in size and a complete white object against a black background.
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 30 Aug. 2016
Something like
grayImage = zeros(20,20, 'uint8');
grayImage(10:14, 4:12) = 255;
imshow(grayImage, []);
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Segmentation and Analysis finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!