I\'m searching for a program which detects the border of a image, for example I have a square and the program detects the X/Y-Coords
Example:
alt text http://img
From the sounds of it, you just want a blob extraction algorithm. After that, the lowest/highest values for x/y will give you the coordinates of the corners.