0 / 34

Invite others

Progress

0 / 34

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], ...])
exercise.py
⌘⏎ run · ⌘← → nav
Output
Run your code to see output here.