Image coding in digital image processing