Object Skeleton Extraction in Natural Images by Fusing Scale-associated Deep Side Outputs

03/31/2016 ∙ by Wei Shen, et al. ∙ Huazhong University of Science u0026 Technology Shanghai University Microsoft 0

Object skeleton is a useful cue for object detection, complementary to the object contour, as it provides a structural representation to describe the relationship among object parts. While object skeleton extraction in natural images is a very challenging problem, as it requires the extractor to be able to capture both local and global image context to determine the intrinsic scale of each skeleton pixel. Existing methods rely on per-pixel based multi-scale feature computation, which results in difficult modeling and high time consumption. In this paper, we present a fully convolutional network with multiple scale-associated side outputs to address this problem. By observing the relationship between the receptive field sizes of the sequential stages in the network and the skeleton scales they can capture, we introduce a scale-associated side output to each stage. We impose supervision to different stages by guiding the scale-associated side outputs toward groundtruth skeletons of different scales. The responses of the multiple scale-associated side outputs are then fused in a scale-specific way to localize skeleton pixels with multiple scales effectively. Our method achieves promising results on two skeleton extraction datasets, and significantly outperforms other competitors.

READ FULL TEXT VIEW PDF
POST COMMENT

Comments

There are no comments yet.

Authors

page 1

page 3

page 6

page 7

page 8

page 9

page 10

This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

1 Introduction

In this paper, we investigate an interesting and nontrivial problem in computer vision, object skeleton extraction from natural images (Fig. 

1). Here, the concept of “object” means a standalone thing with a well-defined boundary and center [2], such as an animal, a human, and a plane, as opposed to amorphous background stuff, such as sky, grass, and mountain. Skeleton, also called symmetry axis, is a useful structure-based object descriptor. Extracting object skeletons directly from natural images is of broad interests to many real applications including object recognition/detection [4, 30], text recognition [36], road detection and blood vessel detection [29].

Figure 1: Object skeleton extraction in natural images. The skeletons are in yellow.

Skeleton extraction from pre-segmented images [23] used to be a hot topic, which has been well studied and successfully applied to shape-based object matching and recognition [27, 24, 9]. However, such methods have severe limitations when being applied to natural images, as segmentation from natural images is still an unsolved problem.

Skeleton extraction from natural images is a much more challenging problem. The main difficulties stem from three aspects: (1) Complexity of natural scenes: Natural scenes can be very cluttered. Amorphous background elements, such as fences, bricks and even the shadows of objects, exhibit somewhat self-symmetry, and thus are prone to cause distractions. (2) Diversity of objects: Objects in natural images may exhibit entirely different colors, textures, shapes and sizes. (3) Specificity of skeletons: local skeleton segments have a variety of patterns, such as straight lines, T-junctions and Y-junctions. In addition, a local skeleton segment naturally associates with a certain scale, determined by the thickness of its corresponding object part. However, it is unknown in natural images. We term this problem as unknown-scale problem in skeleton extraction.

A number of works have been proposed to study this problem in the past decade. Broadly speaking, they can be categorized into two groups: (1) Traditional image processing methods [34, 13, 18, 35], which compute skeletons from a gradient intensity map according to some geometric constraints between edges and skeletons. Due to the lack of object prior, these methods can not handle the images with complex scenes; (2) Recent learning based methods [31, 17, 16, 29, 32]

, which learn a per-pixel classification or segment-linking model based on elaborately hand-designed features computed at multi-scales for skeleton extraction. Limited by the ability of traditional learning models and hand-designed features, these methods fail to extract the skeletons of objects with complex structures and cluttered interior textures. In addition, such per-pixel/segment models are usually quite time consuming for prediction. Consequently, there still remains obvious gap between these skeleton extraction methods and human perception, in both performance and speed. Skeleton extraction has its unique aspect by looking into both local and global image context, which requires much more powerful models in both multi-scale feature learning and classifier learning, since the visual complexity increases exponentially with the size of the context field.

To tackle the obstacles mentioned above, we develop a holistically-nested network with multiple scale-associated side outputs for skeleton extraction. The holistically-nested network [33] is a deep fully convolutional network (FCN) [20], which enables holistic image training and prediction for per-pixel tasks. Here, we connect a scale-associated side output to each convolutional layer in the holistically-nested network to address the unknown-scale problem in skeleton extraction.

