Thanks! It worked. The problem was that, for some reason, the Z dimnames of 
my pxkxn array had a space at the end, so the function could not find the 
images in the folder because these did not have a space at the end. PLY 
image in binary worked fine.

 

El jueves, 10 de marzo de 2016, 16:20:06 (UTC), Murat Maga escribió:
>
> Yes, copy all your meshes to a folder, and pass the path to it to 
> placePatch. I thought I used binary stls as well, but I might be mistaken. 
>
> Make sure the Z dimname (or sample name) in the p.k.n array matches the 
> filenames (minus .ply) since I think I that’s what it uses to match the LM 
> array to the mesh.
>
>  
>
> M
>
>  
>
>  
>
>  
>
> *From:* [email protected] <javascript:> [mailto:
> [email protected] <javascript:>] *On Behalf Of *Pere Ibáñez
> *Sent:* Thursday, March 10, 2016 7:38 AM
> *To:* MORPHMET <[email protected] <javascript:>>
> *Subject:* [MORPHMET] placePatch in Morpho (R)
>
>  
>
> I am using the function placePatch in Morpho: placePatch(atlas, dat.array, 
> path, prefix = NULL, fileext = ".ply", ray = TRUE, inflate = NULL, tol = 
> inflate, relax.patch = TRUE, keep.fix = NULL, rhotol = NULL, silent = 
> FALSE, mc.cores = 1). I already created the atlas using createAtlas, and I 
> checked using plotAtlas and it looks fine.
>
>  
>
> In placePatch, in path, I am supposed to specify the directory where the 
> surface meshes of the sample are stored. Does this mean that I have to 
> specify the folder where all the 3D images are? In that case, must they be 
> in a specific format? Ascii PLY maybe?
>
>  
>
> I tried specifying the folder where my images are, but it didn't work (I 
> obtained a pxkxn array with only missing values -NAs-). May this occur 
> because my images are Binary PLY?
>
>  
>
> Thanks in advance!
>
>  
>
> -- 
> 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 [email protected] <javascript:>.
>

-- 
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 [email protected].

Reply via email to