KPIT Technologies interview question

Q. Explain edge detector and straight line detector in image processing.