Image Classifier Sample (Migrated from community.research.microsoft.com) RRS feed

  • Question

  • japacheco posted on 02-18-2009 9:28 PM

    Hi !/

    Congratularions ! This is an excellent work. I was triying to modify the Image Classifier Sample for use it

    with some of  my pictures, but I did't figure out what are the first two float values on the vector (inside the features.txt file), Can you help me please?

     Best Regards,

     Antonio Pacheco



    Friday, June 3, 2011 4:44 PM


  • John Guiver replied on 02-19-2009 4:27 AM

    Hi Antonio, thanks for the endorsement.

    For each image, each pixel's hue (which is an angle) is encoded as a 2-D vector (taking cos and sin) and then multiplied by saturation and brightness. These two numbers are averaged across the image to give the first two features of the feature vector – thus these two features form a representation of the colour of the image. However, this is just a very simple example of using image features which help to discriminate the overall colour of images - you can use any features you want in your classifier.


    Friday, June 3, 2011 4:45 PM