[MINC-users] Problems with ray_trace and object files

Robert D. Vincent robert.d.vincent at mcgill.ca
Sat Sep 12 16:01:57 EDT 2015


Hi Gabriel,

It's a bug. It seems that our bitmap I/O functions changed in the last few
years such that they now flip the Y axis. This affects Display as well as
ray_trace. Thanks for pointing it out, I'll figure out what happened and
fix it.

    -bert


On Fri, Sep 11, 2015 at 4:11 PM, Gabriel A. Devenyi <gdevenyi at gmail.com>
wrote:

> 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
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


More information about the MINC-users mailing list