what does this error mean?
: error C2440: 'initializing' : cannot convert from 'char' to 'const char *'
i'm trying to read an image from a file using this code:
int main( int , char * argv)
typedef unsigned char PixelType;
const unsigned int Dimension = 2;
typedef itk::Image<unsigned short, 2> ImageType;
typedef itk::ImageFileReader< ImageType > ReaderType;
ReaderType::Pointer reader = ReaderType::New();
const char * filename = argv;
reader->SetFileName( filename );
ImageType::Pointer image = reader->GetOutput();
what is wrong?
I already took this code from the ITK librray.