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

`rotate/affine` requires specific `filters` for images and labels.

Đang mở
#271 0 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 1 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
60/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
r
Lĩnh vực
data

Hướng nghiên cứu

Start in R/trans.R around lines 103-122, where the rotate/affine code passes a filter to EBImage. Check how that filter is set for images and labels, then find where the label path can get none without changing the image path. Done when labels are resampled with nearest-neighbour so their pixel values are preserved, images keep bilinear, and the API for choosing the filter per input is settled.

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

Mô tả

See filter argument of EBImage.
https://rdrr.io/bioc/EBImage/man/spatial.html

Ideally, we wanna apply bilinear filter for regular images, but masks/labels should use none (nearest neighbor sampling) to preserve pixel values. The default value apples bilinear to labels too.

https://github.com/HelenaLC/spatialdataR/blob/fc1c8cfc0fd75d31a4aa9ed51bccfe7a20b459a0/R/trans.R#L103-L122

Ngôn ngữ chính
R
Star
37
Fork
10
Merge trung bình
22 giờ 46 phút
Pull request đã merge (30 ngày)
20

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 HelenaLC/spatialdataR

Tất cả issue của HelenaLC/spatialdataR

Issue tương tự

Thêm issue về R

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.