[Chimera-users] Volume and mesh data simultaneously? Coordinate space is different
Tom Goddard
goddard at sonic.net
Mon Aug 1 17:13:41 PDT 2016
Hi Marvin,
Your cube.tif file is a stack of 30 images each 50 by 40 pixels. So Chimera displayed it with x, y, and z ranges of 0-50, 0-40, and 0-30. Your VRML file cube.vrml has a cube with x, y, z values ranging from 5-9, 10-14, 15-19. How would you expect these two data sets to align in Chimera? One of them would have to be shifted and scaled to align with the other. I did not see any shift or scaling information in the TIFF file.
Tom
> On Jul 28, 2016, at 12:55 AM, Marvin Albert wrote:
>
> 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
>
>
> <cube.tif><cube.wrl>
>
>
>> On 27 Jul 2016, at 19:14, Elaine Meng 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 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
>>
>
> _______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
More information about the Chimera-users
mailing list