color extraction using matlab

Discussion in 'Programmer's Corner' started by ellechar, Nov 7, 2008.

  1. ellechar

    Thread Starter New Member

    Nov 7, 2008
    3
    0
    hi, i am doing a project about color extraction of images. i'm about to compare 2 images, one is the original colored image, and the other one is the cropped image from the original image. how do you compare pixels using matlab? i want to do pixel comparison because for all the pixels that has the same color with the one in the cropped image, i want to set it to 1 (white), and the ones which do not have the same color OR did not reached the specified threshold 0(black). my goal is to segment skin regions to the non-skin regions and i want to produce a binary image for the extracted skin regions.
     
Loading...