I want to apply an edge filter on the photo by directly using kernel matrix. However, the result is not right. It looks too grey. The image is from Wiki.
Original