[Insight-users] pleasee help me..

Xabier Artaechevarria Artieda xabiarta at unav.es
Fri Jun 27 04:20:53 EDT 2008


Dear Knoppix,

You can find data in
http://itk.org/HTML/Data.htm

But what do you want to do with it?
If you want to visualize it, ITK is not what you are looking for.
You can use any image viewer for that.




knoppix corn <knoppixc at yahoo.com> ha escrito:

>
>
>
> thak you very much xabier, i have one question again :
> at question 2 :
>>  2). how with the image file?? , is the image file 3D?? , where can
>> i get the file, i mean the image 3D.
> Your program just reads the image (filename is missing!), but you are
> not doing anything with it.
>
> ---> ya, it just read the image, if i add VTK code i dan virw it, is  
>  it right??
>         and, i don't have the example of 3D image, where can i get   
> the 3D image?? thanksss..
>
> knoppix corn <knoppixc at yahoo.com> ha escrito:
>
>> haii every one... help me.. i have a question about reading an image
>>  from a file,
>> according to itkSoftwareGuide page 70, i have a source code like this :
>>
>> #include "itkImage.h"
>> #include "itkImageFileReader.h"
>>
>> int main( int , char * argv[])
>> {
>>   typedef unsigned char          PixelType;
>>   const unsigned int             Dimension = 3;
>>
>>   typedef itk::Image< PixelType, Dimension >   ImageType;
>>
>>   typedef itk::ImageFileReader< ImageType >  ReaderType;
>>
>>   ReaderType::Pointer reader = ReaderType::New();
>>
>>   const char * filename = argv[1];
>>   reader->SetFileName( filename );
>>
>>   reader->Update();
>>
>>   ImageType::Pointer image = reader->GetOutput();
>>
>>   return 0;
>> }
>>
>> i have a few question :
>>  1). how to write a CMakeLists.txt ???
>
> Have a look at page 17 of the Software Guide.
>
>>  2). how with the image file?? , is the image file 3D?? , where can
>> i get the file, i mean the image 3D.
> Your program just reads the image (filename is missing!), but you are
> not doing anything with it.
>
>>  3). to view the image, is it need VTK??
> You need an image viewer, for example ImageJ.
>
>>  4). what is the input an output from this system or program???
> You mean your program? I think you should have a look at the Software
> Guide, starting with the Hello World example (pg. 17) and then maybe
> you can go to section 7.1 to learn how to read and write images.
>
> T
>>
>> any one help me.. i need for my study... thank you very much..
>>
>>
>>
>>
>
>
>
> ----------------------------------------------------------------
> Este mensaje ha sido enviado desde https://webmail.unav.es
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
>
>



----------------------------------------------------------------
Este mensaje ha sido enviado desde https://webmail.unav.es



More information about the Insight-users mailing list