0

**i'm developing android application and have list of images bitmap all i need taking image from mobile cam and search in images list and retrieve the Similar images depending on color **

1 Answers1

0

Try to read every pixel anyhow; alternatively, you can obtain the data buffer from the image and directly obtain the pixels as an int[] array , see: Java Colour Detection. Later try something like this:

if (pixelValue == red) { redCounter++; }

Take into consideration save the predominant color and compare both images with them. (For Instance: iTunes show the predominant color of the album).

Community
  • 1
  • 1