[Insight-users] Question regarding Image2.exe

Luis Ibanez luis . ibanez at kitware . com
Fri, 29 Aug 2003 11:26:20 -0400


Hi Thimmaiah

This executable will not display any output and will not produce
any results, it is just an example on how to write code.

Please read section 4.1.2 of the SoftwareGuide.pdf
http://www . itk . org/ItkSoftwareGuide . pdf
You will understand then what the example is doing.
 
If you are searching for applications you may want look
into the parallel checkout  InsightApplications. In particular,
for displaying images you may want to build the
ImageViewer application in

    InsightApplication/ImageViewer.

Regards.

    Luis

------------------------------
Thimmaiah, Sandhya wrote:

>I am sorry to ask so many questions. what results should I be expecting and
>if I want to display these how do I do??.How do I know it is working
>properly. where can I find DICOM images??? Thank you
>
>-----Original Message-----
>From: Luis Ibanez [mailto:luis . ibanez at kitware . com]
>Sent: Friday, August 29, 2003 11:01 AM
>To: Thimmaiah, Sandhya
>Cc: 'insight-users at itk . org'
>Subject: Re: [Insight-users] Question regarding Image2.exe
>
>
>
>Hi Thimmaiah,
>
>You may want to start with the images provided in
>
>           Insight/Examples/Data
> 
>Try for example:  BrainProtonDensitySlice.png
>
>Note that ITK rely on the filename extension as an
> early mechanism for figuring out the file format.
>If the fileformat is not recognized, ITK will throw
>exceptions. (That's probably the error you are getting
>in your second try)
>
>Please look at the FAQ for details on the file formats
>currently supported by ITK.
>
>Regards,
>
>
>   Luis
>
>----------------------------------
>Thimmaiah, Sandhya wrote:
>
>  
>
>>Hi Luis,
>>I tried using a image file but it gave the same message.I want to clarify
>>these. where can we get 2D images in ITK and in which folder it should be
>>before executing. Thank you
>>
>>-----Original Message-----
>>From: Luis Ibanez [mailto:luis . ibanez at kitware . com]
>>Sent: Friday, August 29, 2003 10:52 AM
>>To: Thimmaiah, Sandhya
>>Cc: 'insight-users at itk . org'
>>Subject: Re: [Insight-users] Question regarding Image2.exe
>>
>>
>>
>>Hi Thimmaiah,
>>
>>Image2 is one of the first examples to be used in association
>>with the text on the SoftwareGuide.
>>     http://www . itk . org/ItkSoftwareGuide . pdf
>>
>>It expects an filename as parameter. Since this is intended to be
>>a minimalistic example, it is not doing any error  checking, and
>>just naively using "argv[1]" as a filename.
>>
>>Please provide a 2D image  filename as command line argument.
>>
>>You may want to read the associated sections in the SoftwareGuide
>>before attempting to use the examples.
>>
>>
>>Regards,
>>
>>  Luis
>>
>>
>>---------------------------------
>>
>>Thimmaiah, Sandhya wrote:
>>
>> 
>>
>>    
>>
>>>Hi,
>>>Can anybody let me know what is wrong with Image2.exe. I am trying to run
>>>   
>>>
>>>      
>>>
>>>from command prompt and it gives a error box saying 
>> 
>>
>>    
>>
>>>Debug Error
>>>program c:\Insight toolkit\bitk\bin\debug\Image2.exe
>>>abnormal program termination
>>>(retry to debug the application)
>>>
>>>I would really appreciate if you anybody can help me. Thank you
>>>_______________________________________________
>>>Insight-users mailing list
>>>Insight-users at itk . org
>>>http://www . itk . org/mailman/listinfo/insight-users
>>>
>>>
>>>
>>>   
>>>
>>>      
>>>
>>
>>
>> 
>>
>>    
>>
>
>
>
>
>  
>