Referring to Fig. 2, imagine that we are using multiple filters with different sizes (such as the convolutional kernels in convolutional networks) to detect a skeleton pixel with a certain scale; then only the filters with the sizes larger than the scale will have responses on it, and others will not. Note that the sequential convolutional layers in a holistically-nested network can be treated as the filters with increasing sizes (the receptive field sizes on the original image of each convolutional layer are increasing from shallow to deep). So each convolutional layer is only able to capture the features of the skeleton pixels with scales less than its receptive field size. The sequential increasing receptive field sizes provide a principle to quantize the skeleton scale space. With these observations, we propose to impose supervision to each side output, optimizing it towards a scale-associated groundtruth skeleton map. More specifically, each skeleton pixel in it is labeled by a quantized scale value and only the skeleton pixels whose scales are smaller than the receptive filed size of the side output are reserved. Thus, each side output is associated with some certain scales and able to give a certain number of scale-specific skeleton score maps (the score map for one specified quantized scale value) when predicting.

The final predicted skeleton map can be obtained by fusing these scale-associated side outputs. A straightforward fusion method is to average them. However, a skeleton pixel with larger scale probably has a stronger response on a deeper side output, and a weaker response on a shallower side output; a skeleton pixel with smaller scale may have strong responses on both of the two side outputs. By considering this phenomenon, for each quantized scale value, we propose to use a scale-specific weight layer to fuse the corresponding scale-specific skeleton score map provided by each side output.

Figure 2: Using filters (the green squares on images) of multiple sizes for skeleton extraction. Only when the size of the filter is larger than the scale of current skeleton part can the filter capture enough context feature to detect it.

In summary, the core contribution of this paper is the proposal of the scale-associated side output layer, which enables both target learning and fusion in a scale-associated way. Therefore, our holistically-nested network is able to localize skeleton pixels with multiple scales.

To the best of our knowledge, there are only two datasets related to our task. One is the SYMMAX300 dataset [31], which is converted from the well-known Berkeley Segmentation Benchmark (BSDS300) [21]. However, this dataset is used for local reflection symmetry detection. Local reflection symmetry [19, 15] is a kind of low-level feature of image, regardless of the concept of “object”. Some samples in this dataset are shown in Fig. 3(a). Note that, a large number of symmetries occur in non-object parts. Generally, object skeleton is a subset of local reflection symmetry. The other one is the WH-SYMMAX dataset [25], which is converted from the Weizmann Horse dataset [7]. This dataset is suitable to verify object skeleton extraction methods; however, as shown in Fig. 3(b) the limitation is that only one object category, the horse, is contained in it. To evaluate skeleton extraction methods, we construct a new dataset, named SK506111http://wei-shen.weebly.com/uploads/2/3/8/2/23825939/sk506.zip. There are 506 natural images in this dataset, which are selected from the recent published MS COCO dataset [8]. The objects in these 506 images belong to a variety of categories, including humans, animals, such as birds, dogs and giraffes, and artificialities, such as planes and hydrants. We apply a skeletonization method [3] to the provided human-annotated foreground segmentation maps of the selected images to generate the groundtruth skeleton maps. Some samples of the SK506 dataset are shown in Fig. 3(c). We evaluate several skeleton extraction methods as well as symmetry detection methods on both SK506 and WH-SYMMAX. The experimental results demonstrate that the proposed method significantly outperforms others.

Figure 3: Some samples from three datasets. (a) The SYMMAX300 dataset [31]. (b) The WH-SYMMAX dataset [25]. (c) Our new dataset, the SK506 dataset. The groundtruths for skeleton or local reflection symmetry are in yellow.

2 Related Works

Object skeleton extraction has been paid much attention in previous decades. However, most works in the early stage [23, 3] only focus on skeleton extraction from pre-segmented images. As these works have a strict assumption that object silhouettes are required to be available, they cannot be applied in our task.

Some pioneers try to extract skeletons from the gradient intensity maps computed on natural images. The gradient intensity map is generally obtained by applying directional derivative operators to a gray-scale image smoothed by a Gaussian kernel. For instance, in [18], the author provides an automatic mechanism to determine the best size of the Gaussian kernel used for gradient computation, and he propose to detect skeletons as the pixels for which the gradient intensity assumes a local maximum (minimum) in the direction of the main principal curvature. Jang and Hong [13] extract the skeleton from the pseudo-distance map which is obtained by iteratively minimizing an object function defined on the gradient intensity map. Yu and Bajaj [34]

propose to trace the ridges of the skeleton intensity map calculated from the diffused vector field of the gradient intensity map, which can remove the undesirable biased skeletons. Due to the lack of object prior, these methods are only able to handle the images with simple scenes.

Recent learning based skeleton extraction methods are more suitable to deal with the scene complexity problem in natural images. One type of them formulates skeleton extraction to be a per-pixel classification problem. Tsogkas and Kokkinos [31] compute the hand-designed features of multi-scale and multi-orientation at each pixel, and employ the multiple instance learning framework to determine whether it is symmetry222Although symmetry detection is not the same problem as skeleton extraction, we also compare the methods for it with ours, as skeleton can be considered a subset of symmetry. or not. Shen et al. [25] then improve their method by training MIL models on automatically learned scale- and orientation-related subspaces. Sironi et al. [29] transform the per-pixel classification problem to a regression one to achieve accurate skeleton localization, which learns the distance to the closest skeleton segment in scale-space. Alternatively, another type of learning based methods aim to learn the similarity between local skeleton segments (represented by superpixel [17, 16] or spine model [32]

), and link them by hierarchical clustering 

[17], dynamic programming [16] or particle filter [32]. Due to the limited power of the hand-designed features and traditional learning models, these methods are intractable to detect the skeleton pixels with large scales, as much more context information is needed to be handled.

Our method is inspired by [33], which develops a holistically-nested network for edge detection (HED). Edge detection does not face the unknown-scale problem. Using a local filter to detect an edge pixel, no matter what the size of the filter is, will have responses, either stronger or weaker. So summing up the multi-scale detection responses, which is adopted in the fusion layer in HED, is able to improve the performance of edge detection [22, 10, 26], while bringing noises across the scales for skeleton extraction. There are two main differences between HED and our method. 1. We supervise the side outputs of the network with different scale-associated groundtruths, while the groundtruths in HED are the same. 2. We use different scale-specific weight layers to fuse the corresponding scale-specific skeleton score maps provided by the side outputs, while the side outputs are fused by a single weight layer in HED. Such two changes utilize multi stages in a network to explicitly detect the unknown scale, which HED is unable to handle with. With the extra supervision added to each layer, our method is able to provide a more informative result, i.e., the predicted scale for each skeleton pixel, which is useful for other potential applications, such as part segmentation and object proposal detection (we will show this in Sec. 4.2.6 and Sec. 4.2.7). While the result of HED cannot be applied to such applications.

3 Methodology

In this section, we describe our methods for object skeleton extraction. First, we introduce the architecture of our holistically-nested network. Then, we discuss how to optimize and fuse the multiple scale-associated side outputs in the network for skeleton extraction.

3.1 Network Architecture

The recent work [1]

has demonstrated that fine-tuning well pre-trained deep neural networks is an efficient way to obtain a good performance on a new task. Therefore, we basically adopt the network architecture used in 

[33], which is converted from VGG 16-layer net [28] by adding additional side output layers and replacing fully-connected layers by fully-convolutional layers with kernel size. Each fully-convolutional layer is then connected to an upsampling layer to ensure that the outputs of all the stages are with the same size. Here, we make several modifications for our task skeleton extraction: (a) we connect the proposed scale-associated side output layer to the last convolutional layer in each stage except for the first one, respectively conv2_2, conv3_3, conv4_3, conv5_3. The receptive field sizes of the scale-associated side output layers are 14, 40, 92, 196, respectively. The reason why we omit the first stage is that the receptive field size of the last convolutional layer in it is too small (only 5) to capture any skeleton features. There are few skeleton pixels with scales less than such a small receptive field size. (b) Each scale-associated side output layer provides a certain number of scale-specific skeleton score maps. Each scale-associated side output layer is connected to a slice layer to obtain the skeleton score map for each scale. Then from all the scale-associated side output layers, we use a scale-specific weight layer to fuse the skeleton score maps for this scale. Such a scale-specific weight layer can be achieved by a fully-convolutional layer with

kernel size. In this way, the skeleton score maps for different scales are fused by different weight layers. The fused skeleton score maps for each scale are concatenated together to form the final predicted skeleton map. To sum up, our holistically-nested network architecture has 4 stages with additional scale-associated side output layers, with strides 2, 4, 8 and 16, respectively, and with different receptive field sizes; it also has 5 additional weight layers to fuse the side outputs. An illustration for the network architecture is shown in Fig. 

4.

Figure 4: The proposed network architecture for skeleton extraction, which is converted from VGG 16-layer net [28]. It has 4 stages with additional scale-associated side output layers connected to the convolutional layers. Each scale-associated side output is guided by a scale-associated groundtruth skeleton map (The skeleton pixels with different quantized scales are in different colors.). Each scale-associated side output layer provides a certain number of scale-specific skeleton score maps (identified by stage number-quantized scale value pairs). The score maps of the same scales from different stages will be sliced and concatenated. Five scale-specific weighted-fusion layers are added to automatically fuse outputs from multiple stages.

