laixintao / laixintao/slic-python-implementation

计算梯度时候,应该三通道按abs绝对值求和,否则有正有负,move_cluster函数if new_gradient < cluster_gradient:判断有误,这里是移向梯度小的区域中心,负的大值反而小,却移动了

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

Nobody has claimed this yet.

Dominant language
Python
Stars
228
Forks
82
PR merge metrics
No merged PRs in 30d

Description

This issue has no description.

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

Start by locating the move_cluster function, which the issue identifies as the affected entry point. Trace how the three color-channel gradients are combined before the new_gradient comparison. Done means the comparison reflects the absolute summed gradient across channels and the existing image-processing behavior is covered by a relevant verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.