Which of the two (Binary Image and Gray scale image) is easier to embed in a color image using Discrete Cosine Transform?
I'm currently exploring image watermarking using discrete cosine transform.

Thanks in advance!!! :)

Convert grayscale to binary. Directly converting color images (like RGB) to binary is not that easy, because you have to handle every color channel within the image seperatly.

Converting to binary is done using a ceratin threshold. E.g. you can say, all pixels with gray > 125 will become white, the others black. There are several thresholding algorithm out there.

So use Binay image.

First of all thank you for the comment :)

So from what I understood embedding a grayscale in a color image is hard?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.