I am getting "object RGB is not a member of package scalismo.faces.color" error while importing scalismo.faces.color.RGB but RGB.scala file exists in color folder. Please help ASAP.Thank you
--
You received this message because you are subscribed to the Google Groups "scalismo-faces" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalismo-faces+unsubscribe@googlegroups.com.
To post to this group, send email to scalismo-faces@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scalismo-faces/dd4f041f-a522-461f-aaf5-b98032b9130d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
libraryDependencies += "ch.unibas.cs.gravis" %% "scalismo-faces" % "0.8.0" resolvers += Resolver.bintrayRepo("unibas-gravis", "maven")
import scalismo.faces.color.RGB
import scalismo.faces.image.PixelImage
import scalismo.faces.io.PixelImageIO
import java.io.File
object Playground extends App {
val checkerboard = PixelImage(128, 128, {(x, y) => if ((x+y)%2 == 0) RGB.White else RGB.Black})
PixelImageIO.write(checkerboard, new File("checkerboard.png")).get
}
--
You received this message because you are subscribed to the Google Groups "scalismo-faces" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalismo-faces+unsubscribe@googlegroups.com.
To post to this group, send email to scalism...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scalismo-faces/55a37391-1bfe-40a5-822b-d79fe7d8b3f9%40googlegroups.com.
Hi Andreas,
--
You received this message because you are subscribed to the Google Groups "scalismo-faces" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalismo-faces+unsubscribe@googlegroups.com.
To post to this group, send email to scalismo-faces@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scalismo-faces/98ae189f-7578-43bc-8397-cb09b1e200a8%40googlegroups.com.
sbt -mem 5000 "fitting.experiments.RecognitionMultiPiePose"
but it shows lots of error mostly of "file not found". As I was unable to find any description where to copy basel dataset.
Also what I have to download along with the basel-face-pipeline repo ( just basel dataset or something else as well ) and where
to store them. Their is no README in recognition-experiment folder as mentioned on this repo.
It would be great help if you could please elaborate how to costruct 3D face from 2D image using basel-face-pipeline because that is the first step of our project and I am quite stucked.
Thank you
Rishubh
--
You received this message because you are subscribed to the Google Groups "scalismo-faces" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalismo-faces+unsubscribe@googlegroups.com.
To post to this group, send email to scalismo-faces@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scalismo-faces/180c60ca-634d-4866-9f8c-600d01156718%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "scalismo-faces" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalismo-faces+unsubscribe@googlegroups.com.
To post to this group, send email to scalismo-faces@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scalismo-faces/ce80076a-a306-423b-af80-ee6d04bbed3c%40googlegroups.com.
val mesh: TriangleMesh[_3D] = ???I think there is no direct support to calculate a new texture mapping. But if you have one calculated in another program you could load it from another mesh stored for example in the .ply format.
val textureImage: PixelImage[RGBA] = ???
val vertexPositionsInTextureImage: IndexedSeq[Point[_2D]] = ???
val textureMapping: MeshSurfaceProperty[Point[_2D]] = SurfacePointProperty[Point[_2D]](mesh.triangulation,vertexPositionsInTextureImage)
val texture: TextureMappedProperty[RGBA] = TextureMappedProperty(mesh.triangulation,textureMapping,textureImage)
val texturedMesh = ColorNormalMesh3D(mesh,texture,mesh.vertexNormals)
--
You received this message because you are subscribed to the Google Groups "scalismo-faces" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalismo-faces+unsubscribe@googlegroups.com.
To post to this group, send email to scalismo-faces@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scalismo-faces/c5ec91a3-2610-4dbc-ab33-484d483c08a0%40googlegroups.com.
Dear Rishubh,Great that it worked for you with fitting an image.Could you please start a new thread in the future if your question is not related to the old thread you already started. Otherwise the questions/answers are not easy to find for others and our effort for helping is increased a lot. Thx in advance.For your question, please have a look at the probabilistic fitting tutorial chapter 4, 2nd part "Meshes": http://gravis.dmi.unibas.ch/PMM/lectures/fitting/What you are looking for are the MeshSurfaceProperties. Here a small code snippet that might help you creating your textured mesh:val mesh: TriangleMesh[_3D] = ???I think there is no direct support to calculate a new texture mapping. But if you have one calculated in another program you could load it from another mesh stored for example in the .ply format.
val textureImage: PixelImage[RGBA] = ???
val vertexPositionsInTextureImage: IndexedSeq[Point[_2D]] = ???
val textureMapping: MeshSurfaceProperty[Point[_2D]] = SurfacePointProperty[Point[_2D]](mesh.triangulation,vertexPositionsInTextureImage)
val texture: TextureMappedProperty[RGBA] = TextureMappedProperty(mesh.triangulation,textureMapping,textureImage)
val texturedMesh = ColorNormalMesh3D(mesh,texture,mesh.vertexNormals)Best regardsAndreas
On Sat, Feb 3, 2018 at 6:10 PM, Rishubh Parihar <parihar...@gmail.com> wrote:
Hi Andreas and Bernhard,
I am now able to fit 3D model to image in my stand alone application. Thanks a lot for valuable time. One last thing, I want to apply original 2D image texture to the generated 3D model. Is there any way to do it using scalismo as in the GUI the correspondence is already made and also is it possible to store those correspondence somehow for texture mapping ?
Thanks,
Rishubh
--
You received this message because you are subscribed to the Google Groups "scalismo-faces" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalismo-face...@googlegroups.com.
To post to this group, send email to scalism...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scalismo-faces/c5ec91a3-2610-4dbc-ab33-484d483c08a0%40googlegroups.com.