Support vector machine for pixeldata