CN110662011B - State switching device and method based on electronic signal - Google Patents

State switching device and method based on electronic signal Download PDF

Info

Publication number
CN110662011B
CN110662011B CN201910929328.4A CN201910929328A CN110662011B CN 110662011 B CN110662011 B CN 110662011B CN 201910929328 A CN201910929328 A CN 201910929328A CN 110662011 B CN110662011 B CN 110662011B
Authority
CN
China
Prior art keywords
image
rain
macroblock
rain gauge
captured image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910929328.4A
Other languages
Chinese (zh)
Other versions
CN110662011A (en
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ningye Kechuang Intelligent Technology Co.,Ltd.
Original Assignee
Lu'an Tonghui Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lu'an Tonghui Intelligent Technology Co ltd filed Critical Lu'an Tonghui Intelligent Technology Co ltd
Priority to CN201910929328.4A priority Critical patent/CN110662011B/en
Publication of CN110662011A publication Critical patent/CN110662011A/en
Priority to GBGB2012929.2A priority patent/GB202012929D0/en
Application granted granted Critical
Publication of CN110662011B publication Critical patent/CN110662011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00—Details of colour television systems
    • H04N9/64—Circuits for processing colour signals
    • H04N9/73—Colour balance circuits, e.g. white balance circuits or colour temperature control
    • G—PHYSICS
    • G01—MEASURING; TESTING
    • G01W—METEOROLOGY
    • G01W1/00—Meteorology
    • G01W1/14—Rainfall or precipitation gauges
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/12—Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
    • H04N19/122—Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/182—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a pixel
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Hydrology & Water Resources (AREA)
  • Discrete Mathematics (AREA)
  • Atmospheric Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Ecology (AREA)
  • Environmental Sciences (AREA)
  • Image Processing (AREA)
  • Studio Devices (AREA)

Abstract

本发明涉及一种基于电子信号的状态切换装置及方法,所述装置包括:雨量记录仪,包括雨量筒、抽水泵、筒顶封闭件和直流电机,雨量筒的直径为预设长度,所述筒顶封闭件位于所述雨量筒的顶部;信号解析设备,用于基于基准雨滴几何形状对接收到的滤波锐化图像执行雨滴对象的检测,在检测到的雨滴对象的数量超过预设数量阈值时,发出第一触发指令,在检测到的雨滴对象的数量未超过预设数量阈值时,发出第二触发指令。本发明的基于电子信号的状态切换装置及方法操作方便,运行流畅。由于在定制的图像处理的基础上,基于现场雨滴的检测数量确定是否有必要启动雨量记录,从而避免雨量记录仪长时间处于记录状态。

Figure 201910929328

The invention relates to a state switching device and method based on electronic signals. The device comprises: a rain gauge, including a rain gauge, a pump, a cylinder top closure and a DC motor. The diameter of the rain gauge is a preset length; A cylinder-top closure is located on top of the rain gauge; a signal analysis device for performing raindrop object detection on the received filtered and sharpened image based on the reference raindrop geometry, when the number of detected raindrop objects exceeds a preset number threshold When the number of raindrop objects detected does not exceed the preset number threshold, a second trigger instruction is issued. The electronic signal-based state switching device and method of the present invention are convenient to operate and run smoothly. On the basis of customized image processing, it is determined whether it is necessary to start the rain recording based on the detected number of raindrops in the field, so as to avoid the rain recorder being in the recording state for a long time.

Figure 201910929328

Description

基于电子信号的状态切换装置及方法State switching device and method based on electronic signal

技术领域technical field

本发明涉及计算机领域,尤其涉及一种基于电子信号的状态切换装置及方法。The present invention relates to the field of computers, and in particular, to an electronic signal-based state switching device and method.

背景技术Background technique

电子信号可以分为两大类:模拟信号和数字信号,是通过电子学方法传送、处理和存储外界信息的载体。电子信号在导电介质中以电子或者空穴进行传送,在空间中使用电磁波进行传送(红外线也是电磁波)。Electronic signals can be divided into two categories: analog signals and digital signals, which are carriers for transmitting, processing and storing external information through electronic methods. Electronic signals are transmitted by electrons or holes in conductive media, and are transmitted by electromagnetic waves (infrared is also electromagnetic waves) in space.

模拟信号是使用电压幅度和频率的组合来表达信息的,比如显示器中控制显像管的模拟信号中通过电压大小和不同的频率来指明垂直同步、帧同步和色彩的信息。数字信号就很简单了,由“0”和“1”两个状态:高于某个电压值即认为是“1”,低于某个电压值就是“0”,这就是计算机信息处理的基础,即数字化的基础。The analog signal uses the combination of voltage amplitude and frequency to express information, such as the information of vertical synchronization, frame synchronization and color in the analog signal that controls the picture tube in the display through the voltage magnitude and different frequencies. The digital signal is very simple. It consists of two states: "0" and "1": higher than a certain voltage value is considered to be "1", and lower than a certain voltage value is "0", which is the basis of computer information processing , the foundation of digitization.

通过数模转换可以将数字信号和模拟信号进行相互转换,比如复读机,从外界获得声音信息,通过话筒转换为模拟信号,在进入语音芯片后由AD转化为数字信息进行存储,在回放时将存储的数字信息读取,进行DA转换后变为模拟信号,在放大后输出到扬声器,我们就能听见声音了,并且通过控制数字信号的流量来实现语音的快放和慢放以及重复等操作。Through digital-to-analog conversion, digital signals and analog signals can be converted into each other. For example, a repeater can obtain sound information from the outside world, convert it into an analog signal through a microphone, and convert it into digital information after entering the voice chip. The stored digital information is read, converted into an analog signal after DA conversion, and output to the speaker after amplification, we can hear the sound, and by controlling the flow of the digital signal to achieve fast and slow playback and repeat operations of the voice .

发明内容SUMMARY OF THE INVENTION

本发明至少需要具备以下两处关键的发明点:The present invention needs to have at least the following two key invention points:

(1)在定制的图像处理的基础上,基于现场雨滴的检测数量确定是否有必要启动雨量记录,以避免雨量记录仪长时间处于记录状态;(1) On the basis of customized image processing, it is determined whether it is necessary to start the rainfall recording based on the detected number of raindrops in the field, so as to avoid the rainfall recorder being in the recording state for a long time;

(2)在获取用于图像处理的参考性白平衡值的情况下,仅仅对其中对象面积超限的图像宏块执行白平衡处理,从而在图像处理效果和图像处理效率之间达到平衡。(2) In the case of obtaining a reference white balance value for image processing, white balance processing is performed only on image macroblocks in which the object area exceeds the limit, thereby achieving a balance between image processing effect and image processing efficiency.

根据本发明的一方面,提供了一种基于电子信号的状态切换装置,所述装置包括:According to an aspect of the present invention, a state switching device based on an electronic signal is provided, the device comprising:

雨量记录仪,包括雨量筒、抽水泵、筒顶封闭件和直流电机,雨量筒的直径为预设长度,所述筒顶封闭件位于所述雨量筒的顶部;The rain gauge includes a rain gauge, a water pump, a top closure and a DC motor, the diameter of the rain gauge is a preset length, and the top seal is located on the top of the rain gauge;

纽扣摄像设备,设置在雨量记录仪的附近,用于对雨量记录仪所在环境执行摄像动作,以获得并输出相应的当前捕获图像;A button camera device, set near the rain recorder, is used to perform a camera action on the environment where the rain recorder is located, so as to obtain and output the corresponding current captured image;

FPM DRAM存储设备,用于预先存储分块尺寸表,所述分块尺寸表以不同图像分辨率为索引保存了每一种图像分辨率对应的宏块尺寸;an FPM DRAM storage device for pre-storing a block size table, where the block size table stores macroblock sizes corresponding to each image resolution with different image resolutions as indexes;

查表分块设备,分别与所述纽扣摄像设备和所述FPM DRAM存储设备连接,用于基于接收到的当前捕获图像的分辨率从所述分块尺寸表中搜索出对应的宏块尺寸,并基于所述宏块尺寸对所述当前捕获图像进行分块以获得各个图像宏块;a table look-up block device, respectively connected to the button camera device and the FPM DRAM storage device, for searching out the corresponding macroblock size from the block size table based on the received resolution of the current captured image, and segmenting the current captured image based on the macroblock size to obtain each image macroblock;

数据调节设备,与所述查表分块设备连接,用于接收所述当前捕获图像的各个图像宏块,获取各个图像宏块的各个白平衡值,对所述各个白平衡值进行均值计算以输出相应的参考性白平衡值,对所述当前捕获图像中对象面积超过预设面积阈值的每一个图像宏块执行以下动作:基于所述参考性白平衡值对所述图像宏块执行白平衡补偿处理以获得处理后图像宏块;A data adjustment device, connected to the table look-up and block device, is used to receive each image macroblock of the currently captured image, obtain each white balance value of each image macroblock, and perform mean calculation on each white balance value to obtain outputting a corresponding reference white balance value, and performing the following actions for each image macroblock whose object area in the current captured image exceeds a preset area threshold: performing white balance on the image macroblock based on the reference white balance value Compensation processing to obtain processed image macroblocks;

即时处理设备,与所述数据调节设备连接,用于将所述当前捕获图像中各个处理后图像宏块以及所述当前捕获图像中对象面积未超过预设面积阈值的各个图像宏块进行图像整合以获得所述当前捕获图像对应的即时处理图像,所述当前捕获图像中对象面积超过预设面积阈值的图像宏块为其中对象所占据的像素点的数量超过与所述预设面积阈值对应的像素点数量的图像宏块。An instant processing device, connected to the data adjustment device, for image integration of each processed image macroblock in the currently captured image and each image macroblock whose object area does not exceed a preset area threshold in the currently captured image To obtain a real-time processed image corresponding to the currently captured image, the image macroblocks in which the object area exceeds the preset area threshold in the current captured image are the image macroblocks in which the number of pixels occupied by the object exceeds the number of pixels corresponding to the preset area threshold. The number of pixels in the image macroblock.

根据本发明的另一方面,还提供了一种基于电子信号的状态切换方法,所述方法包括使用如上述的基于电子信号的状态切换装置以在定制的图像处理的基础上,基于现场雨滴的检测数量确定是否有必要启动雨量记录。According to another aspect of the present invention, there is also provided a state switching method based on an electronic signal, the method comprising using the electronic signal-based state switching device as described above to, on the basis of customized image processing, The number of detections determines whether it is necessary to initiate a rain recording.

本发明的基于电子信号的状态切换装置及方法操作方便,运行流畅。由于在定制的图像处理的基础上,基于现场雨滴的检测数量确定是否有必要启动雨量记录,从而避免雨量记录仪长时间处于记录状态。The electronic signal-based state switching device and method of the present invention are convenient to operate and run smoothly. On the basis of customized image processing, it is determined whether it is necessary to start the rain recording based on the detected number of raindrops in the field, so as to avoid the rain recorder being in the recording state for a long time.

附图说明Description of drawings

以下将结合附图对本发明的实施方案进行描述,其中:Embodiments of the present invention will be described below with reference to the accompanying drawings, wherein:

图1为根据本发明实施方案示出的基于电子信号的状态切换装置的纽扣摄像设备的外形结构图。FIG. 1 is an outline structure diagram of a button camera device of a state switching device based on an electronic signal according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图对本发明的基于电子信号的状态切换装置及方法的实施方案进行详细说明。The embodiments of the electronic signal-based state switching device and method of the present invention will be described in detail below with reference to the accompanying drawings.

从气象学上的角度来讲,雨量通常指空气中水汽凝结下降及地之水量,露,霜,雹,雪等等,凝结并不包括在内。From a meteorological point of view, rainfall usually refers to the amount of water vapor condensed in the air falling to the ground, dew, frost, hail, snow, etc., and condensation is not included.

所谓雨量,就是在一定时段内,降落到水平面上(无渗漏、蒸发、流失等)的雨水深度。用雨量计测定。以毫米为单位。气象台站在有降水的情况下,每隔6小时测量一次。把一个地方多年的年降水量平均起来,就称为这个地方的“平均年雨量”。The so-called rainfall is the depth of rainwater falling to the horizontal surface (without leakage, evaporation, loss, etc.) within a certain period of time. Measured with a rain gauge. in millimeters. The meteorological station measures it every 6 hours in the presence of precipitation. The average annual precipitation of a place over the years is called the "average annual precipitation" of the place.

当前,雨量记录仪的结构较为简单,仅仅由雨量筒和量杯组成,需要在每次测量完雨量后,需要专业的工作人员使用量杯进行现场测量,同时,当前的雨量记录仪一直处于工作状态,然而实际上在大多数天气下没有必要进行雨量记录的操作。At present, the structure of the rain recorder is relatively simple, consisting only of a rain gauge and a measuring cup. After each rainfall measurement, professional staff are required to use the measuring cup for on-site measurement. At the same time, the current rain recorder is always in working condition. In practice, however, rain recording is not necessary in most weather.

为了克服上述不足,本发明搭建了一种基于电子信号的状态切换装置及方法,能够有效解决相应的技术问题。In order to overcome the above deficiencies, the present invention builds a state switching device and method based on an electronic signal, which can effectively solve the corresponding technical problems.

根据本发明实施方案示出的基于电子信号的状态切换装置包括:The electronic signal-based state switching device shown according to the embodiment of the present invention includes:

雨量记录仪,包括雨量筒、抽水泵、筒顶封闭件和直流电机,雨量筒的直径为预设长度,所述筒顶封闭件位于所述雨量筒的顶部;The rain gauge includes a rain gauge, a water pump, a top closure and a DC motor, the diameter of the rain gauge is a preset length, and the top seal is located on the top of the rain gauge;

纽扣摄像设备,如图1所示,设置在雨量记录仪的附近,用于对雨量记录仪所在环境执行摄像动作,以获得并输出相应的当前捕获图像;The button camera device, as shown in Figure 1, is arranged near the rain recorder, and is used to perform a camera action on the environment where the rain recorder is located, so as to obtain and output the corresponding current captured image;

其中,所述纽扣摄像设备包括纽扣摄像主体1、摄像镜头2和连接电缆3;Wherein, the button camera device includes a button camera body 1, a camera lens 2 and a connection cable 3;

FPM DRAM存储设备,用于预先存储分块尺寸表,所述分块尺寸表以不同图像分辨率为索引保存了每一种图像分辨率对应的宏块尺寸;an FPM DRAM storage device for pre-storing a block size table, where the block size table stores macroblock sizes corresponding to each image resolution with different image resolutions as indexes;

查表分块设备,分别与所述纽扣摄像设备和所述FPM DRAM存储设备连接,用于基于接收到的当前捕获图像的分辨率从所述分块尺寸表中搜索出对应的宏块尺寸,并基于所述宏块尺寸对所述当前捕获图像进行分块以获得各个图像宏块;a table look-up block device, respectively connected to the button camera device and the FPM DRAM storage device, for searching out the corresponding macroblock size from the block size table based on the received resolution of the current captured image, and segmenting the current captured image based on the macroblock size to obtain each image macroblock;

数据调节设备,与所述查表分块设备连接,用于接收所述当前捕获图像的各个图像宏块,获取各个图像宏块的各个白平衡值,对所述各个白平衡值进行均值计算以输出相应的参考性白平衡值,对所述当前捕获图像中对象面积超过预设面积阈值的每一个图像宏块执行以下动作:基于所述参考性白平衡值对所述图像宏块执行白平衡补偿处理以获得处理后图像宏块;A data adjustment device, connected to the table look-up and block device, is used to receive each image macroblock of the currently captured image, obtain each white balance value of each image macroblock, and perform mean calculation on each white balance value to obtain outputting a corresponding reference white balance value, and performing the following actions for each image macroblock whose object area in the current captured image exceeds a preset area threshold: performing white balance on the image macroblock based on the reference white balance value Compensation processing to obtain processed image macroblocks;

即时处理设备,与所述数据调节设备连接,用于将所述当前捕获图像中各个处理后图像宏块以及所述当前捕获图像中对象面积未超过预设面积阈值的各个图像宏块进行图像整合以获得所述当前捕获图像对应的即时处理图像,所述当前捕获图像中对象面积超过预设面积阈值的图像宏块为其中对象所占据的像素点的数量超过与所述预设面积阈值对应的像素点数量的图像宏块;An instant processing device, connected to the data adjustment device, for image integration of each processed image macroblock in the currently captured image and each image macroblock whose object area does not exceed a preset area threshold in the currently captured image To obtain a real-time processed image corresponding to the currently captured image, the image macroblocks in which the object area exceeds the preset area threshold in the current captured image are the image macroblocks in which the number of pixels occupied by the object exceeds the number of pixels corresponding to the preset area threshold. Image macroblocks with the number of pixels;

双三次插值设备,与所述即时处理设备连接,用于接收所述即时处理图像,并对所述即时处理图像执行基于4X4像素邻域的双三次插值处理,以获得并输出相应的插值处理图像;A bicubic interpolation device, connected to the real-time processing device, is used for receiving the real-time processing image, and performing bicubic interpolation processing based on a 4×4 pixel neighborhood on the real-time processing image, so as to obtain and output the corresponding interpolation processing image ;

高通滤波锐化设备,与所述双三次插值设备连接,用于对所述插值处理图像执行高通滤波锐化处理,以获得相应的滤波锐化图像;a high-pass filter sharpening device, connected to the bicubic interpolation device, for performing high-pass filter sharpening processing on the interpolated image to obtain a corresponding filtered and sharpened image;

信号解析设备,与所述高通滤波锐化设备连接,用于基于基准雨滴几何形状对接收到的滤波锐化图像执行雨滴对象的检测,在检测到的雨滴对象的数量超过预设数量阈值时,发出第一触发指令,在检测到的雨滴对象的数量未超过预设数量阈值时,发出第二触发指令;The signal parsing device is connected to the high-pass filtering and sharpening device, and is used for performing raindrop object detection on the received filtered and sharpened image based on the reference raindrop geometric shape, and when the number of detected raindrop objects exceeds a preset number threshold, Issue a first trigger instruction, and issue a second trigger instruction when the number of detected raindrop objects does not exceed the preset number threshold;

其中,所述抽水泵用于在雨量记录仪完成一次记录后抽干雨量筒内的雨水,所述直流电机与所述筒顶封闭件连接;Wherein, the pumping pump is used to drain the rainwater in the rain gauge cylinder after the rain recorder completes one recording, and the DC motor is connected to the cylinder top closure;

其中,所述直流电机在接收到第一触发指令时,驱动所述筒顶封闭件离开所述雨量筒的顶部以开启雨量记录仪的雨量记录。Wherein, when the DC motor receives the first trigger instruction, it drives the cylinder top closure to leave the top of the rain gauge cylinder to enable the rain recorder of the rain recorder.

接着,继续对本发明的基于电子信号的状态切换装置的具体结构进行进一步的说明。Next, the specific structure of the electronic signal-based state switching device of the present invention will be further described.

所述基于电子信号的状态切换装置中:In the electronic signal-based state switching device:

所述直流电机在接收到第二触发指令时,驱动所述筒顶封闭件封闭所述雨量筒的顶部以结束雨量记录仪的雨量记录。When receiving the second trigger command, the DC motor drives the cylinder-top closure to close the top of the rain gauge to end the rain recording by the rain recorder.

所述基于电子信号的状态切换装置中:In the electronic signal-based state switching device:

所述预设长度为20厘米至40厘米,所述筒顶封闭件的形状与所述雨量筒的顶部开口形状匹配。The preset length is 20 cm to 40 cm, and the shape of the top closure is matched with the shape of the top opening of the rain gauge.

所述基于电子信号的状态切换装置中还可以包括:The electronic signal-based state switching device may also include:

MMC存储卡,分别与所述比例提取设备和所述非线性插值设备连接,用于存储所述预设比例阈值;The MMC memory card is connected to the scale extraction device and the nonlinear interpolation device respectively, and is used for storing the preset scale threshold;

色阶调整设备,分别与所述信号解析设备和所述非线性插值设备连接,用于接收所述非线性插值图像,对所述非线性插值图像执行色阶调整处理,以获得相应的即时调整图像,并将所述即时调整图像替换所述滤波锐化图像发送给所述信号解析设备;A gradation adjustment device, connected to the signal analysis device and the nonlinear interpolation device, respectively, for receiving the nonlinear interpolation image, and performing gradation adjustment processing on the nonlinear interpolation image to obtain corresponding instant adjustment image, and replace the filtered and sharpened image with the real-time adjustment image and send it to the signal analysis device;

其中,所述比例提取设备包括图像接收组件、对比度运算组件、比例获取组件和比例输出组件;Wherein, the scale extraction device includes an image receiving component, a contrast calculation component, a scale acquisition component and a scale output component;

其中,在所述比例提取设备中,所述对比度运算组件与所述图像接收组件连接,用于获取所述小波滤波图像的对比度以作为第一对比度,还用于获得所述多元回归插值图像的对比度以作为第二对比度;Wherein, in the ratio extraction device, the contrast computing component is connected to the image receiving component, and is used to obtain the contrast of the wavelet filtered image as the first contrast, and is also used to obtain the multivariate regression interpolation image. Contrast as the second contrast;

其中,在所述比例提取设备中,所述图像接收组件用于接收所述小波滤波图像和所述多元回归插值图像。Wherein, in the ratio extraction device, the image receiving component is configured to receive the wavelet filtered image and the multiple regression interpolation image.

同时,为了克服上述不足,本发明还搭建了一种基于电子信号的状态切换方法,所述方法包括使用如上述的基于电子信号的状态切换装置以在定制的图像处理的基础上,基于现场雨滴的检测数量确定是否有必要启动雨量记录。At the same time, in order to overcome the above shortcomings, the present invention also builds a state switching method based on electronic signals, the method includes using the electronic signal-based state switching device as described above, on the basis of customized image processing, based on field raindrops The number of detections to determine whether it is necessary to initiate rain logging.

另外,小波(Wavelet)这一术语,顾名思义,“小波”就是小的波形。所谓“小”是指他具有衰减性;而称之为“波”则是指它的波动性,其振幅正负相间的震荡形式。与Fourier变换相比,小波变换是时间(空间)频率的局部化分析,他通过伸缩平移运算对信号(函数)逐步进行多尺度细化,最终达到高频处时间细分,低频处频率细分,能自动适应时频信号分析的要求,从而可聚焦到信号的任意细节,解决了Fourier变换的困难问题,成为继Fourier变换以来在科学方法上的重大突破。有人把小波变换称为“数学显微镜”。In addition, the term wavelet (Wavelet), as the name suggests, "wavelet" is a small waveform. The so-called "small" means that it has attenuation; and the "wave" refers to its volatility, and its amplitude is positive and negative. Compared with the Fourier transform, the wavelet transform is a localized analysis of the time (space) frequency. It gradually refines the signal (function) at multiple scales through scaling and translation operations, and finally achieves time subdivision at high frequencies and frequency subdivision at low frequencies. It can automatically adapt to the requirements of time-frequency signal analysis, so that it can focus on any details of the signal, solve the difficult problem of Fourier transform, and become a major breakthrough in scientific methods since Fourier transform. Some people call wavelet transform "mathematical microscope".

小波分析的应用是与小波分析的理论研究紧密地结合在一起地。他已经在科技信息产业领域取得了令人瞩目的成就。电子信息技术是六大高新技术中重要的一个领域,他的重要方面是图像和信号处理。现今,信号处理已经成为当代科学技术工作的重要部分,信号处理的目的就是:准确的分析、诊断、编码压缩和量化、快速传递或存储、精确地重构(或恢复)。从数学地角度来看,信号与图像处理可以统一看作是信号处理(图像可以看作是二维信号),在小波分析地许多分析的许多应用中,都可以归结为信号处理问题。对于其性质随时间是稳定不变的信号,处理的理想工具仍然是傅立叶分析。但是在实际应用中的绝大多数信号是非稳定的,而特别适用于非稳定信号的工具就是小波分析。The application of wavelet analysis is closely combined with the theoretical research of wavelet analysis. He has made remarkable achievements in the field of science and technology information industry. Electronic information technology is an important field in the six high-tech, and its important aspects are image and signal processing. Today, signal processing has become an important part of contemporary scientific and technological work. The purpose of signal processing is: accurate analysis, diagnosis, coding compression and quantization, fast transmission or storage, and accurate reconstruction (or recovery). From a mathematical point of view, signal and image processing can be unified as signal processing (images can be regarded as two-dimensional signals), and many applications of wavelet analysis can be attributed to signal processing problems. For signals whose properties are stable over time, the ideal tool for processing remains Fourier analysis. However, most of the signals in practical applications are unstable, and a tool that is particularly suitable for unstable signals is wavelet analysis.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:只读内存(英文:Read-Only Memory,简称:ROM)、随机存取存储器(英文:Random Access Memory,简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by program instructions related to hardware, the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, execute It includes the steps of the above method embodiments; and the aforementioned storage medium includes: read-only memory (English: Read-Only Memory, referred to as: ROM), random access memory (English: Random Access Memory, referred to as: RAM), magnetic disk or Various media that can store program codes, such as optical discs.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. scope.

Claims (3)

1.一种基于电子信号的状态切换装置,其特征在于,所述装置包括:1. A state switching device based on an electronic signal, wherein the device comprises: 雨量记录仪,包括雨量筒、抽水泵、筒顶封闭件和直流电机,雨量筒的直径为预设长度,所述筒顶封闭件位于所述雨量筒的顶部;The rain gauge includes a rain gauge, a water pump, a top closure and a DC motor, the diameter of the rain gauge is a preset length, and the top seal is located on the top of the rain gauge; 纽扣摄像设备,设置在雨量记录仪的附近,用于对雨量记录仪所在环境执行摄像动作,以获得并输出相应的当前捕获图像;A button camera device, set near the rain recorder, is used to perform a camera action on the environment where the rain recorder is located, so as to obtain and output the corresponding current captured image; FPM DRAM存储设备,用于预先存储分块尺寸表,所述分块尺寸表以不同图像分辨率为索引保存了每一种图像分辨率对应的宏块尺寸;an FPM DRAM storage device for pre-storing a block size table, where the block size table stores macroblock sizes corresponding to each image resolution with different image resolutions as indexes; 查表分块设备,分别与所述纽扣摄像设备和所述FPM DRAM存储设备连接,用于基于接收到的当前捕获图像的分辨率从所述分块尺寸表中搜索出对应的宏块尺寸,并基于所述宏块尺寸对所述当前捕获图像进行分块以获得各个图像宏块;a table look-up block device, respectively connected to the button camera device and the FPM DRAM storage device, for searching out the corresponding macroblock size from the block size table based on the received resolution of the current captured image, and segmenting the current captured image based on the macroblock size to obtain each image macroblock; 数据调节设备,与所述查表分块设备连接,用于接收所述当前捕获图像的各个图像宏块,获取各个图像宏块的各个白平衡值,对所述各个白平衡值进行均值计算以输出相应的参考性白平衡值,对所述当前捕获图像中前景面积超过预设面积阈值的每一个图像宏块执行以下动作:基于所述参考性白平衡值对所述图像宏块执行白平衡补偿处理以获得处理后图像宏块;A data adjustment device, connected to the table look-up and block device, is used to receive each image macroblock of the currently captured image, obtain each white balance value of each image macroblock, and perform mean calculation on each white balance value to obtain outputting a corresponding reference white balance value, and performing the following actions on each image macroblock whose foreground area in the currently captured image exceeds a preset area threshold: performing white balance on the image macroblock based on the reference white balance value Compensation processing to obtain processed image macroblocks; 即时处理设备,与所述数据调节设备连接,用于将所述当前捕获图像中各个处理后图像宏块以及所述当前捕获图像中前景面积未超过预设面积阈值的各个图像宏块进行图像整合以获得所述当前捕获图像对应的即时处理图像,所述当前捕获图像中前景面积超过预设面积阈值的图像宏块为其中前景所占据的像素点的数量超过与所述预设面积阈值对应的像素点数量的图像宏块;An instant processing device, connected to the data adjustment device, for performing image integration on each processed image macroblock in the currently captured image and each image macroblock whose foreground area does not exceed a preset area threshold in the currently captured image To obtain a real-time processed image corresponding to the currently captured image, the image macroblocks whose foreground area exceeds a preset area threshold in the currently captured image are image macroblocks in which the number of pixels occupied by the foreground exceeds the number of pixels corresponding to the preset area threshold. Image macroblocks with the number of pixels; 双三次插值设备,与所述即时处理设备连接,用于接收所述即时处理图像,并对所述即时处理图像执行基于4X4像素邻域的双三次插值处理,以获得并输出相应的插值处理图像;A bicubic interpolation device, connected to the real-time processing device, is used for receiving the real-time processing image, and performing bicubic interpolation processing based on a 4×4 pixel neighborhood on the real-time processing image, so as to obtain and output the corresponding interpolation processing image ; 高通滤波锐化设备,与所述双三次插值设备连接,用于对所述插值处理图像执行高通滤波锐化处理,以获得相应的滤波锐化图像;a high-pass filter sharpening device, connected to the bicubic interpolation device, for performing high-pass filter sharpening processing on the interpolated image to obtain a corresponding filtered and sharpened image; 信号解析设备,与所述高通滤波锐化设备连接,用于基于基准雨滴几何形状对接收到的滤波锐化图像执行雨滴对象的检测,在检测到的雨滴对象的数量超过预设数量阈值时,发出第一触发指令,在检测到的雨滴对象的数量未超过预设数量阈值时,发出第二触发指令;The signal parsing device is connected to the high-pass filtering and sharpening device, and is used for performing raindrop object detection on the received filtered and sharpened image based on the reference raindrop geometric shape, and when the number of detected raindrop objects exceeds a preset number threshold, Issue a first trigger instruction, and issue a second trigger instruction when the number of detected raindrop objects does not exceed the preset number threshold; 其中,所述抽水泵用于在雨量记录仪完成一次记录后抽干雨量筒内的雨水,所述直流电机与所述筒顶封闭件连接;Wherein, the pumping pump is used to drain the rainwater in the rain gauge cylinder after the rain recorder completes one recording, and the DC motor is connected to the cylinder top closure; 其中,所述直流电机在接收到第一触发指令时,驱动所述筒顶封闭件离开所述雨量筒的顶部以开启雨量记录仪的雨量记录;Wherein, when the DC motor receives the first trigger instruction, it drives the cylinder top closure to leave the top of the rain gauge to enable the rain recorder of the rain recorder; 所述直流电机在接收到第二触发指令时,驱动所述筒顶封闭件封闭所述雨量筒的顶部以结束雨量记录仪的雨量记录。When receiving the second trigger command, the DC motor drives the cylinder-top closure to close the top of the rain gauge to end the rain recording by the rain recorder. 2.如权利要求1所述的基于电子信号的状态切换装置,其特征在于:2. The state switching device based on electronic signal as claimed in claim 1, is characterized in that: 所述预设长度为20厘米至40厘米,所述筒顶封闭件的形状与所述雨量筒的顶部开口形状匹配。The preset length is 20 cm to 40 cm, and the shape of the top closure is matched with the shape of the top opening of the rain gauge. 3.一种基于电子信号的状态切换方法,所述方法应用于如权利要求1-2任一所述的基于电子信号的状态切换装置上,从而基于现场雨滴的检测数量确定是否有必要启动雨量记录。3. a state switching method based on an electronic signal, the method is applied on the state switching device based on an electronic signal as described in any one of claims 1-2, thereby determining whether it is necessary to start the rainfall based on the detection quantity of the on-site raindrops Record.
CN201910929328.4A 2019-09-29 2019-09-29 State switching device and method based on electronic signal Active CN110662011B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910929328.4A CN110662011B (en) 2019-09-29 2019-09-29 State switching device and method based on electronic signal
GBGB2012929.2A GB202012929D0 (en) 2019-09-29 2020-08-19 State switching device and method based on electronic signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910929328.4A CN110662011B (en) 2019-09-29 2019-09-29 State switching device and method based on electronic signal

Publications (2)

Publication Number Publication Date
CN110662011A CN110662011A (en) 2020-01-07
CN110662011B true CN110662011B (en) 2020-12-01

Family

ID=69039829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910929328.4A Active CN110662011B (en) 2019-09-29 2019-09-29 State switching device and method based on electronic signal

Country Status (2)

Country Link
CN (1) CN110662011B (en)
GB (1) GB202012929D0 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111841023B (en) * 2020-07-21 2022-02-22 武汉楚智达自动化科技有限公司 Self-adaptive protection mechanism selection platform

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707340B (en) * 2012-06-06 2014-11-26 南京大学 Rainfall measurement method based on video images
US9582730B2 (en) * 2014-11-24 2017-02-28 International Business Machines Corporation Estimating rainfall precipitation amounts by applying computer vision in cameras
CN105510997B (en) * 2015-12-31 2018-11-30 武汉美华禹水环境有限公司 A kind of rain meter
CN106443835A (en) * 2016-09-30 2017-02-22 防城港市水利工程技术管理站 Rainfall detection device
CN107767626A (en) * 2017-11-30 2018-03-06 中国地质调查局水文地质环境地质调查中心 A kind of rainfall trigger-type debris flow monitoring pre-warning system and method

Also Published As

Publication number Publication date
GB202012929D0 (en) 2020-09-30
CN110662011A (en) 2020-01-07

Similar Documents

Publication Publication Date Title
JP4219552B2 (en) Apparatus and method for image and signal processing
CN107831409B (en) A method for extracting characteristic parameters of UHF partial discharge detection spectrum and anomaly detection method
US20160086316A1 (en) Real time skin smoothing image enhancement filter
CN105976383A (en) Power transmission equipment fault diagnosis method based on limit learning machine image recognition
CN107463931A (en) A kind of real-time pointer instrument reading method and device based on ARM platforms
WO2021128498A1 (en) Image adaptive noise reduction method and apparatus
CN109255752A (en) Image adaptive compression method, device, terminal and storage medium
CN115683431A (en) Method, device and equipment for determining cable force of inhaul cable based on linear tracking algorithm
CN118301353B (en) A video coding fusion method of infrared and microwave information based on wavelet transform
CN115471435A (en) Image fusion method and device, computer readable medium and electronic equipment
CN117541582B (en) IGBT insulation quality detection method for high-frequency converter
CN106658004A (en) Compression method and device based on characteristics of flat region of image
CN112734786A (en) Self-adaptive grape leaf image segmentation method based on HSV color space
CN110662011A (en) State switching device and method based on electronic signals
CN110414308A (en) A Target Recognition Method for Dynamic Foreign Objects on Transmission Lines
CN106407994A (en) Wire icing thickness image recognition method based on Hough transform and function fitting
CN118710895A (en) Ice ridge extraction method, device, equipment, medium and product
CN111767777B (en) Transformer substation disconnecting switch state analysis method based on image processing algorithm
CN104125474A (en) Self-adaptive night viewing video denoising method
CN113792616A (en) A remote meter reading system based on edge computing and its working method
CN116343051A (en) A geological environment monitoring method and system based on remote sensing images
CN110763388A (en) An online monitoring device and method for steel cable tension based on video recognition
CN114501021A (en) Image compression transmission method and device for power system
CN103747208A (en) Video identification device based on large-capacity storage and remote shooting equipment
CN209897174U (en) Video image processing device based on FPGA

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information
CB02 Change of applicant information

Address after: No.83, South University Road, Yangzhou Development Zone, Jiangsu Province

Applicant after: Zhao Guoliang

Address before: 266555 No.99 Xiangjiang Road, Qingdao Economic and Technological Development Zone, Shandong Province

Applicant before: Zhao Guoliang

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201112

Address after: Room 105, No. 12 Building, Yuyuan, Singapore, Luan Economic and Technological Development Zone, Luan City, Anhui Province

Applicant after: LU'AN TONGHUI INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: No.83, South University Road, Yangzhou Development Zone, Jiangsu Province

Applicant before: Zhao Guoliang

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250516

Address after: 100000 No. 105, Xiangshan South Road, Shijingshan District, Beijing

Patentee after: Beijing Ningye Kechuang Intelligent Technology Co.,Ltd.

Country or region after: China

Address before: Room 105, No. 12 Building, Yuyuan, Singapore, Luan Economic and Technological Development Zone, Luan City, Anhui Province

Patentee before: LU'AN TONGHUI INTELLIGENT TECHNOLOGY Co.,Ltd.

Country or region before: China