add wrap mode arg to st_warp

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

Maintainer thường phản hồi trong vòng 3 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp, python
Lĩnh vực
api, computer-graphics

Hướng nghiên cứu

Bắt đầu với điểm vào ImageBufAlgo.st_warp và các Python bindings của nó, sau đó so sánh cách ImageBufAlgo.warp cung cấp wrap mode. Công việc hoàn tất khi st_warp chấp nhận một tùy chọn wrap mode và các pixel ở cạnh tạo ra không còn mặc định là màu đen khi một mode khác được chọn.

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

Mô tả

Is your feature request related to a problem? Please describe.
The ImageBufAlgo.warp function provides the power to control the wrap mode - i.e. how to generate pixel values outside of the image's data window.
However, st_warp doesn't provide this - or at least doesn't via the Python bindings.

Describe the solution you'd like
Add warp mode to the ImageBufAlgo.st_warp function

Describe alternatives you've considered
I was wondering about giving access to the Filter2D class in Python, or some new class which represents the combination of a filter and some other options like wrap mode. For any functions which use these options you just pass in an object holding all the option values.

Additional context
While comparing warped images made by OIIO vs. Nuke, the former has darker edges, because black outside is the default for st_warp.

Ngôn ngữ chính
C++
Star
2.4k
Fork
727
Merge trung bình
4 ngày 8 giờ
Pull request đã merge (30 ngày)
67

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 khác của AcademySoftwareFoundation/OpenImageIO

Tất cả issue của AcademySoftwareFoundation/OpenImageIO

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.