[MINC-users] Problems with ray_trace and object files

Gabriel A. Devenyi gdevenyi at gmail.com
Fri Sep 11 16:11:53 EDT 2015


Hi all,

I’m trying to generate some images of CIVET-generated left and right
hemispheres using ray_trace
like:

> ray_trace -output left_lateral.rgb left_average.obj -size 1000 1000 -crop -sup 3 -bg black -left

As I understand, I would expect this to generate a view of the left
hemisphere, from the left side, so it should be a lateral view.

For some reason, this seems to generate an image that is “upside down”

If I run:

> convert left_lateral.rgb -flip left_lateral.png

It’s fixed and looks correct.

Am I missing something about ray_trace? Or is this a bug?
​
-- 
Gabriel A. Devenyi B.Eng. Ph.D.
Research Computing Associate
Computational Brain Anatomy Laboratory
Cerebral Imaging Center
Douglas Mental Health University Institute
McGill University
t: 514.761.6131x4781
e: gdevenyi at gmail.com


More information about the MINC-users mailing list