enthought / enthought/mayavi

3D imshow?

Open
#565 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
316
Avg merge
7h 44m
Merged PRs (30d)
5

Description

I am currently using Mayavi to show 3D microscopy images using ```points3d``` by displaying pixels above a threshold intensity while ignoring all other pixels. The resulting image resembles a 3D equivalent of the microscopy images I would see using ```imshow``` in Matplotlib, but I have had difficulty rendering points to look like the original pixels. Here is an example of the original 2D image (left) and the 3D image of the yellow box area using ```points3d``` rendered in Mayavi (right):

![image](https://user-images.githubusercontent.com/1258953/33187116-595cbae6-d044-11e7-9258-03c0da418ff3.png)

Sphere and cube glyphs are the closest I have found to resemble pixels but appear "bubbly" or "blocky" compared with the original pixels. Interpolation or smoothing might help. Is there a 3D equivalent function to ```imshow``` in Mayavi, or a way to render points closer to pixels in the original underlying stack of images?

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.