Title: [ENH]: imshow support for multiple slice image volume · Issue #24360 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: imshow support for multiple slice image volume · Issue #24360 · matplotlib/matplotlib
X Title: [ENH]: imshow support for multiple slice image volume · Issue #24360 · matplotlib/matplotlib
Description: Problem I need to display an image volume with multiple slices, similar to sliceViewer in Matlab. However, the current imshow function only supports RBG(A) or 2D scalar data. Proposed solution The code example here shows how to display m...
Open Graph Description: Problem I need to display an image volume with multiple slices, similar to sliceViewer in Matlab. However, the current imshow function only supports RBG(A) or 2D scalar data. Proposed solution The ...
X Description: Problem I need to display an image volume with multiple slices, similar to sliceViewer in Matlab. However, the current imshow function only supports RBG(A) or 2D scalar data. Proposed solution The ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/24360
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: imshow support for multiple slice image volume","articleBody":"### Problem\r\n\r\nI need to display an image volume with multiple slices, similar to [sliceViewer](https://ww2.mathworks.cn/help/images/ref/sliceviewer.html) in Matlab. However, the current [imshow](https://matplotlib.org/stable/plot_types/arrays/imshow.html#imshow-z) function only supports RBG(A) or 2D scalar data.\r\n\r\n### Proposed solution\r\n\r\nThe code example [here](https://matplotlib.org/stable/gallery/event_handling/image_slices_viewer.html#image-slices-viewer) shows how to display multiple slice images, but there is a lot of code to write, which is not convenient. Maybe one solution is to provide a wrap function (i.e. `imshow_3d` or `slice_viewer`) that implements the example code somehow?","author":{"url":"https://github.com/ustcfdm","@type":"Person","name":"ustcfdm"},"datePublished":"2022-11-04T07:14:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/24360/matplotlib/issues/24360"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:913d8254-dc01-5209-3660-f4e04b130e9c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A8EE:2371E7:427C584:5CE40DE:6A50CC06 |
| html-safe-nonce | d4a59800eef009e9f3cfa2717d6e493f665d2f89bd6e9b7af1f2c89a2ea9fd25 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEVFOjIzNzFFNzo0MjdDNTg0OjVDRTQwREU6NkE1MENDMDYiLCJ2aXNpdG9yX2lkIjoiNjY5MzA4MzczNjU3MTk1NjIzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c0cb1cec2840b3d4a8b239c9118fdf81a539e9678d481850ae4a87128b0b3c12 |
| hovercard-subject-tag | issue:1435658493 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/24360/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3048727ada4a393fb0476081b22604635fe49c226ceae2de4052634cac3dda6a/matplotlib/matplotlib/issues/24360 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3048727ada4a393fb0476081b22604635fe49c226ceae2de4052634cac3dda6a/matplotlib/matplotlib/issues/24360 |
| og:image:alt | Problem I need to display an image volume with multiple slices, similar to sliceViewer in Matlab. However, the current imshow function only supports RBG(A) or 2D scalar data. Proposed solution The ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ustcfdm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 08e79d53fc070870d5b168356afebb1e286a2ffe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width