I'm working with some image data of shape (x,y,3). Is a way to use a numpy construct like nditer
to iterate over the (r,g,b) tuples corresponding to pixels? Out of the box, nditer
iterates over the scalar values, but many numpy functions have something like a axis=
argument to change behavoirs like this.
Asked
Active
Viewed 116 times
0

seewalker
- 1,123
- 10
- 18