A novel morphological edge detector based on adaptive weighted morphological operators is presented. It judges image edge and direction by adaptive weighted morphological structuring elements (SEs). If the edge direction exists, a big weight factor in SE is put; if it does not exist, a small weight