Re: [MORPHMET] How to export .obj with textures as .ply with colours for morphometric analyses?

2016-09-02 Thread M. Viviana Toro Ibacache
Dear Bill,

Thanks for your comment. I can now have these considerations for this type
of data (as opposed to think that there was some mesh-exporting method I
was missing).

Best wishes,

Viviana


2016-09-02 14:20 GMT+02:00 Bill Sellers :

> This is actually quite a tricky thing to do. Texturing in OBJ files maps
> part of an image onto a surface triangle. There are no vertices associated
> with the colours. PLY files work differently and each vertex has its own
> colour. To recreate the textures in a PLY file you would need to create a
> new vertex for each pixel in the OBJ file. That would make the file very
> much larger and involve a moderate amount of geometric calculation. I don't
> know of any software package that will do this for you (it isn't
> particularly hard but I doubt there is much demand). However there are
> plenty of software packages that will read textured OBJ files and let you
> make measurements of points on faces (Blender can do this for example). The
> problem is that the process isn't streamlined to make taking large numbers
> of measurements particularly quick and easy. Also I would worry that you
> are losing quite a lot of accuracy in this approach because the 3D position
> will just be linearly interpolated from the vertices and this may give you
> a false sense of the precision of the technique.
>
> Cheers
> Bill
> --
> Bill Sellers, Tel: 01612751719, Mobile: 07857655786,
> http://www.animalsimulation.org
> University of Manchester, D1239 Michael Smith Building, Manchester, M13
> 9PT.
>
> On 01/09/2016 12:31, M. Viviana Toro Ibacache wrote:
>
>> Deal Morphometricians,
>>
>> I have .obj files with textures from three .jpg photos. I can load and
>> see the textures very nicely in Meshlab, but I need the textures to be
>> transformed into a coloured .ply file to do geometric morphometric analyses
>> (the landmarks are represented in the textures). So far it has not worked
>> doing it from Meshlab, so my questions are:
>>
>> - I know I can place landmarks in Meshlab using the .obj file, but when I
>> do it, the software crashes. any thoughts? the .obj file is 16 Mb big. Is
>> there a limit to files size in Meshlab? I would rather not to downsample
>> the mesh to not lose anatomical details.
>>
>> - When using the Transfer Texture to Vertex Color function, the texture
>> gets messed. It seems from web forums that Mshlab takes only one of the (in
>> this case) three .jpg files to do the colouring of the .ply mesh. Does
>> anybody know how to fix this? Another freeware software?
>>
>> - Is there any landmark acquisition software that loads .obj files with
>> textures? So far, I have not been able to do it in Landmark Editor, Evan
>> toolbox, Avizo, Morpho nor Geomorph.
>>
>> Any help is greatly appreciated.
>>
>> Best (y saludos),
>> Viviana
>>
>>
>>
>> --
>> *
>> Viviana Toro-Ibacache DDS MSc PhD*
>> Profesora Asistente /(Assistant Professor)/
>> Centro de Análisis Cuantitativo en Antropología Dental (CA2)
>> Unidad de Anatomía, Instituto de Investigación en Ciencias Odontológicas
>> Facultad de Odontología Universidad de Chile
>>
>> Dirección:  Sergio Livingstone Pohlhammer 943
>> /(address)/   Independencia, Región Metropolitana
>>  Chile
>> Email:mtoroibaca...@odontologia.uchile.cl > mtoroibaca...@odontologia.uchile.cl>
>> Web: www.researchgate.net/profile/Viviana_Toro_Ibacache/ <
>> http://www.researchgate.net/profile/Viviana_Toro_Ibacache/>
>>  www.cienciaymemoria.cl/staff.html <
>> http://www.cienciaymemoria.cl/staff.html>
>>
>> --
>> 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+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.
>
>


-- 

*Viviana Toro-Ibacache DDS MSc PhD*
Profesora Asistente *(Assistant Professor)*
Centro de Análisis Cuantitativo en Antropología Dental (CA2)
Unidad de Anatomía, Instituto de Investigación en Ciencias Odontológicas
Facultad de Odontología Universidad de Chile

Dirección:  Sergio Livingstone Pohlhammer 943
*(address)*   Independencia, Región Metropolitana
 Chile
Email:mtoroibaca...@odontologia.uchile.cl
Web: www.researchgate.net/profile/Viviana_Toro_Ibacache/
 www.cienciaymemoria.cl/staff.html

-- 
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 

Re: [MORPHMET] How to export .obj with textures as .ply with colours for morphometric analyses?

2016-09-02 Thread Antonio Profico
Dear Viviana,

you can export the 3D model from MeshLab as wrl format (export mesh as).
After, you can open and display the new mesh in Avizo (Display Open
Inventor Scene). In this way you can acquire the landmark in Avizo.

Best,
Antonio


2016-09-01 13:31 GMT+02:00 M. Viviana Toro Ibacache <
mtoroibaca...@odontologia.uchile.cl>:

