Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Update pixelmatch-cpp to match the current JavaScript implementation

Đang mở
#10 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp, javascript
Lĩnh vực
computer-vision

Hướng nghiên cứu

So sánh triển khai pixelmatch-cpp hiện có với triển khai JavaScript pixelmatch 7.2.0 hiện tại, trước tiên tập trung vào metric chênh lệch màu. Xác định phạm vi port OKLab + HyAB và các thay đổi khác; công việc được xem là hoàn tất khi kết quả diff khớp với kết quả JavaScript đối với cùng hình ảnh và cấu hình.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

question

Hi,

I noticed that pixelmatch-cpp appears to be based on an older version of the JavaScript implementation and is no longer fully aligned with the current pixelmatch.

The current JavaScript version is 7.2.0, while the C++ implementation still appears to use the older YIQ-based color-difference metric. The current JavaScript implementation has since moved to OKLab + HyAB for color comparison.

This raises a couple of questions:

Is there a plan to update pixelmatch-cpp to match the current JavaScript implementation?
Is behavioral compatibility between the C++ and JavaScript implementations a goal?
If so, would it be possible to port the newer color-difference algorithm and other changes from the current JavaScript version?
In particular, it would be useful to have the C++ implementation produce the same diff results as the current JavaScript implementation when given the same images and configuration.

I'm interested in using Pixelmatch from a native C++ application without requiring Node.js, so having a current C++ implementation would be very useful.

Thanks!

Ngôn ngữ chính
C++
Star
48
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.