True-North-Intelligent-Algorithms / tnia-python

A collection of useful python utilities from True North Intelligent Algorithms
BSD 3-Clause "New" or "Revised" License
27 stars 1 forks source link

Feature Request / Addition : 'Thick' Slice Projection #2

Closed eigenP closed 10 months ago

eigenP commented 10 months ago

Hello, I've been trying to plot orthogonal projections of 3D images and have found your plotting functions very useful. I wanted to replicate Imaris's extended orthogonal view (where one can pick an interval for each axis to do the max projection on, instead of a single slice or the entire volume) and made some minimal adjustments to your code to make that happen - just thought to share if it is of interest to anyone else -- I'm appending a link to a public colab notebook showing the differences. (also added layout = 'constrained' for the plot titles to be correctly displayed)

https://colab.research.google.com/drive/1rC-U72zaJZY9zBql8DcTNgSIXJaz9jIm?usp=sharing

Cheers,

bnorthan commented 10 months ago

Thanks a lot for contributing this. I added it in this commit.

If you have any other suggestions to improve this or anything else let me know.

eigenP commented 10 months ago

Thank you, will do!