第14章コンピュータビジョン
14.5.2. Multiscale Detection14.5.2 マルチスケールの検出
Since we have generated multiscale anchor boxes, we will use them to detect objects of various sizes at different scales. In the following we introduce a CNN-based multiscale object detection method that we will implement in Section 14.7.
英語のヒント
マルチスケールのアンカーボックスを生成したので、それらを使って、異なるスケールでさまざまな大きさの物体を検出する。以下では、14.7節で実装する、CNNにもとづくマルチスケールの物体検出の手法を紹介する。
At some scale, say that we have feature maps of shape . Using the method in Section 14.5.1, we generate sets of anchor boxes, where each set has anchor boxes with the same center. For example, at the first scale in the experiments in Section 14.5.1, given ten (number of channels) feature maps, we generated 16 sets of anchor boxes, where each set contains 3 anchor boxes with the same center. Next, each anchor box is labeled with the class and offset based on ground-truth bounding boxes. At the current scale, the object detection model needs to predict the classes and offsets of sets of anchor boxes on the input image, where different sets have different centers.
英語のヒント
Assume that the feature maps here are the intermediate outputs obtained by the CNN forward propagation based on the input image. Since there are different spatial positions on each feature map, the same spatial position can be thought of as having units. According to the definition of receptive field in Section 7.2, these units at the same spatial position of the feature maps have the same receptive field on the input image: they represent the input image information in the same receptive field. Therefore, we can transform the units of the feature maps at the same spatial position into the classes and offsets of the anchor boxes generated using this spatial position. In essence, we use the information of the input image in a certain receptive field to predict the classes and offsets of the anchor boxes that are close to that receptive field on the input image.
英語のヒント
ここでの枚の特徴マップは、入力画像にもとづくCNNの順伝播で得た途中の出力だとする。各特徴マップには個の異なる空間の位置があるので、同じ空間の位置には個のユニットがあると考えられる。7.2節の受容野の定義によれば、特徴マップの同じ空間の位置にあるこれら個のユニットは、入力画像上で同じ受容野をもつ。つまり、同じ受容野の中の入力画像の情報を表している。したがって、同じ空間の位置にある特徴マップの個のユニットを、この空間の位置を使って生成した個のアンカーボックスのクラスとオフセットに変換できる。本質的には、ある受容野の中の入力画像の情報を使って、入力画像上でその受容野に近いアンカーボックスのクラスとオフセットを予測する。
When the feature maps at different layers have varying-size receptive fields on the input image, they can be used to detect objects of different sizes. For example, we can design a neural network where units of feature maps that are closer to the output layer have wider receptive fields, so they can detect larger objects from the input image.
英語のヒント
異なる層の特徴マップが入力画像上で大きさの異なる受容野をもつとき、それらを使って異なる大きさの物体を検出できる。たとえば、出力層に近い特徴マップのユニットほど受容野が広くなるようにニューラルネットワークを設計すれば、それらは入力画像から大きな物体を検出できる。
In a nutshell, we can leverage layerwise representations of images at multiple levels by deep neural networks for multiscale object detection. We will show how this works through a concrete example in Section 14.7.
英語のヒント
手短に言えば、深いニューラルネットワークによる画像の複数のレベルでの層ごとの表現を、マルチスケールの物体検出に活用できる。14.7節では、これがどう働くかを具体的な例で示す。