سلام یه لطفی می کنین اینا رو ترجمه کنید
The best result was obtained using closing to connect any nearly connected blemish boundaries, followed by region filling on the background which when inverted gives the interior pixels of the blemish(s), and finished by opening to remove the stray lines.
Of these methods, ‘Canny’ consistently gave “good” results, in which there would be a connected or nearly connected set of pixels around the boundary of the blemish along with some stray lines unrelated to the blemish
However, when used to block process an entire picture the inability to determine blemish from natural feature greatly diminishes the resulting picture. Blemishes are removed along with other features meant to be left untouched