[Insight-users] How to read .Mat File using ITK + C++

David Doria daviddoria at gmail.com
Wed Dec 8 14:01:17 EST 2010


On Wed, Dec 8, 2010 at 1:46 PM, Seth Gilchrist <seth at mech.ubc.ca> wrote:
> Hi Humayun,
> The method that Ghassan Hamarneh gave should work for saving images in a
> format from MatLab that can be opened in C++. If you would rather open the
> .mat file directly, I think the info below will help.
>
> The error you are getting is a compilation error due to not linking
> properly.  I suggest taking a look at the following Matlab forum page which
> addresses your problem.
>
> http://www.mathworks.com/matlabcentral/newsreader/view_thread/149564
>
> Cheers,
> Seth

I made a home for some examples of talking between ITK and Matlab:
http://www.vtk.org/Wiki/ITK/Examples#Matlab

if anyone wants to formalize some of this discussion in the form of
c++ and Matlab examples.

David


More information about the Insight-users mailing list