Question: what is imclearborder in matlab?
Answer: J = imclearborder( I ) suppresses structures in image I that are lighter than their surroundings and that are connected to the image border. Use this function to clear the image border. For grayscale images, imclearborder tends to reduce the overall intensity level in addition to suppressing border structures.