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

Automatically fit thin plate splines for a bridging graph. #48

Open
jefferis opened this issue Jan 12, 2021 · 1 comment
Open

Automatically fit thin plate splines for a bridging graph. #48

jefferis opened this issue Jan 12, 2021 · 1 comment

Comments

@jefferis
Copy link
Contributor

jefferis commented Jan 12, 2021

  • would need to figure out domain of input points (defined by a single template?)
  • also would be best to optimise the points (spreading them out, selecting a subset whose removal has least impact on error)
  • there are also schemes for optimising fwd/inverse consistency for tps
sample_points_in_surf <- function(x, n){
  x=as.mesh3d(x)
  bb=boundingbox(x)
  mm=mapply(runif, min=bb[1,], max=bb[2,], n = n)
  colnames(mm)=c("X","Y","Z")
  data.frame(mm, inside=pointsinside(mm,x))
}
@jefferis
Copy link
Contributor Author

jefferis commented Oct 7, 2022

Major progress on this in #50

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

1 participant