The present invention relates to a method for embedding a watermark into a black and white or color digital image D. Since it is required for the program to execute as many access operations as there are hierarchic level of relations, the access efficiency is lowered. Related apparatus and microlens array products are also disclosed.