3.2 Skeleton Extraction by Fusing Scale-associated Side Outputs

Skeleton extraction can be formulated as a per-pixel classification problem. Given a raw input image , our goal is to predict its skeleton map , where denotes the predicted label for each pixel , i.e., if is predicted as a skeleton pixel, ; otherwise, . Next, we describe how to learn and fuse the scale-associated side outputs in the training phase as well as how to utilize the learned network in the testing phase, respectively.

3.2.1 Training Phase

We are given a training dataset denoted by , where is a raw input image and () is its corresponding groundtruth skeleton map. First, we describe how to compute a quantized skeleton scale map for each training image, which will be used for guiding the network training.

Skeleton scale quantization.

According to the definition of skeleton [6], we define the scale of each skeleton pixel as the diameter of the maximal disk centered at it, which can be obtained when computing the groundtruth skeleton map from the pre-segmented image. By defining the scale of each non-skeleton pixel to be zero, we build a scale map for each and we have , where is an indicator function. As we consider each image holistically, we drop the superscript in our notation. We aim to learn a holistically-nested network with multiple stages of a convolutional layer linked with a scale-associated side output layer. Assume that there are such stages in our network, in which the receptive field sizes of the convolutional layers increase sequentially. Let be the sequence of the receptive field sizes. Recall that only when the receptive field size is larger than the scale of a skeleton pixel can the convolutional layer capture the features of it. Thus, the scale of a skeleton pixel can be quantized into a discrete value, to indicate which stages in the network are able to detect this skeleton pixel. (Here, we assume that is sufficiently large for capturing the features of the skeleton pixels with the maximum scale). The quantized value of a scale is computed by

(1)

where is a factor to ensure that the receptive field sizes are sufficiently large for feature computation. (We set in our experiments.) Now, for an image , we can build a quantized scale value map ().

Scale-associated side output learning.

The groundtruth skeleton map can be trivially converted from : , but not vice versa. So we would like to guild the network training by instead of , as more supervision can be included. This actually convert a binary classification problem to a multi-class classification, where each class corresponds a quantized scale. Towards this end, each side output layer in our network is associated with a softmax regression classifier. While according to the above discussions, one stage in our network is only able to detect the skeleton pixels with scales less than its corresponding receptive field size. Therefore, the side output is scale-associated. For the -th side output, we guild it to a scale-associated groundtruth skeleton map: , where is an element-wise product operator. Let denote the maximum value in , i.e., , then we have . Let

denote the loss function for this scale-associated side output, where

and are the layer parameters of the network and the parameters of the classifier of this stage. As our network enables holistic image training, the loss function is computed over all pixels in the training image and the scale-associated groundtruth skeleton map . Generally, the distribution of skeleton pixels with different scales and non-skeleton pixels is biased in an image. Therefore, we define a weighted softmax loss function to balance the loss between these multiple classes:

(2)

where is the loss weight for the -th class and is the predicted score given by the classifier for how likely the quantized scale of is . denotes the number of non-zero elements in a set, then can be computed by

(3)

Let be the activation of the -th side output associated with the quantized scale for the input , then we use the softmax function [5] to compute

(4)

One can show that the partial derivation of w.r.t. () can be obtained by

(5)

denotes the parameters of the classifiers in all the stages, then the loss function for all the side outputs is simply obtained by

(6)
Multiple scale-associated side outputs fusion.

For an input pixel , each scale-associated side output provides a predicted score (if ) for representing how likely its quantized scale is . We can obtain a fused score by simply summing them with weights :

(7)

We can understand the above fusion by this way: each scale-associated side output provides a certain number of scale-specific predicted skeleton score maps, and we utilize scale-specific weight layers: to fuse them. Similarly, we can define a fusion loss function by

(8)

where is defined by the same way in Eqn. 3 and .

Finally, we can obtain the optimal parameters by

(9)

3.2.2 Testing Phase

Given a testing image , with the learned network , its predicted skeleton map is obtained by

(10)

Recall that and mean that is a non-skeleton/skeleton pixel, respectively. We refer to our method as FSDS, for fusing scale-associated deep side outputs.

3.3 Understanding of the Proposed Method

