InsightSoftwareConsortium / InsightSoftwareConsortium/itkwidgets

Cannot overlay point set on image

Open
#606 1 comment 0 reactions 1 assignee Claimed by @bnmajor View on GitHub
Dominant language
Python
Stars
624
Forks
83
PR merge metrics
No merged PRs in 30d

Description

## Summary

Passing an image and a point set that are in correspondence to an `itkwidgets.view` results in only the image being displayed.

## Expected behavior

In the 0.32.5 release calling `itkwidgets.view(image, point_sets=points)` would result in both the image and point set being overlaid in the 3D scene.

## Observed behavior

Image is shown but no points are visible in the scene. Overlay shows no evidence that point set is displayed.

![image-no-points](https://user-images.githubusercontent.com/40648863/214319283-de606a1d-d438-4b03-ab44-fd6459a791b7.png)

![image-no-points-with-overlay](https://user-images.githubusercontent.com/40648863/214319383-1c9f7e92-a7df-4b51-b3e2-b3ee9a9525dc.png)

## Versions

itkwidgets==1.0a22
itk==v5.3.0
notebook==6.1.6

## Platforms

Windows 10
Google Chrome browser

## Additional Notes

- The image I am trying to show has a non-identity direction matrix and depends on the fix in https://github.com/InsightSoftwareConsortium/itkwidgets/issues/596, therefore I cannot downgrade to 0.32.5.
- Could be related to https://github.com/InsightSoftwareConsortium/itkwidgets/issues/605. I cannot see points when I drag the scene around, but it is possible that they are simply very small.

cc @thewtex @PaulHax

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.