Claims (5)
1. Устройство измерения высоты пантографа, включающее линейный датчик и средство обработки изображений, для измерения высоты пантографа на вагоне, который движется, причем линейный датчик помещен на крышу вагона, средство обработки изображений сконфигурировано для анализа изображения, захваченного линейным датчиком, устройство измерения высоты пантографа отличается тем, что1. A pantograph height measuring device including a linear sensor and image processing means for measuring a pantograph height on a carriage that is moving, the linear sensor being placed on the roof of the car, image processing means configured to analyze an image captured by a linear sensor, the pantograph height measuring device is different the fact that
калибровочный элемент, на котором области темного цвета и области светлого цвета размещаются поочередно в вертикальном направлении, предоставляется разъемно в диапазоне, включающем диапазон перемещения пантографа, иa calibration element on which dark-colored regions and light-colored regions are alternately arranged in a vertical direction is detachably provided in a range including a pantograph's range of movement, and
средство обработки изображений конфигурируется для получения выражения отношения, представляющего отношение между положениями областей темного цвета и областей светлого цвета в изображении и фактическими высотами областей темного цвета и областей светлого цвета, и вычисления фактической высоты пантографа из положения пантографа в изображении, которое захвачено линейным датчиком, с использованием выражения отношения, причем положения областей темного цвета и областей светлого цвета получаются из изображения калибровочного элемента, захваченного линейным датчиком.image processing means is configured to obtain a relationship expression representing the relationship between the positions of the dark areas and light areas in the image and the actual heights of the dark areas and light areas, and calculating the actual height of the pantograph from the position of the pantograph in the image captured by the linear sensor, using a relationship expression, wherein the positions of the areas of dark color and areas of light color are obtained from the image of the calibration element and captured by the line sensor.
2. Устройство измерения высоты пантографа по п.1, отличающееся тем, что2. The device for measuring the height of the pantograph according to claim 1, characterized in that
элемент корректировки строки захвата изображения, имеющий множество областей первого цвета, объединенных в вертикальном направлении, и областей второго цвета, расположенных вокруг областей первого цвета, предоставляется разъемно к калибровочному элементу,an image capturing line adjustment element having a plurality of first color regions combined in the vertical direction and second color regions located around the first color regions is detachably connected to the calibration element,
устройство измерения высоты пантографа содержит средство отображения для отображения изображения, захваченного линейным датчиком, иthe pantograph height measuring device comprises display means for displaying an image captured by a linear sensor, and
формы областей первого цвета в элементе корректировки строки захвата изображения устанавливаются так, что ширины областей первого цвета и областей второго цвета, показанных на средстве отображения, меняются в зависимости от положения и наклона строки захвата изображения в линейном датчике.the shapes of the first color regions in the image capturing line adjustment element are set so that the widths of the first color regions and the second color regions shown on the display means change depending on the position and the slope of the image capturing line in the linear sensor.
3. Устройство измерения высоты пантографа по п.2, отличающееся тем, что3. The device for measuring the height of the pantograph according to claim 2, characterized in that
в элементе корректировки строки захвата изображения области первого цвета образуются имеющими вертикальную ширину больше в горизонтальном центре, чем по обеим сторонам горизонтального центра таким образом, что области первого цвета соприкасаются с соседними областями первого цвета в горизонтальном центре элемента корректировки строки захвата изображения.in the image capturing line adjustment element, regions of the first color are formed having a vertical width larger in the horizontal center than on both sides of the horizontal center so that regions of the first color are in contact with adjacent areas of the first color in the horizontal center of the image capturing line adjustment element.
4. Устройство измерения высоты пантографа по любому из пп.1-3, отличающееся тем, что4. The device for measuring the height of the pantograph according to any one of claims 1 to 3, characterized in that
средство обработки изображений включает в себя:image processing means includes:
блок создания входного изображения для создания входного изображения путем упорядочения в хронологическом порядке сигналов изображения, введенных от линейного датчика;an input image creating unit for creating an input image by ordering, in chronological order, image signals input from a linear sensor;
блок бинаризации для создания двоичного изображения путем преобразования входного изображения в двоичную форму;a binarization unit for creating a binary image by converting the input image to binary form;
блок обнаружения положения окрашенной области для обнаружения положений областей темного цвета и областей светлого цвета в двоичном изображении иa colored area position detecting unit for detecting positions of dark areas and light areas in a binary image, and
арифметический блок выражения отношения для отыскания выражения отношения на основе положений областей темного цвета и областей светлого цвета в двоичном изображении и фактических положений областей темного цвета и областей светлого цвета.an arithmetic relationship expression unit for retrieving a relationship expression based on the positions of the dark color areas and light color areas in the binary image and the actual positions of the dark color areas and light color areas.
5. Устройство измерения высоты пантографа по п.2, отличающееся тем, что5. The device for measuring the height of the pantograph according to claim 2, characterized in that
элемент корректировки строки захвата изображения включает в себя среднюю линию в горизонтальном центре элемента корректировки строки захвата изображения.
the image capturing line adjustment element includes a center line in the horizontal center of the image capturing line adjustment element.