To understand our method more deeply, we illustrate the intermediate results of our method and compare with those of HED in Fig. 5. The response of each scale-associated side output can be obtained by the similar way of Eqn. 10. We compare the response of each scale-associated side output to the corresponding one in HED (The side output 1 in HED is connected to conv1_2, while ours start from conv2_2.). With the extra scale-associated supervision, the responses of our side outputs are indeed related to scale. For example, the first one fires on the structure with small scales, such as the legs, the interior textures and the object boundaries; while in the second one, the skeleton parts of the head and neck are clear and meanwhile the noises on small scale structure are suppressed. In addition, we perform scale-specific fusion, by which each fused scale-specific skeleton score map indeed corresponds to one scale (See the first three response maps corresponding to legs, neck and torso respectively). The side outputs in HED are not able to differentiate skeleton pixels with different scales. Consequently, the first two respond on the whole body, which bring noises to the final fusion one.

Figure 5: The comparison between the intermediate results of FSDS and HED. We can observe that the former are able to differentiate skeleton pixels with different scales, while the latter cannot.

4 Experimental Results

In this section we discuss the implementation details and compare the performance of our skeleton extraction methods with competitors.

4.1 Implementation Details

Our architecture is built on the public available implementation of FCN [20] and HED [33]. The whole network is fine-tuned from an initialization with the pre-trained VGG 16-layer net [28].

Model parameters

The hyper parameters of our network include: mini-batch size(10), base learning rate (), loss weight for each side-output (1), momentum (0.9), initialization of the nested filters(0), initialization of of the scale-specific weighted fusion layer (, where is the number of sliced scale-specific map), the learning rate of the scale-specific weighted fusion layer (), weight decay (), maximum number of training iterations ().

Data augmentation

Data augmentation is a principal way to generate sufficient training data for learning a “good” deep network. We rotate the images to 4 different angles (, , , ) and flip with different axis(up-down,left-right,no flip), then resize images to 3 different scales (, , ), totally leading to an augmentation factor of 36. Note that when resizing a groundtruth skeleton map, the scales of the skeleton pixels in it should be multiplied by a resize factor accordingly.

4.2 Performance Comparison

We conduct our experiments by comparing our method FSDS with many others, including a traditional image processing method (Lindeberg’s method [18]), three learning based segment linking methods ( Levinshtein’s method [17], Lee’s method [16] and Particle Filter [32]), three per-pixel classification/regression methods (Distance Regression [29], MIL [31] and MISL [25]

) and a deep learning based method (HED 

[33]). For all theses methods, we use the source code provided by authors under default setting. For HED and FSDS, we perform iterations of sufficient numbers to obtain optimal models, and iterations for FSDS and HED, respectively. We apply a standard non-maximal suppression algorithm [10] to the response maps of HED and ours to obtain the thinned skeletons for performance evaluation.

4.2.1 Evaluation Protocol

We follow the evaluation protocol used in [31], under which the performances of skeleton extraction methods are measured by their maximum F-meansure (

) as well as precision-recall curves with respect to the groundtruth skeleton map. To obtain the precision-recall curves, the detected symmetry response is first thresholded into a binary map, which is then matched with the groundtruth skeleton map. The matching allows small localization errors between detected positives and groundtruths. If a detected positive is matched with at least one groundtruth skeleton pixel, it is classified as true positive. In contrast, pixels that do not correspond to any groundtruth skeleton pixel are false positives. By assigning different thresholds to the detected skeleton response, we can obtain a sequence of precision and recall pair, which is used to plot the precision-recall curve.

4.2.2 Sk506

We first conduct our experiments on our newly built SK506 Dataset. Object skeletons in this dataset have large variances in both structures and scales. We split this dataset into 300 training and 206 testing images. We report the F-measure as well as the average runtime per image of each method on this dataset in Table. 

1. Observed that, both traditional image processing and per-pixel/segment learning methods perform not well, indicating the difficulty of this task. In addition, the segment linking methods are extremely time consuming. Our method FSDS outperforms others significantly, even compared with the deep learning based method HED. Besides, thanks to the powerful convolution computation ability of GPU, our method can process images in real time, about 20 images per second. The precision/recall curves shown in Fig. 6 evidence again that FSDS is better than the competitors, as ours shows both improved recall and precision at most of the precision-recall regimes. We illustrate the skeleton extraction results obtained by several methods in Fig. 7

for qualitative comparison. These qualitative examples show that our method hits on more groundtruth skeleton points and meanwhile suppresses the false positives. The false positives in the results of HED are probably introduced across response of different scales. Benefited from scale-associated learning and scale-specific fusion, our method is able to suppress such false positives.

