some basic algorithms of image processing ( actually, they're all from my homework... )