Comments (11)
are you able to run example data from here ?
I just ran:
aa=aslPerfusion( asl=img, moreaccurate=1, dorobust=0, mask=msk, N3=TRUE , verbose=TRUE )
without any issue and producing:
if you can share your data, we may be able to help more.
> sessionInfo()
R version 4.2.1 (2022-06-23)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.0.1
Matrix products: default
BLAS: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] robust_0.7-1 misc3d_0.9-1 pixmap_0.4-12 ANTsR_0.5.7.5
[5] ANTsRCore_0.7.5
loaded via a namespace (and not attached):
[1] Rcpp_1.0.10 mvtnorm_1.1-3 lattice_0.20-45
[4] rrcov_1.7-2 MASS_7.3-58.1 grid_4.2.1
[7] pcaPP_2.0-3 stats4_4.2.1 magrittr_2.0.3
[10] robustbase_0.95-0 Matrix_1.5-3 ITKR_0.6.0.0.2
[13] tools_4.2.1 RcppEigen_0.3.3.9.3 DEoptimR_1.0-11
[16] fit.models_0.64 compiler_4.2.1 tcltk_4.2.1
from antsr.
Thank you very much for your response. It is same when I used the data and tried to update my version to match with yours. Please see the ASL and mask image that I am working on attached. Btw, here is my sessionInfo:
ASL.nii.gz
ASLvol0000_bet_mask.nii.gz
All the best,
Arzu
from antsr.
could not reproduce the issue with the code below
fn='ASL.nii.gz'
img=antsImageRead(fn)
avg=getAverageOfTimeSeries(img)
msk=getMask(avg)
plot(ts(rowMeans(timeseries2matrix(img,msk))))
aa=aslPerfusion( asl=img, moreaccurate=1, dorobust=0, mask=msk, N3=TRUE , verbose=TRUE )
which produced:
no difference when using
msk=antsImageRead("ASLvol0000_bet_mask.nii.gz")
I do see warnings
of this nature:
50: In missing(k) || is.na(k) : 'length(x) = 32 > 1' in coercion to 'logical(1)'
do you have warnings=errors
turned on?
from antsr.
Yes, I always see exactly same error.
![image](https://private-user-images.githubusercontent.com/133168107/239096181-a8878cc9-a500-47d2-b918-7f8442177fe6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM4MjIxNTQsIm5iZiI6MTcyMzgyMTg1NCwicGF0aCI6Ii8xMzMxNjgxMDcvMjM5MDk2MTgxLWE4ODc4Y2M5LWE1MDAtNDdkMi1iOTE4LTdmODQ0MjE3N2ZlNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxNlQxNTI0MTRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hNWVkNzRiYjg0ZDc0NmU5ZWE5NmQ4YzUwMGE2YmY5ZTMwNWMyNGUzYjhlZjQzYzQ4OTBlMDAzOWZhMzAwM2MyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.erdKvAeUNnHC5YT0r0mnqFzRsKKTWRxG01PNy6TVVHI)
from antsr.
When I tried your code above, I got the same error in the stage of "getAverageOfTimeSeries(img)"
from antsr.
do you have warnings=errors turned on?
try to set options(warn=0) or options(warn=1) in your R session
from antsr.
Yes unfortunately, I see when I have errors turned on:
from antsr.
this commit should address your issue d2824a6
however, you will have to compile from source to get it
from antsr.
It worked! I am grateful for your help!
Arzu
from antsr.
Hi,
Actually, it was a false alarm. Although it did not give an error for the first parts, I saw the same error after a while of processing of aslPerfusion command such as:
from antsr.
yes - there was another location with a similar issue.
should be fixed now.
if you see this come up again ( definitely possible ) please open a new issue.
from antsr.
Related Issues (20)
- 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
- 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
- Failing on antsRegistration HOT 1
- Python 2.7 Error HOT 1
- multiChannelPCA is failing in R 4.3.1 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.