Invalid streamlines for software
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
- 25/100
Hướng nghiên cứu
Bắt đầu bằng việc xem xét issue dựa trên đặc tả TRX và hành vi hiện có của scil_remove_invalid_streamlines.py. Xác định cách xử lý mặc định đã thống nhất cho các streamline rỗng, chỉ có một điểm, chồng lấn, nằm ngoài giới hạn và có tọa độ vô hạn, sau đó xác định phần triển khai và các bài kiểm thử bị ảnh hưởng; được coi là hoàn tất khi phạm vi và hành vi mong đợi đã được ghi lại và xác minh.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
This is outside of the scope of the specification, but it is related to what is written inside of the 'container'.
Even if it is true that someone could write what he/she wants in the file and get away with it for internal use, it could be nice to discuss what we DO NOT want to see when we share files.
-
For example, at the SCIL (and to some extend in Dipy), streamlines with 0 points are problematic (I think it cannot be written or loaded by Nibabel. I believe no software should play with this idea. In the TRX that would be achieved by having two sequential identical offset values. This should absolutely be against the specification, offsets should have unique, always increasing values.
-
At the SCIL, streamlines with 1 point are not considered streamlines. It can be written in TRK/TCK and is somewhat useful for some visualization (Workaround some tools to show only endpoints) and mostly debug. I think that for "normal" data generation of tractogram streamlines with only 1 point should be removed by default. Leaving a --debug_single_point is acceptable.
-
Streamlines with 2 perfectly overlapping point, a step-size below 1x10^-6, are problematic for some software. Furthermore, since TRX supports float16 this would become perfect zero and that could be a problem. I think these should be removed by default. Leaving a --debug_overlap_point is acceptable.
-
Finally, it would be nice that streamlines do not end up out of the volume used to generate them. That's true in RASMM as well as VOX. Why would a streamline be outside of the data? Of course, it can be written and even loaded in most software and be usable data. BUT it would be nice if we had an agreement not to write streamline like that in "normal" data generation of tractogram. Leaving a --debug_outside_bbox is acceptable.
Related to this issue, I saw more than once single point streamlines or entire streamlines at -INF or +INF, or streamlines having their last/first points at -INF or +INF, which was causing rendering issues with automatic camera position (MITK, TrackVis), etc. So removing them not only makes sense it could help a bit.
Internally we have a scil_remove_invalid_streamlines.py that removes any streamline of these 3 cases, so I am sure we can deal with this ourselves. But in an effort to bring more unity to the field and facilitate the exchange of data and limits corner case for everyone in every tools/library it would be nice that the default case is more stable.
This is similar to reserved keyword/tag for metadata and header, nothing is forcing anyone except the desire to make it easy to exchange data.
PS : I mentioned the TRX for 'fun fact', but this is actually relevant for any file format past, present or future.
- Ngôn ngữ chính
- Python
- Star
- 27
- Fork
- 20
- Merge trung bình
- 2 ngày 25 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của tee-ar-ex/trx-python
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
tee-ar-ex/trx-python#85 · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
tee-ar-ex/trx-python#77 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
tee-ar-ex/trx-python#72 · 3 bình luận ·
-
Circular Dependency for DIPY ?Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
tee-ar-ex/trx-python#51 · 23 bình luận ·
-
Allow other types into `append`Đang mởgood first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
tee-ar-ex/trx-python#39 · 1 bình luận ·
Tất cả issue của tee-ar-ex/trx-python
Issue tương tự
-
fix(accounts): Balance Sheet and Profit and Loss crash on PostgreSQL due to MySQL force_indexĐang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Discord webhook notifications fail with HTTP 403 (Cloudflare blocks default urllib User-Agent)Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
tharje/spooler-v2#20 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Bump version of azure-servicebusCó thể đã có người làm @joostlek đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
home-assistant/core#186275 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100