Scenario
Image Pixel Manipulation
๐ Context
You're working with a small 4ร4 grayscale image represented as a NumPy array. You need to manipulate pixel values โ normalize, threshold, and invert.
1
2
3
Step 1: Create Image Data
๐ฏ Task
Create a 4ร4 array image with pixel values:[[10,50,200,255],[30,80,150,220],[0,100,180,240],[60,120,90,170]]
Print it.
np.array([[10,50,200,255], ...])
โโ run ยท โโ โ nav
โถ Output
Run your code to see output here.