Method F-measure Avg Runtime (sec)
Lindeberg [18] 0.227 4.03
Levinshtein [17] 0.218 144.77
Lee [16] 0.252 606.30
Particle Filter [32] 0.226 322.25
MIL [31] 0.392 42.38
HED [33] 0.542 0.05
FSDS (ours) 0.623 0.05
Table 1: Performance comparison between different methods on the SK506 dataset. GPU time.
Figure 6: Evaluation of skeleton extractors on the SK506 dataset. Leading skeleton extraction methods are ranked according to their best F-measure with respect to groundtruth skeletons. Our method, FSDS achieves the top result and shows both improved recall and precision at most of the precision-recall regime. See Table 1 for more details about the other two quantities and method citations.
Figure 7: Illustration of skeleton extraction results on the SK506 dataset for several selected images. The groundtruth skeletons are in yellow and the thresholded extraction results are in red. Thresholds were optimized over the whole dataset.

4.2.3 Wh-Symmax

The WH-SYMMAX dataset [25] totally contains 328 images, among which the first 228 are used for training and the rest are used for testing. The precision/recall curves of skeleton extraction methods are shown in Fig. 9 and summary statistics are in Table 2. Qualitative comparisons are illustrated in Fig. 10. Both quantitative and qualitative results demonstrate that our method is clearly better than others.

Method F-measure Avg Runtime (sec)
Lindeberg [18] 0.277 5.75
Levinshtein [17] 0.174 105.51
Lee [16] 0.223 716.18
Particle Filter [32] 0.334 13.9
Distance Regression [29] 0.103 5.78
MIL [31] 0.365 51.19
MISL [25] 0.402 78.41
HED [33] 0.732 0.06
FSDS (ours) 0.769 0.07
Table 2: Performance comparison between different methods on the WH-SYMMAX Dataset [25]. GPU time.

4.2.4 Symmax300

As we discussed in Sec. 1, a large number of groundtruths are labeled on non-object parts in SYMMAX300 [31], which do not have organized structures as object skeletons. Our aim is to suppress those on non-object parts, so that the obtained skeletons can be used for other potential applications. In addition, the groundtruths for scale are not provided by SYMMAX300. Therefore, we do not evaluate our method quantitatively on SYMMAX300. Even so, Fig. 8 shows that our method can obtain good skeletons of some objects in SYMMAX300. We also observe that the results obtained by our method have significantly less noises on background.

Figure 8: Illustration of skeleton extraction results on the SYMMAX300 dataset [31] for several selected images. The groundtruth skeletons are in yellow and the thresholded extraction results are in red. Thresholds were optimized over the whole dataset.

4.2.5 Cross Dataset Generalization

One may concern the scale-associated side outputs learned from one dataset might lead to higher generalization error when applying them to another dataset. To explore whether this is the case, we test the model learned from one dataset on another one. For comparison, we list the cross dataset generalization results of MIL [31], HED [33] and our method in Table 3. Our method achieves better cross dataset generalization results than both the “non-deep” method (MIL) and the “deep” method (HED).

Figure 9: Evaluation of skeleton extractors on the WH-SYMMAX Dataset [25]. Leading skeleton extraction methods are ranked according to their best F-measure with respect to groundtruth skeletons. Our method, FSDS achieves the top result and shows both improved recall and precision at most of the precision-recall regime. See Table 2 for more details about the other two quantities and method citations.
Figure 10: Illustration of skeleton extraction results on the WH-SYMMAX dataset [25] for several selected images. The groundtruth skeletons are in yellow and the thresholded extraction results are in red. Thresholds were optimized over the whole dataset.
Method Train/Test F-measure
MIL [31] SK506/WH-SYMMAX 0.363
HED [33] SK506/WH-SYMMAX 0.637
FSDS (ours) SK506/WH-SYMMAX 0.692
MIL [31] WH-SYMMAX/SK506 0.387
HED [33] WH-SYMMAX/SK506 0.492
FSDS (ours) WH-SYMMAX/SK506 0.529
Table 3: Cross-dataset generalization results. TRAIN/TEST indicates the training/testing dataset used.

4.2.6 Symmetric Part Segmentation

Part-based models are widely used for object detection and recognition in natural images [11, 14]. To verify the usefulness of the extracted skeletons, we follow the criteria in [17] for symmetric part segmentation. We evaluate the ability of our skeleton to find segmentation masks corresponding to object parts in a cluttered scene. Our network provides a predicted scale for each skeleton pixel (the fused skeleton score map for which scale has maximal response). With it we can recover object parts from skeletons. For each skeleton pixel , we can predict its scale by . Then for a skeleton segment , where is the number of the skeleton pixels in this segment, we can obtain a segmented object part mask by , where is the disk of center and diameter . A confidence score is also assigned to each object part mask for quantitative evaluation: . We compare our segmented part masks with Lee’s method [16] and Levinshtein’s method [17] on their BSDS-Parts dataset [16], which contains 36 images annotated with ground-truth masks corresponding to the symmetric parts of prominent objects. The segmentation results are evaluated by the protocol used in [16]: A segmentation mask is counted as a hit if its overlap with the ground-truth mask is greater than , where overlap is measured by intersection-over-union (IoU). A precision/recall curve is obtained by varying a threshold over the confidence scores of segmented masks. The quantitative evaluation results are summarized in Fig. 11, which indicate a significant improvement over the other two methods. Some qualitative results on the BSDS-Parts dataset [16] are shown in Fig. 12.

