High-level operations on digital images