Thanks for your answer. This helped me in finding the solution, which was actually fairly obvious ;)
if ((PhotoMetric == PHOTOMETRIC_MINISWHITE) || (PhotoMetric == PHOTOMETRIC_MINISBLACK) || (SamplesPerPixel == 1)) {
if (BitsPerSample == 1)
Type = PRESCRENED_TIFF_IMAGE;
else
Type = MONOCHROME_TIFF_IMAGE;
} else if (SamplesPerPixel == 4) {
if (PhotoMetric == PHOTOMETRIC_SEPARATED)
Type = CMYK_TIFF_IMAGE;
else
Type = OTHER_TIFF_IMAGE;
} else
Type = OTHER_TIFF_IMAGE;