[Insight-users] Reading an viewing .mha files?

motes motes mort.motes at gmail.com
Tue Jul 7 05:09:10 EDT 2009


Copying the corresponding .raw files to my test dir solved the problem,
thank you!



On Tue, Jul 7, 2009 at 9:32 AM, Sharath Venkatesha
<sharath20284 at yahoo.com>wrote:

> Can't help much with the error.. Try opening jpg/png files. they should
> also work correcly.
>
> Looks like the exe is searching for dependency (or some hardcoded path) .
> Download "dependency walker" and open the .exe file. check if all the
> depedent dlls are available.
>
> Also, the corresponding .raw file should be present along with .mhd/.mha
> files, for it to display correctly.
>
> You can also try with the example .mha file in the same download directory.
>
> - Sharath
> ------------------------------
> *From:* motes motes <mort.motes at gmail.com>
> *To:* Sharath Venkatesha <sharath20284 at yahoo.com>
> *Cc:* insight-users at itk.org
> *Sent:* Monday, July 6, 2009 11:42:01 PM
>
> *Subject:* Re: [Insight-users] Reading an viewing .mha files?
>
> I am working on Windows XP. If I open the images with the
> ImageRegistrationTool.exe instead I get the following error message:
>
> itk::ExceptionObject (0157EACC)
> Location: "Unknown"
> File: \cygwin\home\ibanez\src\Insight\Code\Io\itkMetaImageIO.cxx
> Line: 910
> Description: File cannot be read
>
> The "File" path does not exist on my machine.
>
>
>
> On Tue, Jul 7, 2009 at 8:31 AM, Sharath Venkatesha <sharath20284 at yahoo.com
> > wrote:
>
>> I did download the dlls and exe I just tried the example you mentioned,
>> and it works for me..
>> I hope you are working on windows.. :-)
>>
>> Let me know if u have any problem
>>
>> Sharath.
>>
>> ------------------------------
>> *From:* motes motes <mort.motes at gmail.com>
>> *To:* Sharath Venkatesha <sharath20284 at yahoo.com>
>> *Cc:* insight-users at itk.org
>> *Sent:* Monday, July 6, 2009 11:23:33 PM
>> *Subject:* Re: [Insight-users] Reading an viewing .mha files?
>>
>> I have tried to download:
>>
>> ImageViewer.exe
>> msvcp71.dll
>> msvcp71d.dll
>> msvcr71.dll
>> msvcr71d.dll
>>
>> but when I open the file:
>>
>> RatLungSlice1.mha
>>
>> from the folder Examples/Data I get the error:
>>
>> MetaImage: Read: Cannot open data file
>> Problems reading file format
>>
>> Any ideas?
>>
>>
>>
>> On Mon, Jul 6, 2009 at 11:26 PM, Sharath Venkatesha <
>> sharath20284 at yahoo.com> wrote:
>>
>>> Hi,
>>>
>>> Use ImageViewer.exe available at
>>>
>>> http://public.kitware.com/pub/itk/InsightApplicationsBin/
>>>
>>> Remember to get all the dlls along with the exe.
>>>
>>>
>>> - Sharath Venkatesha
>>>
>>> ------------------------------
>>> *From:* motes motes <mort.motes at gmail.com>
>>> *To:* insight-users at itk.org
>>> *Sent:* Monday, July 6, 2009 1:54:18 PM
>>> *Subject:* [Insight-users] Reading an viewing .mha files?
>>>
>>> Some of the images in the data folder in the examples are in the format
>>> .mha. I have tried to find some code showing how to read and view these
>>> files but it seems there is no such code. Does anyone have an example file
>>> showing how to read the .mha files and view them?
>>>
>>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090707/4a9a5856/attachment.htm>


More information about the Insight-users mailing list