Digital image processing including refinement layer, search context data, or DRM