Dear Murat and Antonio, Thanks for your fast response. Of course Murat here I attach the corresponding files (they derived from Avizo not from Amira)
Antonio yes I tried to use the Arothron function read.amira.set () but the following error appeared: argument "nland" is missing, with no default. Here I attach three files one is Landmarks_LLM1_landmarksAscii (landmarks from a human lower molar) and one B-spline in Avizo binary (*.am) format and the same file in Avizo ascii (*.am) format (zan0084_manleft_mirrored_01_curve_LM1.am and zan0084_manleft_mirrored_01_curveascii_LM1.am) Thanks for your help All best, El lun., 15 de abr. de 2019 8:15 a. m., Murat Maga <m...@uw.edu> escribió: > Dear Antonio and Miguel, > > > > Would it be possible to share those files with me as well? I would like to > implement a way to import Amira landmark files into our SlicerMorph > package, but we don’t have any to play with. > > > > Best, > > M > > > > > > *From:* Antonio Profico <antonio.prof...@uniroma1.it> > *Sent:* Sunday, April 14, 2019 4:35 PM > *To:* Miguel Eduardo Delgado Burbano <mdelgadoburb...@gmail.com> > *Cc:* MORPHMET <morphmet@morphometrics.org>; > morphmet-requ...@morphometrics.org > *Subject:* Re: [MORPHMET] Script to read Avizo landmarks and B-splines > > > > 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 > > -- > 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. > -- 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.
# Avizo 3D ASCII 2.0 define Markers 11 Parameters { Color "1.0.9", NumSets 1, ContentType "LandmarkSet" } Markers { float[3] Coordinates } @1 # Data section follows @1 1.069824981689453e+002 3.230857086181641e+001 7.741726684570313e+001 1.067253570556641e+002 3.117101860046387e+001 7.906603240966797e+001 1.071337509155273e+002 3.062068939208984e+001 8.174322509765625e+001 1.044278793334961e+002 3.029200363159180e+001 8.385526275634766e+001 1.035018234252930e+002 3.330528259277344e+001 8.359550476074219e+001 1.009194259643555e+002 3.421195983886719e+001 8.097939300537109e+001 1.022753219604492e+002 3.590150451660156e+001 7.821498870849609e+001 1.029237899780273e+002 3.457044982910156e+001 7.538016510009766e+001 1.053571166992188e+002 3.398883819580078e+001 7.497612762451172e+001 1.059745407104492e+002 3.266828918457031e+001 7.570597839355469e+001 1.031460418701172e+002 3.211197662353516e+001 7.892837524414063e+001
# Avizo 3D ASCII 2.0 define Lines 101 nVertices 100 Parameters { ContentType "HxLineSet" } Lines { int LineIdx } @1 Vertices { float[3] Coordinates } @2 # Data section follows @1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 -1 @2 1.071361007690430e+002 3.066967391967773e+001 9.240177917480469e+001 1.071429901123047e+002 3.063446998596191e+001 9.232511138916016e+001 1.071487197875977e+002 3.059593009948731e+001 9.225061035156250e+001 1.071531829833984e+002 3.055415534973145e+001 9.217747497558594e+001 1.071562347412109e+002 3.050962448120117e+001 9.210576629638672e+001 1.071576080322266e+002 3.046330070495606e+001 9.203614807128906e+001 1.071571121215820e+002 3.041437530517578e+001 9.196665191650391e+001 1.071543502807617e+002 3.036449241638184e+001 9.189875793457031e+001 1.071489334106445e+002 3.031435775756836e+001 9.183235931396484e+001 1.071399230957031e+002 3.026301002502441e+001 9.176498413085938e+001 1.071266326904297e+002 3.021290588378906e+001 9.169837188720703e+001 1.071087875366211e+002 3.016411972045898e+001 9.163234710693359e+001 1.070865936279297e+002 3.011632919311523e+001 9.156689453125000e+001 1.070607147216797e+002 3.006914138793945e+001 9.150221252441406e+001 1.070325622558594e+002 3.002179336547852e+001 9.143850708007813e+001 1.070048294067383e+002 2.997294616699219e+001 9.137602233886719e+001 1.069806976318359e+002 2.992112159729004e+001 9.131486511230469e+001 1.069584808349609e+002 2.986700439453125e+001 9.125402069091797e+001 1.069339828491211e+002 2.981449890136719e+001 9.119330596923828e+001 1.069015197753906e+002 2.976781845092773e+001 9.113146972656250e+001 1.068589019775391e+002 2.973031234741211e+001 9.106943511962891e+001 1.068083267211914e+002 2.970113754272461e+001 9.100873565673828e+001 1.067518005371094e+002 2.967898368835449e+001 9.095032501220703e+001 1.066907653808594e+002 2.966277503967285e+001 9.089479064941406e+001 1.066255493164063e+002 2.965173339843750e+001 9.084257507324219e+001 1.065558929443359e+002 2.964573287963867e+001 9.079539489746094e+001 1.064822692871094e+002 2.964463996887207e+001 9.075503540039063e+001 1.064049072265625e+002 2.964814567565918e+001 9.072249603271484e+001 1.063247680664063e+002 2.965581130981445e+001 9.069842529296875e+001 1.062431182861328e+002 2.966697692871094e+001 9.068197631835938e+001 1.061609039306641e+002 2.968092346191406e+001 9.067054748535156e+001 1.060785369873047e+002 2.969707107543945e+001 9.066207885742188e+001 1.059959945678711e+002 2.971503067016602e+001 9.065498352050781e+001 1.059148330688477e+002 2.973410987854004e+001 9.064836120605469e+001 1.058338470458984e+002 2.975433540344238e+001 9.064138031005859e+001 1.057521667480469e+002 2.977573585510254e+001 9.063343048095703e+001 1.056712188720703e+002 2.979783058166504e+001 9.062452697753906e+001 1.055905685424805e+002 2.982066917419434e+001 9.061475372314453e+001 1.055100326538086e+002 2.984430313110352e+001 9.060417175292969e+001 1.054300384521484e+002 2.986869430541992e+001 9.059291076660156e+001 1.053499603271484e+002 2.989412307739258e+001 9.058082580566406e+001 1.052714538574219e+002 2.992028617858887e+001 9.056815338134766e+001 1.051926345825195e+002 2.994816207885742e+001 9.055439758300781e+001 1.051142425537109e+002 2.997828674316406e+001 9.053934478759766e+001 1.050388641357422e+002 3.001118469238281e+001 9.052271270751953e+001 1.049669799804688e+002 3.004846191406250e+001 9.050327301025391e+001 1.048992080688477e+002 3.009080886840820e+001 9.047978210449219e+001 1.048347015380859e+002 3.013612174987793e+001 9.045246124267578e+001 1.047707138061523e+002 3.018101501464844e+001 9.042323303222656e+001 1.047046508789063e+002 3.022452354431152e+001 9.039333343505859e+001 1.046374740600586e+002 3.026678848266602e+001 9.036366271972656e+001 1.045696411132813e+002 3.030831527709961e+001 9.033450317382813e+001 1.045014190673828e+002 3.034933853149414e+001 9.030615997314453e+001 1.044329757690430e+002 3.039003753662109e+001 9.027892303466797e+001 1.043636474609375e+002 3.043104553222656e+001 9.025299072265625e+001 1.042938613891602e+002 3.047238540649414e+001 9.022926330566406e+001 1.042240676879883e+002 3.051406669616699e+001 9.020856475830078e+001 1.041539993286133e+002 3.055658340454102e+001 9.019036865234375e+001 1.040838088989258e+002 3.060028076171875e+001 9.017327117919922e+001 1.040151519775391e+002 3.064472961425781e+001 9.015470886230469e+001 1.039486236572266e+002 3.069026947021484e+001 9.013113403320313e+001 1.038861160278320e+002 3.073868370056152e+001 9.010234069824219e+001 1.038294448852539e+002 3.079182434082031e+001 9.007024383544922e+001 1.037793884277344e+002 3.085009574890137e+001 9.003683471679688e+001 1.037353439331055e+002 3.091342926025391e+001 9.000329589843750e+001 1.036959762573242e+002 3.098048782348633e+001 8.997067260742188e+001 1.036596069335938e+002 3.104993438720703e+001 8.993968200683594e+001 1.036249847412109e+002 3.112113952636719e+001 8.991073608398438e+001 1.035912628173828e+002 3.119373321533203e+001 8.988413238525391e+001 1.035577926635742e+002 3.126741218566895e+001 8.986019897460938e+001 1.035241088867188e+002 3.134190559387207e+001 8.983921813964844e+001 1.034900588989258e+002 3.141676139831543e+001 8.982138061523438e+001 1.034557495117188e+002 3.149217605590820e+001 8.980622863769531e+001 1.034214172363281e+002 3.156811523437500e+001 8.979338836669922e+001 1.033873443603516e+002 3.164446258544922e+001 8.978256988525391e+001 1.033537979125977e+002 3.172113609313965e+001 8.977355957031250e+001 1.033209457397461e+002 3.179835891723633e+001 8.976607513427734e+001 1.032890014648438e+002 3.187627792358398e+001 8.975991058349609e+001 1.032584533691406e+002 3.195472145080566e+001 8.975502014160156e+001 1.032295608520508e+002 3.203376770019531e+001 8.975143432617188e+001 1.032025909423828e+002 3.211351394653320e+001 8.974937438964844e+001 1.031779556274414e+002 3.219403076171875e+001 8.974903869628906e+001 1.031562042236328e+002 3.227537536621094e+001 8.975074768066406e+001 1.031379928588867e+002 3.235749816894531e+001 8.975485229492188e+001 1.031242141723633e+002 3.244020462036133e+001 8.976181030273438e+001 1.031156005859375e+002 3.252315902709961e+001 8.977217864990234e+001 1.031128082275391e+002 3.260583496093750e+001 8.978652191162109e+001 1.031163101196289e+002 3.268790435791016e+001 8.980540466308594e+001 1.031262969970703e+002 3.276803207397461e+001 8.982904052734375e+001 1.031420898437500e+002 3.284574890136719e+001 8.985726928710938e+001 1.031618270874023e+002 3.292106246948242e+001 8.988935852050781e+001 1.031834640502930e+002 3.299444961547852e+001 8.992464447021484e+001 1.032050018310547e+002 3.306650924682617e+001 8.996246337890625e+001 1.032256011962891e+002 3.313685226440430e+001 9.000327301025391e+001 1.032530822753906e+002 3.319665527343750e+001 9.005361938476563e+001 1.032915191650391e+002 3.323784255981445e+001 9.011407470703125e+001 1.033372955322266e+002 3.326271057128906e+001 9.017932891845703e+001 1.033890686035156e+002 3.327699661254883e+001 9.024881744384766e+001 1.034368362426758e+002 3.328314590454102e+001 9.031060791015625e+001 1.034930343627930e+002 3.328505706787109e+001 9.038145446777344e+001
# Avizo 3D ASCII 2.0 define Points 20 define Degree 1 Parameters { ContentType "BSpline" } Points { float[3] Coordinates } @1 Degree { int DegreeValue } @2 # Data section follows @1 1.071361007690430e+002 3.066967391967773e+001 9.240177917480469e+001 1.071610031127930e+002 3.055789947509766e+001 9.214127349853516e+001 1.071741104125977e+002 3.021029472351074e+001 9.170827484130859e+001 1.069807128906250e+002 2.996964263916016e+001 9.135218048095703e+001 1.069371185302734e+002 2.975863265991211e+001 9.115122985839844e+001 1.067201309204102e+002 2.964974403381348e+001 9.089963531494141e+001 1.063832778930664e+002 2.963154220581055e+001 9.066767883300781e+001 1.058310394287109e+002 2.974378585815430e+001 9.065541839599609e+001 1.049892883300781e+002 2.999894905090332e+001 9.052989959716797e+001 1.048312683105469e+002 3.015717315673828e+001 9.044750213623047e+001 1.042770156860352e+002 3.048075675964356e+001 9.020442199707031e+001 1.039916534423828e+002 3.065456771850586e+001 9.016530609130859e+001 1.037487792968750e+002 3.083499717712402e+001 9.003152465820313e+001 1.035409011840820e+002 3.131027221679688e+001 8.981930541992188e+001 1.032716827392578e+002 3.188827514648438e+001 8.974949645996094e+001 1.031116867065430e+002 3.238111877441406e+001 8.974314117431641e+001 1.031034317016602e+002 3.276386260986328e+001 8.980918121337891e+001 1.032189254760742e+002 3.308732604980469e+001 8.996714019775391e+001 1.032593231201172e+002 3.328621673583984e+001 9.009014129638672e+001 1.034930343627930e+002 3.328505706787109e+001 9.038145446777344e+001 @2 3