[Insight-users] Fail to load file in ITK-snap

Nicolas Cordier nicolas.cordier at inria.fr
Tue Nov 26 08:15:51 EST 2013


Hi Kevin,

My diagnostic is wrong.

I have used a tool called convert3d, and I have just checked: the bounding box is output as [min max], which makes it perfectly fine to have a negative value. I wrongly assumed the convention for the bounding box was the same as the Matlab function regionprops, i.e. [min width].

Best regards,
-- 
Nicolas CORDIER
ASCLEPIOS PhD Candidate
INRIA SOPHIA ANTIPOLIS - MEDITERRANEE 



----- Mail original -----
> De: "Kevin Keraudren" <kevin.keraudren10 at imperial.ac.uk>
> À: insight-users at itk.org
> Envoyé: Mardi 26 Novembre 2013 11:35:15
> Objet: Re: [Insight-users] Fail to load file in ITK-snap
> 
> Hi Nicolas,
> 
> Thanks a lot for your reply.
> 
> No, I do not know how this negative value has been set. I do not even
> know where this "Bounding Box" information comes from, it does not
> appear in the tools I use to look at image metadata.
> 
> Can I ask you how you obtained this "Bounding Box" values, which
> program
> or code you used to access it?
> 
> Thanks for your help,
> 
> Kevin
> 
> 
> 
> Le 25/11/2013 17:51, Nicolas Cordier a écrit :
> > Hi Kevin,
> >
> > I had a look at the header information of landmarks.nii.gz, and I
> > believe I have spotted the problem:
> >      Bounding Box       : {[-96.8621 12.4808 46.858], [-28.6121
> >      97.2308 130.108]}
> > I think the problem here is the value -28.6121, which to my
> > understanding means the bounding box has a negative width
> > component.
> >
> > Do you know the reason why this negative value could have been set?
> >
> > Best regards,
> 
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
> 


More information about the Insight-users mailing list