Figure 11: Symmetric part segmentation results on BSDS-Parts dataset [16].
Figure 12: Illustration of symmetric part segmentation results on the BSDS-Parts dataset [16] for several selected images. In each column, we show the orginal image, the segmentation groundtruth, the thresholded extracted skeleton (in green), the segmented masks recovered by the skeleton. Thresholds were optimized over the whole dataset.

4.2.7 Object Proposal Detection

To demonstrate the potential of the extracted skeletons in object detection, we do an experiment on object proposal detection. Let be the objectness score of a bounding box obtained by Edge Boxes [37], we define our objectness score by , where is a very small number to ensure the denominator to be non-zero, and is a part mask reconstructed by a detected skeleton segment. As shown in Fig. 13, the new scoring method achieves a better object proposal detection result than Edge Boxes.

Figure 13: Object proposal results on ETHZ Shape Classes [12]. (a) The curve (IoU = 0.7). (b) Examples. Groundtruth (green), the closest proposal to groundtruth of Edgebox (red) and ours (blue).

5 Conclusion

We have presented a fully convolutional network with multiple scale-associated side outputs to extract skeletons from natural images. By pointing out the relationship between the receptive field sizes of the sequential stages in the network and the skeleton scales they can capture, we emphasized the important roles of the proposed scale-associated side outputs in (1) guiding multi-scale feature learning and (2) fusing scale-specific responses from different stages. The encouraging experimental results demonstrate the effectiveness of the proposed method for skeleton extraction from natural images. It achieves significant improvements to all other competitors.

Acknowledgement. This work was supported in part by the National Natural Science Foundation of China under Grant 61303095 and 61573160, in part by Research Fund for the Doctoral Program of Higher Education of China under Grant 20133108120017, and in part by Innovation Program of Shanghai Municipal Education Commission under Grant 14YZ018. We thank NVIDIA Corporation for providing their GPU device for our academic research.

