image-rs / image-rs/imageproc

Support drawing oblique ellipse

Open
#409 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
979
Forks
181
Avg merge
5m
Merged PRs (30d)
4

Description

For an ellipse with center (u, v), semi-axis (a, b), angle θ, the circum points can be calculated from parametric equation and 2D rotation:

x = a cost cosθ - b sint sinθ + u
y = a cost sinθ + b sint cosθ + v
t ∈ [0, 2π)

To draw elliptic arc, set t ∈ [start_angle, end_angle].

Contributor guide

Open the contributing guide

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

No file, test, or entry point is named. Start by locating the existing ellipse and elliptic-arc drawing APIs and their tests, then compare their supported geometry with the supplied rotated parametric equations. Done means oblique ellipses and arcs render for the stated center, semi-axes, rotation, and angle bounds.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-vision
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.