Skip to content

Commit

Permalink
update overwrites
Browse files Browse the repository at this point in the history
  • Loading branch information
ncullen93 committed May 19, 2024
1 parent eb1c0ee commit 5951c0a
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion R/fitBsplineDisplacementField.R
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ fitBsplineDisplacementField <- function(
numberOfControlPoints <- rep(numberOfControlPoints, dimensionality)
}

bsplineField <- ANTsRCore::fitBsplineDisplacementField(
bsplineField <- ANTsRCore::fitBsplineDisplacementFieldR(
dimensionality,
displacementField, displacementWeightImage,
displacementOrigins, displacements, displacementWeights,
Expand Down
2 changes: 1 addition & 1 deletion R/fitBsplineObjectToScatteredData.R
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fitBsplineObjectToScatteredData <- function(
stop("Error: the number of weights is not the same as the number of points.")
}

bsplineObject <- ANTsRCore::fitBsplineObjectToScatteredData(
bsplineObject <- ANTsRCore::fitBsplineObjectToScatteredDataR(
scatteredData, parametricData, dataWeights,
parametricDomainOrigin, parametricDomainSpacing,
parametricDomainSize, isParametricDimensionClosed,
Expand Down
2 changes: 1 addition & 1 deletion R/fitThinPlateSplineDisplacementField.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ fitThinPlateSplineDisplacementField <- function(
stop("Error: direction is not of size dimensionality x dimensionality.")
}

tpsField <- ANTsRCore::fitThinPlateSplineDisplacementField(
tpsField <- ANTsRCore::fitThinPlateSplineDisplacementFieldR(
dimensionality,
displacementOrigins, displacements,
origin, spacing, size, direction
Expand Down
2 changes: 1 addition & 1 deletion R/imagesToMatrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ imagesToMatrix <- function(imageList, mask) {
print("Must pass a list of filenames")
return(NA)
}
return(ANTsRCore::imagesToMatrix(imageList, mask, n))
return(ANTsRCore::imagesToMatrixR(imageList, mask, n))
}
2 changes: 1 addition & 1 deletion R/integrateVelocityField.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ integrateVelocityField <- function(
numberOfIntegrationSteps = 10) {
dimensionality <- velocityField@dimension - 1

integratedField <- ANTsRCore::integrateVelocityField(
integratedField <- ANTsRCore::integrateVelocityFieldR(
dimensionality,
velocityField,
as.numeric(lowerIntegrationBound),
Expand Down
2 changes: 1 addition & 1 deletion R/invertDisplacementField.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ invertDisplacementField <- function(
enforceBoundaryCondition = TRUE) {
dimensionality <- displacementField@dimension

inverseField <- ANTsRCore::invertDisplacementField(
inverseField <- ANTsRCore::invertDisplacementFieldR(
dimensionality,
displacementField,
inverseFieldInitialEstimate,
Expand Down
4 changes: 2 additions & 2 deletions R/reflectImage.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ reflectImage <- function(
}

rflct <- tempfile(fileext = ".mat")
catchout <- ANTsRCore::reflectionMatrix(img1, axis, rflct)
catchout <- ANTsRCore::reflectionMatrixR(img1, axis, rflct)

if (!all(is.na(tx))) {
rfi <- antsRegistration(img1, img1,
Expand Down Expand Up @@ -71,6 +71,6 @@ reflectionMatrix <- function(img1, axis = NA, reflectionMatrixFilename) {
if (missing(reflectionMatrixFilename)) {
reflectionMatrixFilename <- tempfile(fileext = ".mat")
}
catchout <- ANTsRCore::reflectionMatrix(img1, axis, reflectionMatrixFilename)
catchout <- ANTsRCore::reflectionMatrixR(img1, axis, reflectionMatrixFilename)
return(reflectionMatrixFilename)
}

0 comments on commit 5951c0a

Please sign in to comment.