Comments (2)
I've looked into this but haven't had the time to fix it. It's basically caused
by the fact that tensors are hard-coded as 3-d in numerous places.
On Jun 29, 2013, at 10:07 PM, hjmjohnson [email protected] wrote:
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/antsApplyTransforms.cxx: In function ‘void ants::CorrectImageTensorDirection(TensorImageType_, ImageType_) [with TensorImageType = itk::Image, 2u>, ImageType = itk::Image]’:
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/antsApplyTransforms.cxx:51: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/antsApplyTransforms.cxx:52: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/antsApplyTransforms.cxx:53: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/antsApplyTransforms.cxx:60: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/antsApplyTransforms.cxx:61: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/antsApplyTransforms.cxx:62: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/antsApplyTransforms.cxx: In function ‘void ants::CorrectImageTensorDirection(TensorImageType_, ImageType_) [with TensorImageType = itk::Image, 2u>, ImageType = itk::Image]’:
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/antsApplyTransforms.cxx:51: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/antsApplyTransforms.cxx:52: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/antsApplyTransforms.cxx:53: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/antsApplyTransforms.cxx:60: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/antsApplyTransforms.cxx:61: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/antsApplyTransforms.cxx:62: warning: array subscript is above array bounds
In file included from /Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/../Tensor/itkLogTensorImageFilter.h:24,
from /Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/../Utilities/ReadWriteImage.h:21,
from /Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/itkantsRegistrationHelper.h:21,
from /Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/antsApplyTransforms.cxx:3:
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/../Tensor/TensorFunctions.h: In function ‘void EigenAnalysis(TensorType, MatrixType&, MatrixType&) [with TensorType = itk::SymmetricSecondRankTensor, MatrixType = itk::VariableSizeMatrix]’:
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/../Tensor/TensorFunctions.h:25: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/../Tensor/TensorFunctions.h:26: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/../Tensor/TensorFunctions.h:27: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/../Tensor/TensorFunctions.h: In function ‘TensorType TensorLogAndExp(TensorType, bool, bool&) [with TensorType = itk::SymmetricSecondRankTensor]’:
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/../Tensor/TensorFunctions.h:113: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/../Tensor/TensorFunctions.h:51: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/../Tensor/TensorFunctions.h:52: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/../Tensor/TensorFunctions.h:53: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/../Tensor/TensorFunctions.h:102: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/../Tensor/TensorFunctions.h:102: warning: array subscript is above array bounds
/Shared/sinapse/sharedopt/20130601/RHEL6/DTIPrep/BRAINSTools-build/ANTS/Examples/../Tensor/TensorFunctions.h:102: warning: array subscript is above array bounds—
Reply to this email directly or view it on GitHub.
from ants.
I've fixed some of these and verified that the fix causes no regressions.
https://github.com/stnava/ANTs/tree/FixTemplateWarnings
from ants.
Related Issues (20)
- convert CorticalThicknessNormalizedToTemplate.nii.gz to the MNI template HOT 4
- Atropos fails on macOS with ANTs 2.5.0 HOT 9
- Extract the mean cortical thickness of brain regions HOT 1
- running antsRegistrationSyn.sh on a remote server takes too long time HOT 6
- I am not sure I understood the command explanation in ANTsDoc pdf HOT 1
- missing libITKIOTransformMINC-5.3.so.1 HOT 4
- flags in ANTS to run DenseRigid registration HOT 1
- Ants Longitudinal CT Template-Build Stage fail HOT 12
- Inquiry Regarding Suboptimal Results in Macaque T1 Image Segmentation Using antsbrainextraction.sh HOT 7
- Equivalent buildtemplateparallel.sh to antsMultivariateTemplateConstruction2.sh calls HOT 14
- How can i get deformation field? HOT 7
- Minified, multi-architectural container images HOT 10
- Poor non-linear registration (SyN) for intra-participant T1 to fMRI EPI HOT 1
- Warnings possibly indicating problems HOT 3
- Clean up fully merged branches HOT 3
- Determining optimal hyperparameter settings for abdominal CT image registration HOT 6
- Warnings are raised when ANTs is used via CMake FetchContent HOT 4
- error in TensorFunctions.h during make on macOS with M2 chip HOT 8
- Spatial resolution and antsApplyTransforms HOT 2
- Atropos with `-k ManifoldParzenWindows` results in a segmentation fault HOT 1
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 ants.