Medical image processing lecture notes