[Gmsh] Lenna as background mesh

Christophe Geuzaine geuzaine at acm.caltech.edu
Mon Oct 25 03:59:58 CEST 2004


o_henley at alcor.concordia.ca wrote:
> Bonjour à tous,
> 
> I would like to know the general procedure prior to mesh any picture as the
> Lenna example.  More precisely, what are the transformations any image format
> has to undergo in order to be loadable as a background mesh file. 
> 

Olivier - Just convert your image in PNM format and open it with Gmsh. 
Gmsh will automatically transform it into a post-processing view, that 
you can then use as a background mesh if you want to.

Best,

Christophe

-- 
Christophe Geuzaine
Applied and Computational Mathematics, Caltech
geuzaine at acm.caltech.edu - http://geuz.org