dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #11822
The use of Dolfin in image processing
>I assume that you would like to solve a PDE on a "unit square" where
>the function on the right hand side is represented as an image.
>Is this correct ?
Yes, that's exactly what I am looking for. I assume that the
conversion from/to the unit square involves the right use of ratio, is
that correct?
>
>You can create a mesh when you loop through the image, and store
>the corresponding pixel value as a Dolfin function. I have done a
>similar thing in 3D earlier.
>
>I can send you the code, if my interpretation of your needs are
>correct.
It would be great. Does it follow the style described by Anders? Is
the loop any efficient? If not, is there a good alternative?
-Ali
>Kent