Task 2: Write a Matlab code to create the following
images:
a) 256 × 150 image that have 256 colors on it
starting 0 till 255 (the first row is black, the last row is white,
and in between all the gray shades).
b) 280 × 280 1-bit binary image that have 3
interlaced squares of size (50×50) on it.
c) 300 × 300 8-bit gray image that have 3
interlaced squares of size (50×50) on it.
d) 300 × 300 24-bit colored image that have 3
interlaced squares of size (50×50) on it.
Task 2: Write a Matlab code to create the following images: a) 256 × 150 image that have 256 colors on it starting 0
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am