> Deal Morphometricians,
>
> I have .obj files with textures from three .jpg photos. I can load and see
> the textures very nicely in Meshlab, but I need the textures to be
> transformed into a coloured .ply file to do geometric morphometric analyses
> (the landmarks are represented in the textures). So far it has not worked
> doing it from Meshlab, so my questions are:
>
> - I know I can place landmarks in Meshlab using the .obj file, but when I
> do it, the software crashes. any thoughts? the .obj file is 16 Mb big. Is
> there a limit to files size in Meshlab? I would rather not to downsample
> the mesh to not lose anatomical details.
>
> - When using the Transfer Texture to Vertex Color function, the texture
> gets messed. It seems from web forums that Mshlab takes only one of the (in
> this case) three .jpg files to do the colouring of the .ply mesh. Does
> anybody know how to fix this? Another freeware software?
>
> - Is there any landmark acquisition software that loads .obj files with
> textures? So far, I have not been able to do it in Landmark Editor, Evan
> toolbox, Avizo, Morpho nor Geomorph.
>
> Any help is greatly appreciated.
>
> Best (y saludos),
> Viviana
>
>
>
> --
>
> *Viviana Toro-Ibacache DDS MSc PhD*
> Profesora Asistente *(Assistant Professor)*
> Centro de Análisis Cuantitativo en Antropología Dental (CA2)
> Unidad de Anatomía, Instituto de Investigación en Ciencias Odontológicas
> Facultad de Odontología Universidad de Chile
>
> Dirección:  Sergio Livingstone Pohlhammer 943
> *(address)*   Independencia, Región Metropolitana
>  Chile
> Email:mtoroibaca...@odontologia.uchile.cl
> Web: www.researchgate.net/profile/Viviana_Toro_Ibacache/
>  www.cienciaymemoria.cl/staff.html
>
> --
> 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

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.


Re: [MORPHMET] How to export .obj with textures as .ply with colours for morphometric analyses?

2016-09-02 Thread Bill Sellers

This is actually quite a tricky thing to do. Texturing in OBJ files maps part 
of an image onto a surface triangle. There are no vertices associated with the 
colours. PLY files work differently and each vertex has its own colour. To 
recreate the textures in a PLY file you would need to create a new vertex for 
each pixel in the OBJ file. That would make the file very much larger and 
involve a moderate amount of geometric calculation. I don't know of any 
software package that will do this for you (it isn't particularly hard but I 
doubt there is much demand). However there are plenty of software packages that 
will read textured OBJ files and let you make measurements of points on faces 
(Blender can do this for example). The problem is that the process isn't 
streamlined to make taking large numbers of measurements particularly quick and 
easy. Also I would worry that you are losing quite a lot of accuracy in this 
approach because the 3D position will just be linearly interpolated from the 
vertices and this may give you a false sense of the precision of the technique.

Cheers
Bill
--
Bill Sellers, Tel: 01612751719, Mobile: 07857655786, 
http://www.animalsimulation.org
University of Manchester, D1239 Michael Smith Building, Manchester, M13 9PT.

On 01/09/2016 12:31, M. Viviana Toro Ibacache wrote:

Deal Morphometricians,

I have .obj files with textures from three .jpg photos. I can load and see the 
textures very nicely in Meshlab, but I need the textures to be transformed into 
a coloured .ply file to do geometric morphometric analyses (the landmarks are 
represented in the textures). So far it has not worked doing it from Meshlab, 
so my questions are:

- I know I can place landmarks in Meshlab using the .obj file, but when I do 
it, the software crashes. any thoughts? the .obj file is 16 Mb big. Is there a 
limit to files size in Meshlab? I would rather not to downsample the mesh to 
not lose anatomical details.

- When using the Transfer Texture to Vertex Color function, the texture gets 
messed. It seems from web forums that Mshlab takes only one of the (in this 
case) three .jpg files to do the colouring of the .ply mesh. Does anybody know 
how to fix this? Another freeware software?

- Is there any landmark acquisition software that loads .obj files with 
textures? So far, I have not been able to do it in Landmark Editor, Evan 
toolbox, Avizo, Morpho nor Geomorph.

Any help is greatly appreciated.

Best (y saludos),
Viviana



--
*
Viviana Toro-Ibacache DDS MSc PhD*
Profesora Asistente /(Assistant Professor)/
Centro de Análisis Cuantitativo en Antropología Dental (CA2)
Unidad de Anatomía, Instituto de Investigación en Ciencias Odontológicas
Facultad de Odontología Universidad de Chile

Dirección:  Sergio Livingstone Pohlhammer 943
/(address)/   Independencia, Región Metropolitana
 Chile
Email:mtoroibaca...@odontologia.uchile.cl 

Web: www.researchgate.net/profile/Viviana_Toro_Ibacache/ 

 www.cienciaymemoria.cl/staff.html 


--
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.