Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Clipping Algorithms #245

Closed
ashwanirathee opened this issue Mar 26, 2021 · 2 comments
Closed

Image Clipping Algorithms #245

ashwanirathee opened this issue Mar 26, 2021 · 2 comments

Comments

@ashwanirathee
Copy link
Member

Clipping in computer graphics is to remove objects, lines, or line segments that are outside the viewing pane.
In line clipping, we will cut the portion of line which is outside of window and keep only the portion that is inside the window
Will be quite useful for ImageView and,best application would be to cut and download selected pieces from a image.
Polygon clipping would be the pretty useful for other purposes too in my opinion,since it will be most flexible. For example: JuliaImages/ImageDraw.jl#53

  • Cohen-Sutherland Line Clippings
  • Cyrus-Beck Line Clipping Algorithm
  • Polygon Clipping SutherlandHodgmanAlgorithm

References:

@ashwanirathee
Copy link
Member Author

An important issue would be able to pin points(vertices) in the image in ImageView imshow tool then use imagedraw.jl with it.I'm not sure if it's already there.That will increase the interactivity scope by quite a lot imo.

@timholy
Copy link
Member

timholy commented Oct 3, 2021

Tinker.jl has been the intended target for a drawable interactive canvas based on ImageView. Can you move this issue there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants