Hi Elaine, ok I attached the files here. I have an image processing pipeline (external to chimera) which segments 3d image stacks and produces a .wrl file (also including meshlab as a tool). I want to use chimera for producing a nice video visualising the individual steps of the segmentation (which consist of .tif and .wrl outputs). If I load in the .wrl and .tif into python for example, coordinates perfectly overlap. Also the coordinates in the raw .wrl file seem to look good. How does chimera load in the 3d tif stacks? With kind regards, Marvin
On 27 Jul 2016, at 19:14, Elaine Meng <meng@cgl.ucsf.edu> wrote:
Hi Marvin, That link asks for a login, but I can imagine you have two representations of the same object(s) that are not superimposed. (BTW, you can attach images to emails here as long as they aren’t huge.)
…However, I don’t understand where these files came from, and thus why you expect them to be aligned. Did you read a TIFF stack into Chimera as a volume, then contour it, and then export the surface as .wrl? Chimera does not save volumes as .tif, it only saves an image of the graphics window contents in that format, without relationship to the original 3D coordinates.
If some other program wrote the .tif (stack??) and .wrl, I’d put the onus on that program to preserve the coordinate system. Or, maybe it is not possible to preserve 3D coordinates with the .tif format and you’d have to use a real volume format instead of an image stack.
I’m not the expert on this topic, but the others are away. We may need to wait for their opinion(s), but in the meanwhile, clarifying your workflow might help. Thanks, Elaine ----- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco
On Jul 27, 2016, at 9:49 AM, Marvin Albert <marvin.albert@gmail.com> wrote:
Hi all, I process 3d objects and want to visualise them as meshes and volumes simultaneously. However, when I load them into chimera the coordinates of the two are different (meaning they don’t overlap).
Is there an obvious reason for this? Would the volume viewer show a .tif file with different coordinates than chimera shows the .wrl mesh?
(this tiny cube exemplifies my problem: http://www.filedropper.com/cube_3)
Thanks a lot in advance, Marvin