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

A few questions #6

Open
WindowsNT opened this issue Feb 17, 2021 · 1 comment
Open

A few questions #6

WindowsNT opened this issue Feb 17, 2021 · 1 comment

Comments

@WindowsNT
Copy link

Seems nice, but:

  1. Isn't sean carving for resizing only?
  2. Your example, the end result is resized
  3. What's the format of the mask image?
@zavolokas
Copy link
Owner

@WindowsNT

  1. Seam carving removes pixels that have least importance for perception. What you can do is to mark areas that you think not important and run the algorithm.
  2. You are right. It is resized. However it is possible to resize it back to the original size.
  3. It is any format that supports alpha channel. In the example I used a PNG file for the mask.

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

No branches or pull requests

2 participants