A computer-implemented, in particular user-guided, method for selecting a photographic image (F) for use in
production control, wherein the method comprises the following steps: a) Receiving from a multitude of input images (E1,...,En) specifying an object to be captured (30) in a multitude of lighting settings, wherein the lighting settings are specified by different configurations of an RGB-W lighting unit (20) and include a white image (E0); b) Selecting at least one candidate recording (K1,...,Km) from the initial recordings (E1,...,En) based on a first
selection criterion; c) Defining a template image section (A0) within the white image (E0); d) Generating at least one target image section (A1,...,Am) in the at least one
candidate image (K1,...,Km) that corresponds to the template image section (A0); e) Applying at least one
image processing algorithm, in particular contour recognition,
blob analysis,
region analysis, code analysis or
model matching, with a first set of parameters and / or parameter values to the at least one target image section (A1,...,Am) to generate processed candidate images (K'1,...,K'm); f) Selecting at least one preselection recording (V1,...,Vk) from the set of processed candidate recordings (K'1,...,K'm) based on a second
selection criterion; g) Check whether a pre-selection recording (V1,...,Vk) exists that meets a final screening criterion and, if so, select such a pre-selection recording (V1,...,Vk) as the final recording (F); otherwise h) Repeating steps e) to g), wherein the at least one preselection recording (V1,...,Vk) is used as the at least one candidate recording (K1,...,Km) and in step e) a second set of parameters and / or parameter values, in particular specified by a user, is used;wherein at least one of the selection criteria depends on an
evaluation result of at least one
image analysis algorithm, namely contour recognition, wherein a collection of reference images is used for the evaluation of the at least one
selection criterion, wherein contours are extracted from object edges of the reference images during contour recognition and stored as reference contours, which are searched for in the multitude of input images, wherein the method further comprises calculating a value that indicates a match with a reference contour and wherein, if the value exceeds a threshold, the area under consideration is regarded as a match, wherein an image is rated as good if a predefined number of matches are found and wherein the image is selected as at least one
candidate image if the image is rated as good.