References

  • [1] P. Agrawal, R. B. Girshick, and J. Malik. Analyzing the performance of multilayer neural networks for object recognition. In Proc. ECCV, pages 329–344, 2014.
  • [2] B. Alexe, T. Deselaers, and V. Ferrari. What is an object? In Proc. CVPR, pages 73–80, 2010.
  • [3] X. Bai, L. J. Latecki, and W. Liu. Skeleton pruning by contour partitioning with discrete curve evolution. IEEE Trans. Pattern Anal. Mach. Intell., 29(3):449–462, 2007.
  • [4] X. Bai, X. Wang, L. J. Latecki, W. Liu, and Z. Tu. Active skeleton for non-rigid object detection. In Proc. ICCV, pages 575–582, 2009.
  • [5] C. Bishop. Pattern Recognition and Machine Learning. Springer, Newyork, NY, USA, 2006.
  • [6] H. Blum. Models for the perception of speech and visual form, chapter A Transformation for extracting new descriptors of shape, pages 363–380. MIT Press, Boston, MA, USA, 1967.
  • [7] E. Borenstein and S. Ullman. Class-specific, top-down segmentation. In Proc. ECCV, pages 109–124, 2002.
  • [8] X. Chen, H. Fang, T. Lin, R. Vedantam, S. Gupta, P. Dollár, and C. L. Zitnick. Microsoft COCO captions: Data collection and evaluation server. arXiv:1405.0312, 2015.
  • [9] M. F. Demirci, A. Shokoufandeh, Y. Keselman, L. Bretzner, and S. J. Dickinson. Object recognition as many-to-many feature matching. International Journal of Computer Vision, 69(2):203–222, 2006.
  • [10] P. Dollár and C. L. Zitnick. Fast edge detection using structured forests. IEEE Trans. Pattern Anal. Mach. Intell., 37(8):1558–1570, 2015.
  • [11] P. F. Felzenszwalb, R. B. Girshick, D. A. McAllester, and D. Ramanan. Object detection with discriminatively trained part-based models. IEEE Trans. Pattern Anal. Mach. Intell., 32(9):1627–1645, 2010.
  • [12] V. Ferrari, T. Tuytelaars, and L. J. V. Gool. Object detection by contour segment networks. In Proc. ECCV, pages 14–28, 2006.
  • [13] J.-H. Jang and K.-S. Hong. A pseudo-distance map for the segmentation-free skeletonization of gray-scale images. In Proc. ICCV, pages 18–25, 2001.
  • [14] X. C. Jun Zhu and A. Yuille. Deepm: A deep part-based model for object detection and semantic part localization. arXiv:1511.07131, 2015.
  • [15] S. Lee and Y. Liu. Curved glide-reflection symmetry detection. IEEE Trans. Pattern Anal. Mach. Intell., 34(2):266–278, 2012.
  • [16] T. S. H. Lee, S. Fidler, and S. J. Dickinson. Detecting curved symmetric parts using a deformable disc model. In Proc. ICCV, pages 1753–1760, 2013.
  • [17] A. Levinshtein, S. J. Dickinson, and C. Sminchisescu. Multiscale symmetric part detection and grouping. In Proc. ICCV, pages 2162–2169, 2009.
  • [18] T. Lindeberg. Edge detection and ridge detection with automatic scale selection. International Journal of Computer Vision, 30(2):117–156, 1998.
  • [19] Y. Liu. Computational symmetry in computer vision and computer graphics. Now publishers Inc, Hanover, MA, USA, 2009.
  • [20] J. Long, E. Shelhamer, and T. Darrell. Fully convolutional networks for semantic segmentation. In Proc. CVPR, pages 3431–3440, 2015.
  • [21] D. R. Martin, C. Fowlkes, D. Tal, and J. Malik. A database of human segmented natural images and its application to evaluating segmentation algorithms and measuring ecological statistics. In Proc. ICCV, pages 416–425, 2001.
  • [22] X. Ren. Multi-scale improves boundary detection in natural images. In Proc. ECCV, pages 533–545, 2008.
  • [23] P. K. Saha, G. Borgefors, and G. S. di Baja. A survey on skeletonization algorithms and their applications. Pattern Recognition Letters, 2015.
  • [24] T. B. Sebastian, P. N. Klein, and B. B. Kimia. Recognition of shapes by editing their shock graphs. IEEE Trans. Pattern Anal. Mach. Intell., 26(5):550–571, 2004.
  • [25] W. Shen, X. Bai, Z. Hu, and Z. Zhang. Multiple instance subspace learning via partial random projection tree for local reflection symmetry in nature images. Pattern Recognition, 52:266–278, 2016.
  • [26] W. Shen, X. Wang, Y. Wang, X. Bai, and Z. Zhang. Deepcontour: A deep convolutional feature learned by positive-sharing loss for contour detection. In Proc. CVPR, pages 3982–3991, 2015.
  • [27] K. Siddiqi, A. Shokoufandeh, S. J. Dickinson, and S. W. Zucker. Shock graphs and shape matching. International Journal of Computer Vision, 35(1):13–32, 1999.
  • [28] K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. CoRR, abs/1409.1556, 2014.
  • [29] A. Sironi, V. Lepetit, and P. Fua. Multiscale centerline detection by learning a scale-space distance transform. In Proc. CVPR, pages 2697–2704, 2014.
  • [30] N. H. Trinh and B. B. Kimia. Skeleton Search: Category-specific object recognition and segmentation using a skeletal shape model. International Journal of Computer Vision, 94(2):215–240, 2011.
  • [31] S. Tsogkas and I. Kokkinos. Learning-based symmetry detection in natural images. In Proc. ECCV, pages 41–54, 2012.
  • [32] N. Widynski, A. Moevus, and M. Mignotte. Local symmetry detection in natural images using a particle filtering approach. IEEE Transactions on Image Processing, 23(12):5309–5322, 2014.
  • [33] S. Xie and Z. Tu. Holistically-nested edge detection. In Proc. ICCV, pages 1395–1403, 2015.
  • [34] Z. Yu and C. L. Bajaj. A segmentation-free approach for skeletonization of gray-scale images via anisotropic vector diffusion. In Proc. CVPR, pages 415–420, 2004.
  • [35] Q. Zhang and I. Couloigner.

    Accurate centerline detection and line width estimation of thick lines using the radon transform.

    IEEE Transactions on Image Processing, 16(2):310–316, 2007.
  • [36] Z. Zhang, W. Shen, C. Yao, and X. Bai. Symmetry-based text line detection in natural scenes. In Proc. CVPR, pages 2558–2567, 2015.
  • [37] C. L. Zitnick and P. Dollár. Edge boxes: Locating object proposals from edges. In Proc. ECCV, pages 391–405, 2014.