You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getting all the pixel values of an image along a line
computing the flux inside a polygon
The text was updated successfully, but these errors were encountered:
bmatthieu3
changed the title
Iterators over line/circle/polygon on the pixels of the image data
Iterators over line and polygon on the pixels of the image data
Jan 24, 2025
From the image data iterator that read all the pixels of an image data unit, it could be great to get special methods
that would impl something like brensenham to only seek over the pixels in the line between (x1,y1) to (x2,y2)
that would only seek and return all the pixels inside a polygon (see https://medium.com/@dillihangrae/scanline-filling-algorithm-852ad47fb0dd)
These methods would be useful in astronomy for:
The text was updated successfully, but these errors were encountered: