File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -269,8 +269,8 @@ bool AnalyzeObjectLabelMapImageIO::CanReadFile( const char* FileNameToRead )
269
269
270
270
void AnalyzeObjectLabelMapImageIO::ReadImageInformation ()
271
271
{
272
- m_ComponentType = CHAR;
273
- m_PixelType = SCALAR;
272
+ m_ComponentType = IOComponentEnum:: CHAR;
273
+ m_PixelType = IOPixelEnum:: SCALAR;
274
274
// Opening the file
275
275
std::ifstream inputFileStream;
276
276
inputFileStream.open (m_FileName.c_str (), std::ios::binary | std::ios::in);
@@ -576,7 +576,7 @@ AnalyzeObjectLabelMapImageIO
576
576
577
577
::Write ( const void * buffer)
578
578
{
579
- if ( this ->GetComponentType () != UCHAR )
579
+ if ( this ->GetComponentType () != IOComponentEnum:: UCHAR )
580
580
{
581
581
std::cerr << " Error: The pixel type needs to be an unsigned char." << std::endl;
582
582
exit (-1 );
You can’t perform that action at this time.
0 commit comments