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

Enhancements to imshow #3

Open
hansenms opened this issue Jan 31, 2015 · 6 comments
Open

Enhancements to imshow #3

hansenms opened this issue Jan 31, 2015 · 6 comments

Comments

@hansenms
Copy link
Member

We should add:

  • Colorbar
  • Some way of looking at pixels
@inati
Copy link
Contributor

inati commented Jan 31, 2015

What do you mean by looking at pixels? Do you mean clicking on a point to get its value?

@hansenms
Copy link
Member Author

hansenms commented Feb 1, 2015

@inati, yes, something like that. Ability to plot a like would be great too and drawing a circle or something.

@hansenms
Copy link
Member Author

hansenms commented Feb 1, 2015

I added an option to get a colorbar.

@naegelejd
Copy link
Contributor

I wrote a simple event handler for click events and I can print the value
of the selected point to the terminal, but I'm not sure how useful that is.
Would you rather it pop up in a message box, appear dynamically in the
original plot window, or something else?

Joe Naegele
[email protected]
josephnaegele.com
301.676.1403

On Sun, Feb 1, 2015 at 4:04 PM, Michael Hansen [email protected]
wrote:

I added an option to get a colorbar.


Reply to this email directly or view it on GitHub
#3 (comment)
.

@hansenms
Copy link
Member Author

hansenms commented Feb 3, 2015

I will take a look at what you did, but I think we should probably sit down and discuss what functionality we would like and how hard it is to do.

@grlee77
Copy link
Contributor

grlee77 commented Oct 9, 2015

here are a couple resources of possible interest:

For interactive 2D plotting and the ability to draw lines for plotting line profiles, etc. there is some nice code in the viewer module of scikit.image. specific example:
https://github.com/scikit-image/scikit-image/blob/master/viewer_examples/plugins/lineprofile.py
The viewer displays coordinates and corresponding pixels values as well.

There is also a pretty good interactive orthogonal slice viewer for 3D/4D volumes proposed in this PR for nibabel:
nipy/nibabel#251

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

No branches or pull requests

4 participants