Canny edge detector. Then, around each candidate point,
we extract patches at four different scales and simultaneously run them through the ﬁve convolutional layers of the
KNet [17]. We connect these convolutional layers to two
separately-trained network branches. The ﬁrst branch is
trained for classiﬁcation, while the second branch is trained
as a regressor. At testing time, the scalar outputs from these
two sub-networks are averaged to produce the ﬁnal score.
level vision tasks such as contour detection. In this paper,
we present a convolutional architecture that achieves stateof-the-art results in a contour detection task, thus demonstrating that convolutional networks can be applied successfully for lower-level vision tasks as well.
Edge Detection. Most of the contour detection methods
can be divided into two branches: local and global methods. Local methods perform contour detection by reasoning about small patches inside the image. Some recent
local methods include sketch tokens [18] and structured
edges [7], Both of these methods are trained in a supervised fashion using a random forest classiﬁer. Sketch tokens [18] pose contour detection as a multi-class classiﬁcation task and predicts a label for each of the pixels individually. Structured edges [7], on the other hand, attempt to
Contour detection has been a fundamental component in many image segmentation
and object detection systems. Most previous work utilizes low-level features
such as texture or saliency to detect contours and then use them as cues for a
higher-level task such as object detection. However, we claim that recognizing
objects and predicting contours are two mutually related tasks. Contrary to
traditional approaches, we show that we can invert the commonly established
pipeline: instead of detecting contours with low-level cues for a higher-level
recognition task, we exploit object-related features as high-level cues for
contour detection.
  We achieve this goal by means of a multi-scale deep network that consists of
five convolutional layers and a bifurcated fully-connected sub-network. The
section from the input layer to the fifth convolutional layer is fixed and
directly lifted from a pre-trained network optimized over a large-scale object
classification task. This section of the network is applied to four different
scales of the image input. These four parallel and identical streams are then
attached to a bifurcated sub-network consisting of two independently-trained
branches. One branch learns to predict the contour likelihood (with a
classification objective) whereas the other branch is trained to learn the
fraction of human labelers agreeing about the contour presence at a given point
(with a regression criterion).
  We show that without any feature engineering our multi-scale deep learning
approach achieves state-of-the-art results in contour detection.
Gedas Bertasius Jianbo Shi Lorenzo Torresani