04-05-2013 08:09 AM
have an image and I don't have the pallet details of that image. I just want to determine whether the image is binary or grayscale image using some algorithms. I thought finding it with maximum pixel value. i.e., if pixel value of the image is more tha 16 then it is greyscale else it would be binary. But I found this value with each pixel of the image and then determined the maximum pixel value. Thus it ultimately took more time (about 14ms) than I expected. I want some algorithm which takes very less time to find it. Can anybody help out?
04-06-2013 07:05 AM