[Chimera-users] Volume and mesh data simultaneously? Coordinate space is different

Marvin Albert marvin.albert at gmail.com
Thu Jul 28 00:55:17 PDT 2016


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cube.tif
Type: image/tiff
Size: 124593 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20160728/6b25d9d3/attachment-0001.tif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cube.wrl
Type: application/octet-stream
Size: 8780 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20160728/6b25d9d3/attachment-0001.obj>
-------------- next part --------------



> On 27 Jul 2016, at 19:14, Elaine Meng <meng at 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 at 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
> 



More information about the Chimera-users mailing list