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
With Near I can select the nearest pixel at a given position. Is there an easy way to select multiple pixels surrounding this position.
This is what I came up with:
The idea is to allow Near and At to accept a Tuple{A,B} and return a range in that case. I think that branch should already do what you want with Near(ypos1, ypos2). Although you wont always get the same size range back...
With Near I can select the nearest pixel at a given position. Is there an easy way to select multiple pixels surrounding this position.
This is what I came up with:
This is a bit annoying to writeout and also one has to make sure, that the direction is correct when the stepsize is negative.
The text was updated successfully, but these errors were encountered: