Creating alpha textures from photos