虫害检查提示方法和装置Pest inspection prompt method and device
本申请要求2016年10月31日在中国国家知识产权局提交的申请号为201610934285.5、发明名称为“虫害检查提示方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610934285.5, filed on Jan. 31,,,,,,,,,,,,,,,,,,,,,,,, in.
技术领域Technical field
本发明涉及农业种植技术领域,具体而言,涉及一种虫害检查提示方法和一种虫害检查提示装置。The invention relates to the technical field of agricultural planting, in particular to a pest inspection prompting method and a pest inspection prompting device.
背景技术Background technique
为了使农作物或各种植物获得更好的生长环境,病虫害防治是种植过程中必不可少的环节,目前,发现植物病虫基本依靠人工查看,不但浪费人力,还存在如下问题:部分病虫与蔬菜颜色一致,很难区分;病虫面积小时,很容易疏忽未检查出;在种植面积比较大的情况下,人力查虫基本不可能面面俱到,一旦不能及时发现虫害,可能会导致虫害大面积泛滥,造成经济损失。因此,如何快速地进行种植区的病虫害自动检查成为亟待解决的技术问题。In order to obtain a better growing environment for crops or various plants, pest control is an indispensable part of the planting process. At present, it is found that plant pests and diseases are basically viewed by humans, which not only wastes manpower, but also has the following problems: some pests and diseases The color of vegetables is the same, it is difficult to distinguish; when the area of pests and diseases is small, it is easy to neglect and unchecked; in the case of large planting area, it is basically impossible for humans to check the insects. Once the insects are not found in time, it may lead to a large area of insects. , causing economic losses. Therefore, how to quickly carry out automatic inspection of pests and diseases in the planting area has become a technical problem to be solved urgently.
发明内容Summary of the invention
本发明旨在至少解决现有技术或相关技术中存在的技术问题之一。The present invention aims to solve at least one of the technical problems existing in the prior art or related art.
为此,本发明的一个目的在于提出一种虫害检查提示方法。To this end, it is an object of the present invention to provide a method for prompting pest detection.
本发明的另一个目的在于提供了一种虫害检查提示装置。Another object of the present invention is to provide a pest inspection prompting device.
为实现上述目的,根据本发明的第一方面的实施例,提供了一种虫害检查提示方法,包括:扫描植物的种植区,获取种植区的热成像图像;计算热成像图像的平均亮度;将热成像图像分成多个区域;将每个区域的亮度与平均亮度进行比较;当热成像图像上的任一区域的亮度比平均亮度高
时,说明任一区域的亮度异常,则提示任一区域为疑似虫害区。In order to achieve the above object, according to an embodiment of the first aspect of the present invention, a pest inspection prompting method is provided, comprising: scanning a planting area of a plant, acquiring a thermographic image of the planting area; and calculating an average brightness of the thermographic image; The thermographic image is divided into regions; the brightness of each region is compared to the average brightness; when the brightness of any region on the thermographic image is higher than the average brightness
When the brightness of any area is abnormal, it indicates that any area is a suspected pest area.
根据本发明第一方面实施例的虫害检查提示方法,能够利用热成像技术对种植区进行扫描,通过分析热成像图像来判断是否存在害虫或者田鼠野生动物之类的影响植物生长的生物因素。实现原理是,利用植物温度与动物温度之间存在的温度差,反映在热成像图像上就是扫描出的热成像图像各个部分会具有不同的颜色和不同的亮度,如果热成像图像上颜色一致,亮度也无明显变化就说明此区域只有植物而没有害虫,反之则提示工作人员进行实地作业。热成像图像是通过采集红外辐射而得到的,辐射强度较高的地方比辐射强度低的地方更亮,更亮的地方就可能有害虫或者是动物存在,所以在分析图像时,将整个图像分区,每个区域都与平均亮度进行对比,亮度较高的地区出现虫害的可能性就比较大,借由此方法找出疑似存在害虫的区域,并向种植人员发出提示。免去了人工查找虫害区的巡视步骤,方便种植人员有的放矢,提高工作效率和查虫精确度,还能够缩短查找虫害所需要的时间。According to the pest inspection suggesting method of the first aspect of the present invention, the planting area can be scanned by the thermal imaging technique, and the thermal imaging image can be analyzed to determine whether there are biological factors such as pests or voles wild animals that affect plant growth. The realization principle is that the temperature difference between the plant temperature and the animal temperature is reflected on the thermal imaging image, that is, each part of the scanned thermal imaging image has different colors and different brightnesses, if the color on the thermographic image is consistent, There is no significant change in brightness, indicating that there are only plants and no pests in this area. Otherwise, the staff is prompted to perform field work. Thermal imaging images are obtained by collecting infrared radiation. Where the radiation intensity is higher, it is brighter than where the radiation intensity is low. In brighter places, pests or animals may exist, so when analyzing images, the entire image is partitioned. Each area is compared with the average brightness, and the possibility of pests is higher in areas with higher brightness. By this method, the area where the suspected pests exist is found, and the planter is prompted. It eliminates the need to manually find the inspection steps of the pest area, which is convenient for the growers to improve their work efficiency and accuracy, and also shortens the time required to find the pests.
根据本发明第一方面实施例的虫害检查提示方法,优选地,在扫描种植区之前,还包括:接收预设的扫描时间段,在预设扫描时间段内,进行扫描。According to the pest inspection prompting method of the first aspect of the present invention, preferably, before scanning the planting area, the method further comprises: receiving a preset scanning time period, and performing scanning in the preset scanning time period.
在该实施例中,通过自动化扫描查虫方案摆脱了对人工巡视的依赖后,可进一步地利用自动查虫的便捷性,进行定时检查和分时段检查。也能够根据种植区具体环境设定扫描时间段,例如,深夜的种植区无人员工作,无大型动物路过,无蜜蜂飞鸟之类的生物因素干扰。In this embodiment, after the automatic scanning and pest checking scheme is rid of the dependence on the manual inspection, the convenience of automatic pest inspection can be further utilized, and the timing inspection and the time division inspection can be performed. It is also possible to set the scanning time period according to the specific environment of the planting area. For example, the planting area in the middle of the night has no personnel to work, no large animals pass by, and no biological factors such as bee birds interfere.
根据本发明第一方面实施例的虫害检查提示方法,优选地,热成像图像上的温度分布由不同颜色表示,随着温度的增加,颜色加深。According to the pest inspection prompting method of the first aspect of the invention, preferably, the temperature distribution on the thermographic image is represented by a different color, and the color is deepened as the temperature is increased.
在该实施例中,为方便种植人员进行虫害判断,将热成像图像处理后把热成像图像上不同温度的区域用不同的颜色表示出来。In this embodiment, in order to facilitate the planter to perform pest determination, the thermographic image is processed and the regions of different temperatures on the thermographic image are represented by different colors.
根据本发明第一方面实施例的虫害检查提示方法,优选地,还包括:提高扫描分辨率,对疑似虫害区再次扫描,获取疑似虫害区的高分辨率热成像图像;对高分辨率热成像图像进行图像处理,计算亮度异常区块的个数;若亮度异常区块数量超过预定数量,则提示发现虫害。
The pest inspection prompting method according to the first aspect of the present invention preferably further comprises: increasing scanning resolution, rescanning the suspected pest area, acquiring a high resolution thermal imaging image of the suspected pest area; and performing high resolution thermal imaging The image is image processed to calculate the number of abnormal blocks of brightness; if the number of abnormal blocks of brightness exceeds a predetermined number, the insect is found to be found.
在该实施例中,缩小了查找区域并提高扫描分辨率,能够进一步分析较小区域内的害虫情况,通过预设数量阈值的方法,还能够避免在害虫较少的情况下多次发出提示信息(由于是定时查虫,所以可以忽略零星分布的少数害虫,待害虫的数量超过设定阈值后,还是会被此虫害检查提示方法发现并提示种植人员),避免了多次发出提示加重种植人员的劳动负担的情况发生。In this embodiment, the search area is narrowed and the scanning resolution is increased, and the pest situation in the smaller area can be further analyzed. By the preset number threshold method, it is also possible to prevent the prompt information from being issued multiple times in the case of less pests. (Because it is timed to check the insects, it is possible to ignore a small number of sporadic pests. After the number of pests exceeds the set threshold, it will be found by the pest detection method and prompt the planter), avoiding multiple prompts to increase the planters. The situation of the labor burden occurs.
根据本发明第一方面实施例的虫害检查提示方法,优选地,所述热成像图像的亮度分布均匀或者颜色没有出现明显不一致的情况,说明种植区温度分布均匀,提示未发现虫害According to the pest inspection prompting method of the first aspect of the present invention, preferably, the brightness distribution of the thermographic image is uniform or the color does not appear to be inconsistent, indicating that the temperature distribution in the planting area is uniform, indicating that no pest is found.
在该实施例中,根据对热成像图像的分析,如果图像颜色一致或者亮度分布均匀,即表明种植区无生物入侵,则提示此区域无虫害,减少了人力巡视查看任务带来的工作负担。In this embodiment, according to the analysis of the thermographic image, if the image color is uniform or the brightness distribution is uniform, that is, the planting area has no biological invasion, it indicates that the area is free of pests, and the work burden caused by the human patrol viewing task is reduced.
根据本发明第一方面实施例的虫害检查提示方法,优选地,通过具有热传感器的摄像装置进行扫描。According to the pest check prompting method of the first aspect of the present invention, it is preferable to perform scanning by an image pickup apparatus having a thermal sensor.
在该实施例中,使用带有热传感器功能的摄像装置进行扫描,捕捉害虫的热辐射,生成带有温度区分的图像,以便人工查看或者根据机器分析结果发出提示。In this embodiment, an imaging device with a thermal sensor function is used to scan, capture thermal radiation of pests, and generate images with temperature discrimination for manual viewing or to prompt based on machine analysis results.
根据本发明第二方面的实施例,还提供了一种虫害检查提示装置,包括:扫描模块,扫描植物的种植区,获取种植区的热成像图像;亮度模块,计算热成像图像的平均亮度;分区模块,将热成像图像分成多个区域;比较模块,将每个区域的亮度与平均亮度进行比较;提示模块,当热成像图像上的任一区域的亮度比平均亮度高时,说明任一区域的亮度异常,则提示任一区域为疑似虫害区。According to an embodiment of the second aspect of the present invention, there is also provided a pest inspection prompting apparatus, comprising: a scanning module, scanning a planting area of a plant, acquiring a thermographic image of the planting area; and a brightness module for calculating an average brightness of the thermographic image; The partitioning module divides the thermographic image into a plurality of regions; the comparing module compares the brightness of each region with the average brightness; and the prompting module indicates that when the brightness of any region on the thermographic image is higher than the average brightness, If the brightness of the area is abnormal, it indicates that any area is a suspected pest area.
根据本发明第二方面实施例的虫害检查提示装置,能够利用热成像技术对种植区进行扫描,通过分析热成像图像来判断是否存在害虫或者田鼠野生动物之类的影响植物生长的生物因素。实现原理是,利用植物温度与动物温度之间存在的温度差,反映在热成像图像上就是扫描出的热成像图像各个部分会具有不同的颜色和不同的亮度,如果热成像图像上颜色一致,亮度也无明显变化就说明此区域只有植物而没有害虫,反之则提示工作人员进行实地作业。热成像图像是通过采集红外辐射而得到的,辐射强
度较高的地方比辐射强度低的地方更亮,更亮的地方就可能有害虫或者是动物存在,所以在分析图像时,将整个图像分区,每个区域都与平均亮度进行对比,亮度较高的地区出现虫害的可能性就比较大,借由此方法找出疑似存在害虫的区域,并向种植人员发出提示。免去了人工查找虫害区的巡视步骤,方便种植人员有的放矢,提高工作效率和查虫精确度,还能够缩短查找虫害所需要的时间。According to the pest inspection suggesting apparatus of the second aspect of the present invention, the planting area can be scanned by the thermal imaging technique, and the thermal imaging image can be analyzed to determine whether there is a biological factor affecting plant growth such as pests or voles. The realization principle is that the temperature difference between the plant temperature and the animal temperature is reflected on the thermal imaging image, that is, each part of the scanned thermal imaging image has different colors and different brightnesses, if the color on the thermographic image is consistent, There is no significant change in brightness, indicating that there are only plants and no pests in this area. Otherwise, the staff is prompted to perform field work. Thermal imaging images are obtained by collecting infrared radiation, which is strong
Higher places are brighter than places with low radiation intensity. Brighter areas may cause pests or animals. Therefore, when analyzing images, the entire image is partitioned, and each area is compared with the average brightness. The possibility of pests in high areas is relatively high, by which methods can be used to identify areas where suspected pests are present and to alert planters. It eliminates the need to manually find the inspection steps of the pest area, which is convenient for the growers to improve their work efficiency and accuracy, and also shortens the time required to find the pests.
根据本发明第二方面实施例的虫害检查提示装置,优选地,还包括:定时模块,接收预设的扫描时间段,在预设扫描时间段内,进行扫描。According to the pest check prompting device of the second aspect of the present invention, preferably, the method further includes: a timing module that receives the preset scan time period and performs scanning within the preset scan time period.
在该实施例中,通过自动化扫描查虫方案摆脱了对人工巡视的依赖后,可进一步地利用自动查虫的便捷性,进行定时检查和分时段检查。也能够根据种植区具体环境设定扫描时间段,例如,深夜的种植区无人员工作,无大型动物路过,无蜜蜂飞鸟之类的生物因素干扰。In this embodiment, after the automatic scanning and pest checking scheme is rid of the dependence on the manual inspection, the convenience of automatic pest inspection can be further utilized, and the timing inspection and the time division inspection can be performed. It is also possible to set the scanning time period according to the specific environment of the planting area. For example, the planting area in the middle of the night has no personnel to work, no large animals pass by, and no biological factors such as bee birds interfere.
根据本发明第二方面实施例的虫害检查提示装置,优选地,热成像图像上的温度分布由不同颜色表示,随着温度的增加,颜色加深。According to the pest inspection cueing device of the second aspect of the present invention, preferably, the temperature distribution on the thermographic image is represented by a different color, and the color is deepened as the temperature is increased.
在该实施例中,为方便种植人员进行虫害判断,将热成像图像处理后把热成像图像上不同温度的区域用不同的颜色表示出来。In this embodiment, in order to facilitate the planter to perform pest determination, the thermographic image is processed and the regions of different temperatures on the thermographic image are represented by different colors.
根据本发明第二方面实施例的虫害检查提示装置,优选地,还包括:扫描子模块,提高扫描分辨率,对疑似虫害区再次扫描,获取疑似虫害区的高分辨率热成像图像;统计模块,对高分辨率热成像图像进行图像处理,计算亮度异常区块的个数,若亮度异常区块数量超过预定数量,则提示发现虫害。A pest inspection prompting apparatus according to an embodiment of the second aspect of the present invention preferably further comprises: a scanning sub-module, which improves scanning resolution, scans the suspected pest area again, and acquires a high-resolution thermal imaging image of the suspected pest area; the statistical module The image processing is performed on the high-resolution thermal imaging image, and the number of abnormal brightness blocks is calculated. If the number of abnormal brightness blocks exceeds a predetermined number, the insect pest is found.
在该实施例中,缩小了查找区域并提高扫描分辨率,能够进一步分析较小区域内的害虫情况,通过预设数量阈值的方法,还能够避免在害虫较少的情况下多次发出提示信息(由于是定时查虫,所以可以忽略零星分布的少数害虫,待害虫的数量超过设定阈值后,还是会被此虫害检查提示装置发现并提示种植人员),避免了多次发出提示加重种植人员的劳动负担的情况发生。In this embodiment, the search area is narrowed and the scanning resolution is increased, and the pest situation in the smaller area can be further analyzed. By the preset number threshold method, it is also possible to prevent the prompt information from being issued multiple times in the case of less pests. (Because it is timed to check the insects, it is possible to ignore a small number of sporadic pests. After the number of pests exceeds the set threshold, they will still be discovered by the pest inspection and prompting device and prompt the planters), avoiding multiple prompts to increase the planters. The situation of the labor burden occurs.
根据本发明第二方面实施例的虫害检查提示装置,优选地,热成像图像的亮度分布均匀或者颜色没有出现明显不一致的情况,说明种植区温度分布均匀,提示未发现虫害。
According to the pest inspection prompting device of the embodiment of the second aspect of the present invention, preferably, the brightness distribution of the thermographic image is uniform or the color does not appear to be significantly inconsistent, indicating that the temperature distribution of the planting area is uniform, indicating that no pest is found.
在该实施例中,根据对热成像图像的分析,如果图像颜色一致或者亮度分布均匀,即表明种植区无生物入侵,则提示此区域无虫害,减少了人力巡视查看任务带来的工作负担。In this embodiment, according to the analysis of the thermographic image, if the image color is uniform or the brightness distribution is uniform, that is, the planting area has no biological invasion, it indicates that the area is free of pests, and the work burden caused by the human patrol viewing task is reduced.
根据本发明第二方面实施例的虫害检查提示装置,优选地,通过具有热传感器的摄像装置进行扫描。According to the pest inspection presenting apparatus of the second aspect of the present invention, it is preferable to perform scanning by an image pickup apparatus having a thermal sensor.
在该实施例中,使用带有热传感器功能的摄像装置进行扫描,捕捉害虫的热辐射,生成带有温度区分的图像,以便人工查看或者根据机器分析结果发出提示。In this embodiment, an imaging device with a thermal sensor function is used to scan, capture thermal radiation of pests, and generate images with temperature discrimination for manual viewing or to prompt based on machine analysis results.
本发明还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现上述任一虫害检查提示方法。The present invention also provides a computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing any of the above-described pest check prompting methods when executing the computer program.
本发明提供的计算机设备,处理器通过运行存储在存储器上的计算机程序,可替代人工巡视进行虫害检查,减少人力资源浪费,同时也提高了检查精度,避免人工作业中会出现的疏漏,还能够提高查虫速度,提高工作效率。The computer device provided by the invention can perform the pest inspection instead of the manual inspection by running the computer program stored in the memory, thereby reducing the waste of human resources, and also improving the inspection precision and avoiding omissions in the manual operation. It can improve the speed of checking insects and improve work efficiency.
本发明还提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述任一虫害检查提示方法。The present invention also provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements any of the above described pest check prompting methods.
本发明提供的计算机可读存储介质上存储有计算机程序,通过运行该计算机程序,可替代人工巡视进行虫害检查,减少人力资源浪费,同时也提高了检查精度,避免人工作业中会出现的疏漏,还能够提高查虫速度,提高工作效率。The computer readable storage medium provided by the invention stores a computer program, and by running the computer program, the pest inspection can be performed instead of the manual inspection, thereby reducing the waste of human resources, and also improving the inspection precision and avoiding omissions in manual operations. It can also improve the speed of checking insects and improve work efficiency.
本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。The additional aspects and advantages of the invention will be set forth in part in the description which follows.
附图说明DRAWINGS
本发明的上述和/或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from
图1示出了根据本发明第一方面实施例的虫害检查提示方法的流程图;1 is a flow chart showing a method of prompting a pest inspection according to an embodiment of the first aspect of the present invention;
图2示出了根据本发明的第二方面实施例的虫害检查提示装置的框
图;2 shows a frame of a pest inspection prompting device according to an embodiment of the second aspect of the present invention.
Figure
图3示出了根据本发明实施例的检查虫害示意图。Figure 3 shows a schematic diagram of inspection of pests in accordance with an embodiment of the present invention.
具体实施方式detailed description
为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。The present invention will be further described in detail below with reference to the drawings and specific embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。In the following description, numerous specific details are set forth in order to provide a full understanding of the invention, but the invention may be practiced otherwise than as described herein. Limitations of the embodiments.
图1示出了根据本发明的第一方面实施例的虫害检查提示方法的流程图。1 shows a flow chart of a pest check prompting method in accordance with an embodiment of the first aspect of the present invention.
如图1所示,根据本发明的第一方面的实施例,提供了一种虫害检查提示方法,包括:步骤102,扫描植物的种植区,获取种植区的热成像图像;步骤104,计算热成像图像的平均亮度;步骤106,将热成像图像分成多个区域;步骤108,将每个区域的亮度与平均亮度进行比较;步骤110,当热成像图像上的任一区域的亮度比平均亮度高时,说明任一区域的亮度异常,则提示任一区域为疑似虫害区。As shown in FIG. 1, according to an embodiment of the first aspect of the present invention, a pest inspection prompting method is provided, comprising: step 102, scanning a planting area of a plant, and obtaining a thermographic image of the planting area; and step 104, calculating heat An average brightness of the imaged image; step 106, dividing the thermographic image into a plurality of regions; step 108, comparing the brightness of each region with the average brightness; and step 110, comparing the brightness to the average brightness of any region on the thermographic image When high, indicating that the brightness of any area is abnormal, it indicates that any area is a suspected pest area.
根据本发明第一方面实施例的虫害检查提示方法,能够利用热成像技术对种植区进行扫描,分析热成像图像来判断是否存在害虫或者田鼠野生动物之类的影响植物生长的生物因素。实现原理是,利用植物温度与动物温度之间存在的温度差,反映在热成像图像上就是扫描出的热成像图像各个部分会具有不同的颜色和不同的亮度,如果热成像图像上颜色一致,亮度也无明显变化就说明此区域只有植物而没有害虫,反之则提示工作人员进行实地作业。热成像图像是通过采集红外辐射而得到的,辐射强度较高的地方比辐射强度低的地方更亮,更亮的地方就可能有害虫或者是动物存在,所以在分析图像时,将整个图像分区,每个区域都与平均亮度进行对比,亮度较高的地区出现虫害的可能性就比较大,借由此方法找出疑似存在害虫的区域,并向种植人员发出提示。免去了人工查找虫害区的巡视步
骤,方便种植人员有的放矢,提高工作效率和查虫精确度。利用热成像扫描种植区的过程替代了人工巡视的过程,不仅节省了大量人力,还大大提高了查虫速度。According to the pest inspection suggesting method of the first aspect of the present invention, the planting area can be scanned by thermal imaging technology, and the thermographic image can be analyzed to determine whether there are biological factors such as pests or voles wild animals that affect plant growth. The realization principle is that the temperature difference between the plant temperature and the animal temperature is reflected on the thermal imaging image, that is, each part of the scanned thermal imaging image has different colors and different brightnesses, if the color on the thermographic image is consistent, There is no significant change in brightness, indicating that there are only plants and no pests in this area. Otherwise, the staff is prompted to perform field work. Thermal imaging images are obtained by collecting infrared radiation. Where the radiation intensity is higher, it is brighter than where the radiation intensity is low. In brighter places, pests or animals may exist, so when analyzing images, the entire image is partitioned. Each area is compared with the average brightness, and the possibility of pests is higher in areas with higher brightness. By this method, the area where the suspected pests exist is found, and the planter is prompted. Eliminated the need to manually find the patrol step of the pest area
It is convenient for the planters to be targeted, improve work efficiency and check the accuracy of the insects. The process of scanning the planting area with thermal imaging replaces the process of manual inspection, which not only saves a lot of manpower, but also greatly improves the speed of inspection.
根据本发明第一方面实施例的虫害检查提示方法,优选地,在步骤102之前,还包括:接收预设的扫描时间段,在预设扫描时间段内,进行扫描。The method for prompting a pest inspection according to the first aspect of the present invention, preferably, before step 102, further comprising: receiving a preset scan time period, and performing scanning during the preset scan time period.
在该实施例中,通过自动化扫描查虫方案摆脱了对人工巡视的依赖后,可进一步地利用自动查虫的便捷性,进行定时检查和分时段检查。也能够根据种植区具体环境设定扫描时间段,例如,深夜的种植区无人员工作,无大型动物路过,无蜜蜂飞鸟之类的生物因素干扰。In this embodiment, after the automatic scanning and pest checking scheme is rid of the dependence on the manual inspection, the convenience of automatic pest inspection can be further utilized, and the timing inspection and the time division inspection can be performed. It is also possible to set the scanning time period according to the specific environment of the planting area. For example, the planting area in the middle of the night has no personnel to work, no large animals pass by, and no biological factors such as bee birds interfere.
根据本发明第一方面实施例的虫害检查提示方法,优选地,热成像图像上的温度分布由不同颜色表示,随着温度的增加,颜色加深。According to the pest inspection prompting method of the first aspect of the invention, preferably, the temperature distribution on the thermographic image is represented by a different color, and the color is deepened as the temperature is increased.
在该实施例中,为方便种植人员进行虫害判断,将热成像图像处理后把热成像图像上不同温度的区域用不同的颜色表示出来。In this embodiment, in order to facilitate the planter to perform pest determination, the thermographic image is processed and the regions of different temperatures on the thermographic image are represented by different colors.
根据本发明第一方面实施例的虫害检查提示方法,优选地,还包括:提高扫描分辨率,对疑似虫害区再次扫描,获取疑似虫害区的高分辨率热成像图像;对高分辨率热成像图像进行图像处理,计算亮度异常区块的个数;若亮度异常区块数量超过预定数量,则提示发现虫害。The pest inspection prompting method according to the first aspect of the present invention preferably further comprises: increasing scanning resolution, rescanning the suspected pest area, acquiring a high resolution thermal imaging image of the suspected pest area; and performing high resolution thermal imaging The image is image processed to calculate the number of abnormal blocks of brightness; if the number of abnormal blocks of brightness exceeds a predetermined number, the insect is found to be found.
在该实施例中,缩小了查找区域并提高扫描分辨率,能够进一步分析较小区域内的害虫情况,通过预设数量阈值的方法,还能够避免在害虫较少的情况下多次发出提示信息(由于是定时查虫,所以可以忽略零星分布的少数害虫,待害虫的数量超过设定阈值后,还是会被此虫害检查提示方法发现并提示种植人员),避免了多次发出提示加重种植人员的劳动负担的情况发生。In this embodiment, the search area is narrowed and the scanning resolution is increased, and the pest situation in the smaller area can be further analyzed. By the preset number threshold method, it is also possible to prevent the prompt information from being issued multiple times in the case of less pests. (Because it is timed to check the insects, it is possible to ignore a small number of sporadic pests. After the number of pests exceeds the set threshold, it will be found by the pest detection method and prompt the planter), avoiding multiple prompts to increase the planters. The situation of the labor burden occurs.
根据本发明第一方面实施例的虫害检查提示方法,优选地,所述热成像图像的亮度分布均匀或者颜色没有出现明显不一致的情况,说明种植区温度分布均匀,提示未发现虫害According to the pest inspection prompting method of the first aspect of the present invention, preferably, the brightness distribution of the thermographic image is uniform or the color does not appear to be inconsistent, indicating that the temperature distribution in the planting area is uniform, indicating that no pest is found.
在该实施例中,根据对热成像图像的分析,如果图像颜色一致或者亮度分布均匀,即表明种植区无生物入侵,则提示此区域无虫害,减少了人力巡视查看任务带来的工作负担。
In this embodiment, according to the analysis of the thermographic image, if the image color is uniform or the brightness distribution is uniform, that is, the planting area has no biological invasion, it indicates that the area is free of pests, and the work burden caused by the human patrol viewing task is reduced.
根据本发明第一方面实施例的虫害检查提示方法,优选地,通过具有热传感器的摄像装置进行扫描。According to the pest check prompting method of the first aspect of the present invention, it is preferable to perform scanning by an image pickup apparatus having a thermal sensor.
在该实施例中,使用带有热传感器功能的摄像装置进行扫描,捕捉害虫的热辐射,生成带有温度区分的图像,以便人工查看或者根据机器分析结果发出提示。In this embodiment, an imaging device with a thermal sensor function is used to scan, capture thermal radiation of pests, and generate images with temperature discrimination for manual viewing or to prompt based on machine analysis results.
图2示出了根据本发明的第一方面实施例的虫害检查提示装置的框图。Fig. 2 shows a block diagram of a pest check prompting device in accordance with an embodiment of the first aspect of the invention.
如图2所示,根据本发明第二方面的实施例,还提供了一种虫害检查提示装置200,包括:扫描模块202,扫描植物的种植区,获取种植区的热成像图像;亮度模块204,计算热成像图像的平均亮度;分区模块206,将热成像图像分成多个区域;比较模块208,将每个区域的亮度与平均亮度进行比较;提示模块210,当热成像图像上的任一区域的亮度比平均亮度高时,说明任一区域的亮度异常,则提示任一区域为疑似虫害区。As shown in FIG. 2, according to an embodiment of the second aspect of the present invention, there is also provided a pest inspection prompting apparatus 200, comprising: a scanning module 202, scanning a planting area of a plant, and acquiring a thermographic image of the planting area; and a brightness module 204 Calculating the average brightness of the thermographic image; partitioning module 206, dividing the thermographic image into a plurality of regions; comparing module 208, comparing the brightness of each region with the average brightness; prompting module 210, when any of the thermographic images If the brightness of the area is higher than the average brightness, it means that the brightness of any area is abnormal, and it indicates that any area is a suspected pest area.
根据本发明第二方面实施例的虫害检查提示装置200,能够通过扫描模块202利用热成像技术对种植区进行扫描,再通过亮度模块204、分区模块206和比较模块208分析热成像图像来判断是否存在害虫或者田鼠野生动物之类的影响植物生长的生物因素。实现原理是,利用植物温度与动物温度之间存在的温度差,反映在热成像图像上就是扫描出的热成像图像各个部分会具有不同的颜色和不同的亮度,如果热成像图像上颜色一致,亮度也无明显变化就说明此区域只有植物而没有害虫,反之则通过提示模块210提示工作人员进行实地作业。热成像图像是通过集红外辐射而得到的,辐射强度较高的地方比辐射强度低的地方更亮,更亮的地方就可能有害虫或者是动物存在,所以在分析图像时,分区模块206将整个图像分区,比较模块208将每个区域都与平均亮度进行对比,亮度较高的地区出现虫害的可能性就比较大,借由此方法找出疑似存在害虫的区域,并由提示模块210向种植人员发出提示。免去了人工查找虫害区的巡视步骤,方便种植人员有的放矢,提高工作效率和查虫精确度。利用热成像扫描种植区的过程替代了人工巡视的过程,不仅节省了人力,还大大提高了查虫速
度。According to the pest inspection and presentation apparatus 200 of the embodiment of the second aspect of the present invention, the planting area can be scanned by the scanning module 202 by using the thermal imaging technology, and then the thermal imaging image is analyzed by the brightness module 204, the partitioning module 206, and the comparison module 208 to determine whether There are biological factors such as pests or voles wild animals that affect plant growth. The realization principle is that the temperature difference between the plant temperature and the animal temperature is reflected on the thermal imaging image, that is, each part of the scanned thermal imaging image has different colors and different brightnesses, if the color on the thermographic image is consistent, There is no significant change in brightness, indicating that there are only plants and no pests in this area. Otherwise, the prompting module 210 prompts the staff to perform field work. The thermographic image is obtained by collecting infrared radiation. The place with higher radiation intensity is brighter than the place with lower radiation intensity. The brighter place may be harmful insects or animals, so when analyzing the image, the partition module 206 will Throughout the image partitioning, the comparison module 208 compares each region with the average brightness, and the possibility of occurrence of pests in the region with higher brightness is relatively large. By this method, the region suspected of being present in the pest is found, and is prompted by the prompting module 210. The planter gives a reminder. The inspection step of manually finding the pest area is eliminated, which is convenient for the planter to be targeted, improve work efficiency and check the accuracy of the insect. The process of scanning the planting area with thermal imaging replaces the process of manual inspection, which not only saves manpower, but also greatly improves the speed of inspection.
degree.
根据本发明第二方面实施例的虫害检查提示装置200,优选地,还包括:定时模块212,接收预设的扫描时间段,在预设扫描时间段内,进行扫描。The pest check prompting apparatus 200 according to the embodiment of the second aspect of the present invention preferably further includes: a timing module 212 that receives a preset scan time period and performs scanning within a preset scan time period.
在该实施例中,通过自动化扫描查虫方案摆脱了对人工巡视的依赖后,可进一步地利用自动查虫的便捷性,通过定时模块212进行定时检查和分时段检查。也能够根据种植区具体环境设定扫描时间段,例如,深夜的种植区无人员工作,无大型动物路过,无蜜蜂飞鸟之类的生物因素干扰。In this embodiment, after the automatic scanning and pest checking scheme is rid of the dependence on the manual inspection, the convenience of automatic pest inspection can be further utilized, and the timing module 212 performs the timing inspection and the time division inspection. It is also possible to set the scanning time period according to the specific environment of the planting area. For example, the planting area in the middle of the night has no personnel to work, no large animals pass by, and no biological factors such as bee birds interfere.
根据本发明第二方面实施例的虫害检查提示装置200,优选地,热成像图像上的温度分布由不同颜色表示,随着温度的增加,颜色加深。According to the pest inspection cueing device 200 of the embodiment of the second aspect of the present invention, preferably, the temperature distribution on the thermographic image is represented by a different color, and the color is deepened as the temperature is increased.
在该实施例中,为方便种植人员进行虫害判断,将热成像图像处理后把热成像图像上不同温度的区域用不同的颜色表示出来。In this embodiment, in order to facilitate the planter to perform pest determination, the thermographic image is processed and the regions of different temperatures on the thermographic image are represented by different colors.
根据本发明第二方面实施例的虫害检查提示装置200,优选地,还包括:扫描子模块2022,提高扫描分辨率,对疑似虫害区再次扫描,获取疑似虫害区的高分辨率热成像图像;统计模块214,对高分辨率热成像图像进行图像处理,计算亮度异常区块的个数,若亮度异常区块数量超过预定数量,则提示发现虫害。The pest inspection cueing device 200 according to the embodiment of the second aspect of the present invention preferably further includes: a scanning sub-module 2022, which improves the scanning resolution, scans the suspected pest area again, and acquires a high-resolution thermographic image of the suspected pest area; The statistics module 214 performs image processing on the high-resolution thermographic image to calculate the number of abnormal brightness blocks. If the number of abnormal brightness blocks exceeds a predetermined number, the insects are found to be found.
在该实施例中,缩小了查找区域并提高扫描分辨率,通过统计模块214能够进一步分析较小区域内的害虫情况,通过预设数量阈值的方法,还能够避免在害虫较少的情况下多次发出提示信息(由于是定时查虫,所以可以忽略零星分布的少数害虫,待害虫的数量超过设定阈值后,还是会被此虫害检查提示装置200发现并提示种植人员),避免了多次发出提示加重种植人员的劳动负担的情况发生。In this embodiment, the search area is reduced and the scanning resolution is increased, and the statistical module 214 can further analyze the pest situation in a small area. By adopting a preset number threshold method, it is also possible to avoid more cases in the case of fewer pests. The prompt message is issued (since it is a regular pest check, so a small number of sporadic pests can be ignored. After the number of pests exceeds the set threshold, the pest check device 200 will be found and prompt the planter), avoiding multiple times. A warning arises to increase the labor burden of the growers.
根据本发明第二方面实施例的虫害检查提示装置200,优选地,热成像图像的亮度分布均匀或者颜色没有出现明显不一致的情况,说明种植区温度分布均匀,提示未发现虫害。According to the pest inspection suggesting device 200 of the embodiment of the second aspect of the present invention, preferably, the brightness distribution of the thermographic image is uniform or the color does not appear to be significantly inconsistent, indicating that the temperature distribution of the planting area is uniform, indicating that no pest is found.
在该实施例中,根据对热成像图像的分析,如果图像颜色一致或者亮度分布均匀,即表明种植区无生物入侵,则提示此区域无虫害,减少了人力巡视查看任务带来的工作负担。
In this embodiment, according to the analysis of the thermographic image, if the image color is uniform or the brightness distribution is uniform, that is, the planting area has no biological invasion, it indicates that the area is free of pests, and the work burden caused by the human patrol viewing task is reduced.
根据本发明第二方面实施例的虫害检查提示装置200,优选地,通过具有热传感器的摄像装置进行扫描。The pest inspection cueing device 200 according to the embodiment of the second aspect of the present invention preferably performs scanning by an image pickup device having a thermal sensor.
在该实施例中,使用带有热传感器功能的摄像装置进行扫描,捕捉害虫的热辐射,生成带有温度区分的图像,以便人工查看或者根据机器分析结果发出提示。In this embodiment, an imaging device with a thermal sensor function is used to scan, capture thermal radiation of pests, and generate images with temperature discrimination for manual viewing or to prompt based on machine analysis results.
图3示出了根据本发明实施例的检查虫害示意图。Figure 3 shows a schematic diagram of inspection of pests in accordance with an embodiment of the present invention.
如图3所示,本发明通过热学原理快速发现植物中的害虫,主要通过装有热传感器的摄像头扫描蔬菜覆盖区域,通过病虫和植物的温度不同,图像的颜色不同显示,以达到区分病虫和蔬菜,从而大大减少了人力查看所消耗的时间。由于植物温度是一种随环境温度的变化而变化,动物温度一般是通过自身调节而趋于稳定的原理,本发明是一种通过温度不同,成像后不同颜色显示的摄像头,用于监管温室中的蔬菜是否有病虫害现象,具体操作步骤如下:As shown in FIG. 3, the present invention rapidly discovers pests in plants through thermal principles, and scans the vegetable coverage area mainly through a camera equipped with a thermal sensor. The temperature of the insects and plants are different, and the colors of the images are displayed differently to distinguish the diseases. Insects and vegetables, which greatly reduce the time spent on manpower viewing. Since the plant temperature is a kind of change with the change of the ambient temperature, the temperature of the animal is generally stabilized by self-adjustment. The present invention is a camera that displays different colors after imaging by different temperatures, and is used for supervising the greenhouse. Whether the vegetables have pests and diseases, the specific steps are as follows:
步骤302,提前设置不同时间段扫描,当设置时间到时摄像头自动扫描蔬菜区域; Step 302, setting different time period scans in advance, and automatically scanning the vegetable area when the set time is up;
步骤304,通过自带的温度传感器传输所扫描区域的每一点温度通过温度的不同设置不同颜色成像,如:30℃为红色,25℃为黄色,温度越高颜色越重;Step 304: The temperature of each point of the scanned area is transmitted by the self-contained temperature sensor, and different colors are imaged by different temperature settings, such as: 30 ° C is red, 25 ° C is yellow, and the higher the temperature, the heavier the color;
步骤306和步骤308,通过图像分析技术进行解析,如果成像显示颜色接近或者一致,则证明没有病虫害,如有成片或者部分区域的颜色显示异于其他区域,则提示管理员则针对该区域认真检查;Step 306 and step 308, parsing by image analysis technology, if the image display color is close or consistent, it proves that there is no pest or disease. If the color of the film or part of the area is different from other areas, the administrator is prompted to be serious about the area. an examination;
步骤310,分析完后将成像结果显示出来并发出提示,蔬菜管理人员查看扫描结果; Step 310, after the analysis is completed, the imaging result is displayed and a prompt is issued, and the vegetable manager checks the scan result;
步骤312和步骤314,确定是否为病虫害,从而大大减少人力检查所耗费的时间。In step 312 and step 314, it is determined whether it is a pest or a disease, thereby greatly reducing the time taken for the manual inspection.
以上结合附图详细说明了本发明的技术方案,本发明提供了一种虫害
检查提示方法和一种虫害检查提示装置,实现了自动化查虫,替代人工巡视进行虫害检查,减少人力资源浪费,同时也提高了检查精度,避免人工作业中会出现的疏漏,还能提高查虫速度,提高工作效率。The technical solution of the present invention is described in detail above with reference to the accompanying drawings, and the present invention provides a pest.
The inspection prompt method and a pest inspection prompt device realize automatic inspection of insects, replace artificial inspection for pest inspection, reduce human resource waste, improve inspection accuracy, avoid omissions in manual operations, and improve inspection. Insect speed, improve work efficiency.
本发明实施例方法中的步骤能够根据实际需要进行顺序调整、合并和删减,本发明实施例中的的模块可以根据实际需要进行合并、划分和删减。以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
The steps in the method of the embodiment of the present invention can be sequentially adjusted, merged, and deleted according to actual needs. The modules in the embodiments of the present invention can be combined, divided, and deleted according to actual needs. The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.