Dear Antonio, Thank you very much for your functions. All of them work very well. I realized that a simple modification of the function read.landmarks from the nat package allows load into the R console Avizo Landmarks in ascii format but not semilandmark curves. Again thanks for your kind help.
All best, Miguel El lun., 15 de abr. de 2019 5:46 p. m., Antonio Profico < antonio.prof...@uniroma1.it> escribió: > Hi Miguel, > > thanks for sending me the example files. You can use the existing > functions embedded in Arothron: > > library(Arothron) > land.set<-"landmarksfromAvizo" > set<-read.amira.set(land.set,"auto") #this is an array > bspline<-"bsplinefromAvizo" > set_2<-read.amira.set(bspline,"auto") #this is an array > LineSet<-"linesetfromAvizo" > curve_temp<-read.path.amira(LineSet) #this is a data.frame > curve<-as.matrix(curve_temp) > > library(Morpho) > #sample evenly spaced points (10 in this case) along "curve" > ev.sp.points<-equidistantCurve(curve,10) > > Best, > > Antonio > > Il giorno lun 15 apr 2019 alle ore 01:35 Antonio Profico < > antonio.prof...@uniroma1.it> ha scritto: > >> Hi Miguel, >> >> please send me the two files from Avizo (.ladmarkAscii) and B-splines >> (.am). >> Are you sure that read.amira.set() doesn't work with the .landmarkAscii >> files from Avizo? >> >> I'll add these two functions in Arothron and before to submit the new >> release to the CRAN I'll send them to you. >> >> Best, >> >> Antonio >> >> Il giorno lun 15 apr 2019 alle ore 01:26 Miguel Eduardo Delgado Burbano < >> mdelgadoburb...@gmail.com> ha scritto: >> >>> Dear All, >>> >>> I'm using landmarks (.ladmarkAscii) and B-splines (.am) derived from >>> Avizo (Standard Edition 7.1.0). I have used previously the Arothron and Nat >>> packages to load landmarks derived from Amira into the R console. Now >>> using the Avizo files such packages do not seem to work. Somebody has a >>> script to read Avizo files in R or know a way to succesfully load such >>> files into the R console? Thanks for any suggestion >>> >>> All best, >>> >>> Miguel >>> >>> -- >>> MORPHMET may be accessed via its webpage at http://www.morphometrics.org >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "MORPHMET" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to morphmet+unsubscr...@morphometrics.org. >>> >> >> >> -- >> ______________________________________ >> >> Antonio Profico >> PhD >> Department of Environmental Biology – Dipartimento di Biologia Ambientale >> SAPIENZA Università di Roma >> >> MicroWeaR mailing list: https://groups.google.com/forum/#!forum/microwear >> Subscription: https://groups.google.com/forum/#!forum/microwear/join >> >> Arothron mailing list: https://groups.google.com/forum/#!forum/arothron >> <https://groups.google.com/forum/#!forum/microwear> >> Subscription: https://groups.google.com/forum/#!forum/arothron/join >> >> Lab. 06 4991 2690 >> Mob. 3293440766 >> > > > -- > ______________________________________ > > Antonio Profico > PhD > Department of Environmental Biology – Dipartimento di Biologia Ambientale > SAPIENZA Università di Roma > > MicroWeaR mailing list: https://groups.google.com/forum/#!forum/microwear > Subscription: https://groups.google.com/forum/#!forum/microwear/join > > Arothron mailing list: https://groups.google.com/forum/#!forum/arothron > <https://groups.google.com/forum/#!forum/microwear> > Subscription: https://groups.google.com/forum/#!forum/arothron/join > > Lab. 06 4991 2690 > Mob. 3293440766 > -- MORPHMET may be accessed via its webpage at http://www.morphometrics.org --- You received this message because you are subscribed to the Google Groups "MORPHMET" group. To unsubscribe from this group and stop receiving emails from it, send an email to morphmet+unsubscr...@morphometrics.org.