In a computer-assisted method for detecting diaphragm edges caused in an
image by a diaphragm, the image and information about an inner structure
of the diaphragm are provided to a computer. The computer first detects
all image edges that are present in the image. Using the information
about the inner structure of the diaphragm, it then determines the
diaphragm edges from among the detected image edges.