MegEngine / MegEngine/MegSpot

[Feature Request] 单独对某张图像使用特定的重采样算法、支持更多重采样算法

Open
#43 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Vue
Stars
604
Forks
53
PR merge metrics
No merged PRs in 30d

Description

1. 单独对某张图像使用特定的重采样算法
目前只能对所有图像同时使用相同的重采样方法,建议添加一个选项,可单独对一张图像使用特定的重采样算法。

2. 支持更多重采样算法
目前只有“最邻近”和“双线性”两个选项,但常使用的、质量较好的重采样算法是 Lanczos,除此之外常用的重采样算法还有 Lanczos 2、Cubic 等。重采样算法不同会使图像看起来有很大不同。

这两项功能可使对比重采样算法之间的差异变得更方便。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name files, tests, or entry points. Start by locating the current global resampling setting and the existing nearest-neighbor and bilinear algorithm choices. Done means each image can select its own method and the requested additional algorithms, including Lanczos and Cubic, are available for comparison.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.