Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boundary at lower image edge does not appear in 3D #663

Open
tbirdso opened this issue May 23, 2023 · 1 comment
Open

Boundary at lower image edge does not appear in 3D #663

tbirdso opened this issue May 23, 2023 · 1 comment
Assignees

Comments

@tbirdso
Copy link

tbirdso commented May 23, 2023

Overview

An image region that extends to the border of the region is not rendered with a boundary at the image edge.

Expected behavior

There is a visible border distinction in 3D volume rendering separating image contents from the background outside of the image.

Observed behavior

No border is drawn at the lower edge of an image whose feature region extends to the lower bounds of the image.

Minimum Reproducible Example

arr1 = np.zeros([25,25,25], dtype=np.uint8)
arr1[:15,:25,:15] = 1
image1 = itk.image_view_from_array(arr1)

itkwidgets.view(image1)

min-example-bounds

Platforms

itkwidgets 1.0a33
itk v5.3.0
Python 3.8 / JupyterLab 3.0.9 (CodeOcean)
Google Chrome
Windows 10

Notes

Behavior may be due to default vtk-js handling of volume rendering at image bounds, uncertain whether there are parameters that could be tweaked to addressed.

cc @PaulHax

@thewtex
Copy link
Member

thewtex commented May 26, 2023

Let's start with bounding box visualization support to see if it addresses the need here, and go from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants