IMAGING DEVICE AND HORIZONTAL DIRECTION DETECTION METHOD
An imaging device and a horizontal direction detection method capable of detecting a horizontal angle of a camera with high accuracy in a simple configuration are provided. The imaging device includesan imaging unit configured to obtain image data by photographing a predetermined subject, an image r...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | Chinese English |
Published |
01.02.2019
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | An imaging device and a horizontal direction detection method capable of detecting a horizontal angle of a camera with high accuracy in a simple configuration are provided. The imaging device includesan imaging unit configured to obtain image data by photographing a predetermined subject, an image rotation unit configured to cause a display image based on the image data to be rotated on a displayplane step by step, a count unit configured to count the number of pixels of a specific color included in the display image in a scanning line direction within the display plane and obtain a count value for each of rotated display images, and a determination unit configured to determine a horizontal direction of a photographing angle of the imaging unit based on the count value for each of the rotated display images.
本发明提供种能以简易的构成高精度地检测相机的水平角度的摄像装置以及水平方向检测方法。本发明的摄像装置具有:摄像部,对规定的被摄体进行摄影而获得图像数据;图像旋转部,使基于图像数据的显示图像在显示面上逐步地旋转;计数部,针对旋转而成的各显示图像,沿着显示面内的扫描线方向对显示图像所含的特定颜色的像素数进行计数,获得计数值;以及判定部,根据与旋转而成的各显示图像有关的计数值,判定摄像部的摄影角度的水平方向。 |
---|---|
Bibliography: | Application Number: CN201810810993 |