I want to learn how to classify pixels like whether they belong to background or foreground, etc. I know there are various methods like Supervised and Rule based. Please tell me where to start from as I am a beginner? Also please tell me some links where some good and easy to understand explanations are given.