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

Suggested for 'plot' #19

Closed
dorianps opened this issue Mar 12, 2015 · 10 comments
Closed

Suggested for 'plot' #19

dorianps opened this issue Mar 12, 2015 · 10 comments

Comments

@dorianps
Copy link
Collaborator

  1. Enable adding a title to the plot.
  2. Crop better the image so it doesn't plot in two rows when not necessary.
  3. Fix slices='84x84x1' so it gets simply slices=84, or better slices=84:90, or slices=c(20,32,56) for multiple images.
@stnava
Copy link
Member

stnava commented Mar 13, 2015

also color bar ....

this simple example should also work much better

mni<-antsImageRead( getANTsRData("ch2") , 3 ) 
plot( mni )

@dorianps
Copy link
Collaborator Author

btw, just updated to latest antsr and plot now diplays stretched images.
image

@bkandel
Copy link
Collaborator

bkandel commented Mar 13, 2015

The numeric vector for specifying slices should work.

No idea where the squished images came from. I'll take a look at that.

@bkandel
Copy link
Collaborator

bkandel commented Mar 13, 2015

Squished images should be fixed now, and a basic version of colorbar works. Still working on getting the proportions done reasonably.

@bkandel
Copy link
Collaborator

bkandel commented Mar 13, 2015

It is possible to add a title to both the image and colorbar now, but location is still an issue. Automatic image cropping also works now.

@dorianps
Copy link
Collaborator Author

It's working now, thanks.

I am having an issue with images cropped to a single slice. They should appear full slice on the image, but they still appear as a raw with only a slice at the beginning. Not sure this needs a fix, the problem is cropImage and cropIndices, which produce still a 3D image even when a single slice is selected. Will post this on another issue.

@bkandel
Copy link
Collaborator

bkandel commented Mar 16, 2015

Another suggestion from Dorian: Separate auto-slice selector from cropping
the image, so you can have one without the other.

2015-03-14 22:42 GMT-04:00 dorianps notifications@github.com:

It's working now, thanks.

I am having an issue with images cropped to a single slice. They should
appear full slice on the image, but they still appear as a raw with only a
slice at the beginning. Not sure this needs a fix, the problem is cropImage
and cropIndices, which produce still a 3D image even when a single slice is
selected. Will post this on another issue.


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

@dorianps
Copy link
Collaborator Author

  1. Change plotting to stack slices in a 4:3 format instead of a single line.
  2. Title and colorbar are not in correct position.

@bkandel
Copy link
Collaborator

bkandel commented Mar 20, 2015

Also title doesn't work at all unless colorbar is enabled.

2015-03-20 16:35 GMT-04:00 dorianps notifications@github.com:

Change plotting to stack slices in a 4:3 format instead of a single
line.
2.

Title and colorbar are not in correct position.


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

@stnava
Copy link
Member

stnava commented Jan 19, 2016

i think most of this is addressed now.

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