Comments (5)
Ah, yes, that makes sense. It probably depends on how R computes quantiles
of a totally uniform distribution. We can correct this.
2015-03-18 16:50 GMT-04:00 dorianps [email protected]:
predlabel2 = predlabel*0
plot(predlabel2)
Error in if (window.img[1] == window.img[2]) window.img[1] <- min(x) :
missing value where TRUE/FALSE needed—
Reply to this email directly or view it on GitHub
#31.
from antsr.
Since we are here, you may want to add something that checks if image is a label image, like
length(labels(as.factor(as.array(img))))<10
and keep the window 0 to max.
Some labels don't appear with automatic windowing. Problem is that the code above is kind of slow.
from antsr.
We should have better support for labeling anyway. We currently assume the
overlay is basically continuous; if we deal with labels correctly, we
should have a specific list of colors, not a heatmap-type visualization.
2015-03-18 16:57 GMT-04:00 dorianps [email protected]:
Since we are here, you may want to add something that checks if images is
a label images, like
length(labels(as.factor(as.array(img))))<10and keep the window 0 to max.
Some labels don't appear with automatic windowing. Problem is that the
code above is kind of slow.—
Reply to this email directly or view it on GitHub
#31 (comment).
from antsr.
Yeap, need to make 0 value transparent on overlay.
Also, alpha setting still doesn't work (compiled yesterday at 4pm).
from antsr.
Fixed this issue. As for the labels: Setting the window.overlay to the max and min values of the labels and setting the colorbar to "rainbow" should work pretty well.
from antsr.
Related Issues (20)
- ERROR: Parsing error: The keyword 'const' is reserved
- Errors in buliding ANTsR vigniettes HOT 1
- AAL template extends beyond MNI cortical surface HOT 7
- installation problem antsLibs() Makevars:6: *** missing separator. Stop. HOT 5
- Error
- antsMotionCalculation Error HOT 1
- colorbar key for antsrSurf HOT 6
- Installation fail with devtools HOT 5
- details about mnib HOT 1
- Failing on ITK when running LINDA HOT 6
- Proper similarity metric for Affine registration HOT 3
- MVPA using ANTsR?
- ITK bug in createJacobianDeterminantImage after upgrade HOT 14
- aslPerfusion HOT 11
- Installation error on Mac OS 12.6.3 with devtools HOT 11
- R version issues HOT 3
- ITK_GLOBAL_NUMBER_OF_THREADS is ignored HOT 2
- How to pass command line arguments to antsRegistration? HOT 4
- Guidance on Extracting Numeric Values of Gaussian Curvature from Image Class HOT 1
- Resampling an image to source image geometry HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antsr.