CN108600746B - The eclipsed detection method of Color image of visual, system and device - Google Patents

The eclipsed detection method of Color image of visual, system and device Download PDF

Info

Publication number
CN108600746B
CN108600746B CN201810494109.3A CN201810494109A CN108600746B CN 108600746 B CN108600746 B CN 108600746B CN 201810494109 A CN201810494109 A CN 201810494109A CN 108600746 B CN108600746 B CN 108600746B
Authority
CN
China
Prior art keywords
color
image
component
visual
detected
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
CN201810494109.3A
Other languages
Chinese (zh)
Other versions
CN108600746A (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.)
Chongqing Rui Jing Mdt Infotech Ltd
Original Assignee
Chongqing Rui Jing Mdt Infotech 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 Chongqing Rui Jing Mdt Infotech Ltd filed Critical Chongqing Rui Jing Mdt Infotech Ltd
Priority to CN201810494109.3A priority Critical patent/CN108600746B/en
Publication of CN108600746A publication Critical patent/CN108600746A/en
Application granted granted Critical
Publication of CN108600746B publication Critical patent/CN108600746B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/02Diagnosis, testing or measuring for television systems or their details for colour television signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The present invention provides a kind of detection method that Color image of visual is eclipsed, system and device, this method comprises: color image to be measured in acquisition video monitoring;The color image to be measured is converted into HSI form, and calculates the chrominance component of color image to be measured, saturation degree component and strength component;It is compared according to the threshold range of certain preset class component generic component corresponding with color image to be measured, judges whether the color image to be measured is the eclipsed image of vision.By calculating the threshold value standard that vision is eclipsed in the color image in video monitoring system, when whether the video image for needing to detect picture pick-up device acquisition meets relevant regulations, the image that picture pick-up device acquisition need to only be obtained is compared with the threshold value standard of calculating, can determine whether the color image is the eclipsed image of vision, by the judgement of vision eclipsed image so that it is determined that the situation of video monitoring system performance out, the efficiency for improving the eclipsed detection of vision, realizes automatic detection.

Description

Method, system and device for detecting visual color loss of color image
Technical Field
The invention relates to the field of video monitoring, in particular to a method, a system and a device for detecting visual color loss of a color image.
Background
The traditional monitoring system processes gray level images, but with the development of economy and society, the gray level image monitoring system is difficult to meet the social requirements, and the application of color monitoring equipment in the monitoring system is more and more popular at present. The application of color monitoring is motivated by two main factors: first, color is a powerful renderer that simplifies the extraction and recognition of objects from a scene; second, humans can distinguish thousands of color tones and brightnesses, but only tens of gray tones in contrast, so color images are particularly important in applications of artificial image analysis.
Existing color image processing can be divided into two main areas: full color processing and pseudo color processing. The first category requires that the image be acquired with a full color sensor, such as a color television camera or color scanner. The second category is to assign a color to a particular monochrome gray scale or range of gray scales. Over the past decade, as the price of color sensors and hardware for processing color images has decreased dramatically, full-color image processing technology is now increasingly used, including monitoring, publishing, visualization, and internet applications.
Color plays an important role in analyzing images, and is particularly important in security applications. However, the performance of the surveillance camera is not very desirable. It is difficult to obtain color information of a scene in a low-illumination environment, so that some camera manufacturers switch the cameras to a black-and-white mode and then perform video coding in the low-illumination environment. The image with the loss of the chrominance information is not beneficial to information backtracking, although the ministry of public security specifies the industry standard and prohibits the behavior. However, in view of the data structure of the code stream, unlike the output video format of the monochrome camera, the monitoring video output with visual color loss still contains R, G, and B components, so that it is impossible to analyze whether the image has visual color loss from a simple code stream structure alone.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a method, a system and a device for detecting visual color loss of a color image, which are used to solve the problem that in the prior art, whether the video surveillance is visually color loss cannot be objectively evaluated by a computer, so that it cannot be determined whether the design and the operating mode of a surveillance camera system are configured reasonably.
To achieve the above and other related objects, in a first aspect of the present application, the present invention provides a method for detecting visual color loss of a color image, comprising:
collecting a color image to be detected in video monitoring;
converting the color image to be detected into an HSI form, and calculating a hue component, a saturation component and an intensity component of the color image to be detected;
and comparing the preset threshold range of a certain type of components with the corresponding same type of components of the color image to be detected, and judging whether the color image to be detected is a visual color-losing image.
In certain embodiments of the first aspect, before the step of acquiring a color image to be measured in video surveillance, the method further includes:
acquiring a color image in video monitoring, and classifying the color image into a visual color-losing image set and a visual color-losing-free image set;
calculating image information of the color image in the visual color losing image set and the visual color-free image set respectively;
converting the color image from an RGB form to an HSI form according to the image information, and respectively calculating a hue component, a saturation component and an intensity component of each image in the visual color losing image set and the visual color non-losing image set;
respectively counting the mean values corresponding to the respective components of all the images in the visual color-losing image set and the visual color-loss-free image set according to the hue component, the saturation component and the intensity component, and calculating the mean value difference of the corresponding components between the two image sets;
and combining the geometric relation of the HSI color model and generating a threshold range of the components according to the component with the maximum difference of the mean values as the maximum influence factor of visual color loss.
In some embodiments of the first aspect, the step of combining geometric relationships of the HSI color model and generating the threshold range of the components with the largest difference in mean values as the largest influence factor of visual color loss includes:
calculating the mean value difference between the hue component, the saturation component and the intensity component corresponding to the two image sets respectively, screening the component corresponding to the maximum mean value difference as the maximum influence factor of visual color loss, introducing the relevant influence factor into the geometrical relation of the HSI color model, and generating the corresponding threshold value range in the matrix mean value of the color loss image set and the visual color loss-free image set according to the component.
In some embodiments of the first aspect, the step of comparing, according to a preset threshold range of a certain class of components, a corresponding class of components of the color image to be detected, and determining whether the color image to be detected is a visually-faded image includes:
converting the format of the color image to be detected into an HSI image, selecting components of the same type as the threshold range, comparing whether the components of the color image to be detected are in the threshold range, and judging the color image to be detected to be a visual color-losing image when the components of the corresponding type of the color image to be detected are in the threshold range; and when the corresponding type component of the color image to be detected is not in the threshold value range, judging that the color image to be detected is a visual color-loss-free image.
In a second aspect of the present application, there is provided a device for detecting visual color loss of a color image, comprising:
the acquisition module is used for acquiring a color image to be detected in video monitoring;
the processing module is used for converting the color image to be detected into an HSI form and calculating a hue component, a saturation component and an intensity component of the color image to be detected;
and the detection module is used for comparing the preset threshold range of the certain type of components with the corresponding same type of components of the color image to be detected and judging whether the color image to be detected is a visual color-losing image.
In certain embodiments of the second aspect, the detection system further comprises, before the acquisition module:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring a color image in video monitoring and classifying the color image into a visual color losing image set and a visual color non-losing image set;
the first calculation module is used for calculating the image information of the color image in the visual color losing image set and the visual color non-losing image set respectively;
the second calculation module is used for converting the color image from an RGB form to an HSI form according to the image information and respectively calculating a hue component, a saturation component and an intensity component of each image in the visual color losing image set and the visual color non-losing image set;
the third calculation module is used for respectively calculating the mean values corresponding to the respective components of all the images in the visual color-losing image set and the visual color-loss-free image set according to the hue component, the saturation component and the intensity component, and calculating the mean value difference of the corresponding components between the two image sets;
and the threshold generating module is used for combining the geometric relation of the HSI color model and generating a threshold range of the components according to the component with the maximum difference of the mean values as the maximum influence factor of visual color loss.
In certain embodiments of the second aspect, the threshold generation module comprises:
calculating the mean value difference between the hue component, the saturation component and the intensity component corresponding to the two image sets respectively, screening the component corresponding to the maximum mean value difference as the maximum influence factor of visual color loss, introducing the relevant influence factor into the geometrical relation of the HSI color model, and generating the corresponding threshold value range in the matrix mean value of the color loss image set and the visual color loss-free image set according to the component.
In certain embodiments of the second aspect, the detection module comprises:
converting the format of the color image to be detected into an HSI image, selecting components of the same type as the threshold range, comparing whether the components of the color image to be detected are in the threshold range, and judging the color image to be detected to be a visual color-losing image when the components of the corresponding type of the color image to be detected are in the threshold range; and when the corresponding type component of the color image to be detected is not in the threshold value range, judging that the color image to be detected is a visual color-loss-free image.
In a third aspect of the present application, there is provided an apparatus for detecting visual color loss of a color image, the apparatus comprising:
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors to execute the instructions, the execution of the instructions by the one or more processors causes the electronic device to perform the method for detecting visual color loss of a color image as described above.
As described above, the method, system and apparatus for detecting visual color loss of a color image according to the present invention have the following advantages:
according to the invention, by calculating the threshold standard of the visual color loss in the color image in the video monitoring system, when whether the video image acquired by the camera equipment is in accordance with the relevant specification is required to be detected, only the image acquired by the camera equipment is required to be acquired and compared with the calculated threshold standard, whether the color image is the visual color loss image can be judged, and the performance condition of the video monitoring system is determined by judging the visual color loss image, so that the visual color loss detection efficiency is improved, automatic detection is realized, and whether the video monitoring system is in accordance with the industrial specification can be judged without artificial judgment.
Drawings
FIG. 1 is a flow chart of a method for detecting visual color loss of a color image according to the present invention;
FIG. 2 is a flowchart illustrating a method for detecting visual color loss of a color image according to the present invention before step S1;
FIG. 3 is a detailed flowchart of step S3 in the method for detecting visual color loss of a color image according to the present invention;
FIG. 4 is a block diagram of a system for detecting visual color loss of a color image according to the present invention;
FIG. 5 is a diagram illustrating a complete framework of a system for detecting visual color loss of a color image according to the present invention;
FIG. 6 shows a color image visual color-losing image set and a visual color-free image set according to the present invention;
FIG. 7 shows an RGB image decomposition for color image visual loss detection provided by the present invention;
fig. 8 shows an HSI color model for detecting visual color loss of a color image according to the present invention.
Detailed Description
The following description of the embodiments of the present application is provided for illustrative purposes, and other advantages and capabilities of the present application will become apparent to those skilled in the art from the present disclosure.
In the following description, reference is made to the accompanying drawings that describe several embodiments of the application. The following detailed description is not to be taken in a limiting sense, and the scope of embodiments of the present application is defined only by the claims of the issued patent. Spatially relative terms, such as "upper," "lower," "left," "right," "lower," "below," "lower," "above," "upper," and the like, may be used herein to facilitate describing one element or feature's relationship to another element or feature as illustrated in the figures.
Although the terms first, second, etc. may be used herein to describe various elements in some instances, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, the first preset threshold may be referred to as a second preset threshold, and similarly, the second preset threshold may be referred to as a first preset threshold, without departing from the scope of the various described embodiments. The first preset threshold and the preset threshold are both described as one threshold, but they are not the same preset threshold unless the context clearly indicates otherwise. Similar situations also include a first volume and a second volume.
The present application provides a system, a method and an apparatus for detecting color loss of color images, which are suitable for use in electronic devices, such as but not limited to notebook computers, tablet computers, mobile phones, smart phones, media players, Personal Digital Assistants (PDAs), navigators, smart televisions, smart watches, digital cameras, and the like, and combinations of two or more thereof. It should be understood that the electronic device described in the embodiments of the present application is only one example of an application, and that components of the device may have more or fewer components than shown, or a different configuration of components. The various components of the depicted figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits. In the specific embodiment of the present application, the electronic device will be described as a smart phone.
The electronic device includes memory, a memory controller, one or more processing units (CPUs), a peripheral interface, RF circuitry, audio circuitry, speakers, a microphone, an input/output (I/O) subsystem, a touch screen, other output or control devices, and an external port. These components communicate over one or more communication buses or signal lines. The electronic device also includes a power system for powering the various components. The power system may include a power management system, one or more power sources (e.g., battery, Alternating Current (AC)), a charging system, power failure detection circuitry, a power converter or inverter, a power status indicator (e.g., Light Emitting Diode (LED)), and any other components associated with power generation, management, and distribution in a portable device.
The electronic device supports various applications, such as one or more of: a mapping application, a rendering application, a word processing application, a website creation application, a disc editing application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, a fitness support application, a photo management application, a digital camera application, a digital video camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Referring to fig. 1, a flow chart of a method for detecting visual color loss of a color image according to the present invention includes:
step S1, collecting color images to be detected in video monitoring;
specifically, a color image refers to an image where each pixel is made up of R, G, B components, where R, G, B is described by different gray levels; a color model is an illustration of a coordinate system and subspace, where each color located in the system is represented by a single point. Most color models used today are either hardware-oriented (e.g., color monitors and printers) or application-oriented. In digital image processing, the most common hardware-oriented model is the RGB (red, green, blue) model, which is suitable for color monitors and a large class of color video cameras. In the RGB model, each color appears in the primary spectral components of red, green, and blue.
Step S2, converting the color image to be tested into HSI form, and calculating hue component, saturation component and intensity component of the color image to be tested;
a commonly used color model is the HSI (hue, saturation, brightness) model, which is more consistent with the way a person describes and interprets colors. In addition, the use of the HSI model has an advantage that it can eliminate the influence of intensity components from carried color information (hue and saturation) in a color image, and therefore, it is necessary to convert an image in RGB form into a color image in HSI form.
And step S3, comparing the preset threshold value range of a certain component with the corresponding same component of the color image to be detected, and judging whether the color image to be detected is a visual color-losing image.
In this embodiment, an HSI color model is adopted, and a color image to be measured is compared with a preset threshold range, and if the color image to be measured is within the threshold range, the color image is a visual color-missing image; if the color image to be detected is not in the threshold range, the color image is a visual non-color-loss image, the color image acquired by the camera equipment is automatically identified through the method, and whether the color image is the color-loss image or not can be rapidly detected, so that the performance of a camera system (a multimedia system) is evaluated.
Referring to fig. 2, the flowchart before step S1 in the method for detecting visual color loss of a color image according to the present invention further includes, before step S1:
step S01, acquiring a color image in video monitoring, and classifying the color image into a visual color losing image set and a visual color non-losing image set;
specifically, a typical video surveillance system includes a plurality of color images, for example, each color image may be represented by an image matrix f (x, y, z), and before classifying the color images, each color image may need to be scaled, for example, manually scaled, to select m visually color-missing images to form a visually color-missing image set, and select n visually color-missing-free images to form a visually color-missing image set, as shown in fig. 6, which includes the color-missing image set and the color-missing-free image set.
Step S02, calculating image information of the color image in the visual color losing image set and the visual color non-losing image set respectively;
specifically, each color image in each image set is converted into image information represented by matrix information according to three RGB channels, and referring to fig. 7 in detail, the color image collected by a color monitor or a color camera is converted into an RGB image.
Step S03, converting the color image from RGB mode to HSI mode according to the image information, and respectively calculating hue component, saturation component and intensity component of each image in the visual color losing image set and the visual color non-losing image set;
specifically, by analyzing the RGB color model geometry structure diagram and the HSI color model geometry structure diagram, we can obtain a conversion formula from the RGB color space to the HSI color space, and apply the conversion formula to calculate a hue component H matrix, a saturation component S matrix, and an intensity component I matrix of each image in the achromatic image set and the non-achromatic image set respectively according to the RGB three-channel matrix information calculated in step S02.
The RGB-HSI color space conversion formula is as follows;
wherein,
the saturation component is given by:
the intensity component is given by:
r, G, B respectively represents the components of red, green and blue, and the components corresponding to the HSI are represented by matrix information.
Step S04, respectively counting the average values corresponding to the respective components of all the images in the visual color-losing image set and the visual color-loss-free image set according to the hue component, the saturation component and the intensity component, and calculating the average value difference of the corresponding components between the two image sets;
specifically, the average value of H components of all color images is respectively obtained in the visually-blurred image set and is recorded as lmh, the average value of S components is recorded as lms, and the average value of I components (matrix average value) is recorded as lmi; respectively obtaining the average values of H components of all color images in the visual color-loss-free image set, and recording the average values as ulmh, the average value of S components as ulms, and the average value of I components as ulmi; calculating the difference between the mean values of the two image sets corresponding to the H, S, I three quantities, and recording the difference as delta mh, delta ms and delta ml respectively; for example, it can be expressed in the following manner:
Δmh=|lmh-ulmh|
Δms=|lms-ulms|
Δml=|lml-ulml|
the matrix mean values corresponding to the H component, the S component, and the I component are detailed in the following formula:
calculating the matrix mean value of all the H components of the images of the color losing image set and the color losing free image set:
calculating the matrix mean value of all the S components of the images of the color losing image set and the color losing free image set:
calculating the matrix mean value of all image I components of the color losing image set and the color losing free image set:
and step S05, combining the geometric relation of the HSI color model and generating a threshold range of the components according to the component with the maximum difference of the mean values as the maximum influence factor of visual color loss.
Specifically, referring to fig. 8 in detail, the mean difference between the hue component, the saturation component, and the intensity component corresponding to each of the two image sets is calculated, the component corresponding to the largest mean difference is screened as the largest influence factor of visual color loss, the relevant influence factor is introduced into the geometric relationship of the HSI color model, and the corresponding threshold range is generated in the matrix mean of the visually color-missing image set and the visually color-missing-free image set according to the component.
In this embodiment, the difference matrices of the two image sets in three components of H, S, and I are calculated and are respectively denoted as Δ mh, Δ ms, and Δ ml, if through experimental calculation, the matrix difference Δ ms of the two image sets in the S component is much greater than the matrix difference Δ mh in the H component, it is determined that the S component in the HSI color model is the main factor causing visual color loss of the color image, wherein the S component matrix mean values of all the images in the visual color loss image set are calculated, and the obtained results are all less than 0.1, and similarly, the S component matrix mean values of all the images in the visual color loss-free image set are calculated, and the obtained results are all greater than 0.1, so the threshold value range α for judging visual color loss according to the experimental setting is less than or equal to 0.1.
Referring to fig. 3, a detailed flowchart of step S3 in the method for detecting color loss of a color image according to the present invention includes:
converting the format of the color image to be detected into an HSI image, selecting components of the same type as the threshold range, comparing whether the components of the color image to be detected are in the threshold range, and judging the color image to be detected to be a visual color-losing image when the components of the corresponding type of the color image to be detected are in the threshold range; and when the corresponding type component of the color image to be detected is not in the threshold value range, judging that the color image to be detected is a visual color-loss-free image.
In this embodiment, the color image to be detected is uniformly converted into an HSI image, for example, if the threshold range is the S component less than or equal to 0.1, it is only necessary to detect whether the S component of the color image to be detected is less than or equal to 0.1, and if the S component is less than or equal to the threshold range, the color image to be detected is determined to be a visually-faded image; and when the color image is larger than the threshold range, determining that the color image to be detected is a visual color-loss-free image.
Referring to fig. 4, a frame diagram of a system for detecting visual color loss of a color image according to the present invention includes:
the acquisition module 1 is used for acquiring a color image to be detected in video monitoring;
the processing module 2 is used for converting the color image to be detected into an HSI form and calculating a hue component, a saturation component and an intensity component of the color image to be detected;
and the detection module 3 is used for comparing the preset threshold range of a certain component with the corresponding component of the same class of the color image to be detected and judging whether the color image to be detected is the visual color-missing image.
Specifically, the detection module 3 includes:
converting the format of the color image to be detected into an HSI image, selecting components of the same type as the threshold range, comparing whether the components of the color image to be detected are in the threshold range, and judging the color image to be detected to be a visual color-losing image when the components of the corresponding type of the color image to be detected are in the threshold range; and when the corresponding type component of the color image to be detected is not in the threshold value range, judging that the color image to be detected is a visual color-loss-free image.
Referring to fig. 5, a complete frame diagram of a system for detecting color loss of a color image according to the present invention is shown, where the system further includes, before the acquisition module:
the acquisition module 01 is used for acquiring a color image in video monitoring and classifying the color image into a visual color-losing image set and a visual color-losing-free image set;
a first calculating module 02, configured to calculate image information of the color image in the visually color-losing image set and the visually color-free image set respectively;
a second calculating module 03, configured to convert the color image from an RGB format to an HSI format according to the image information, and calculate a hue component, a saturation component, and an intensity component of each image in the visual color-losing image set and the visual color-non-losing image set respectively;
a third calculating module 04, configured to calculate, according to the hue component, the saturation component, and the intensity component, a mean value corresponding to each component of all images in the visual color-losing image set and the visual color-loss-free image set, and calculate a mean value difference of corresponding components between the two image sets;
and the threshold generating module 05 is configured to combine the geometric relationship of the HSI color model and generate a threshold range of the components according to the component with the largest difference between the mean values as the largest influence factor of visual color loss.
The threshold generation module 05 specifically includes:
calculating the mean value difference between the hue component, the saturation component and the intensity component corresponding to the two image sets respectively, screening the component corresponding to the maximum mean value difference as the maximum influence factor of visual color loss, introducing the relevant influence factor into the geometrical relation of the HSI color model, and generating the corresponding threshold value range in the matrix mean value of the color loss image set and the visual color loss-free image set according to the component.
Since the visual color loss detection method and the detection system are in a one-to-one correspondence relationship, the corresponding advantages are not described herein.
In a third aspect of the present application, there is provided an apparatus for detecting visual color loss of a color image, the apparatus comprising:
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors to execute the instructions, the execution of the instructions by the one or more processors causes the electronic device to perform the method for detecting visual color loss of a color image as described above.
In some embodiments, the processor is also operatively coupled to I/O ports that enable electronic device 20 to interact with various other electronic devices, and to input structures that enable a user to interact with electronic device 20. Thus, the input structures may include buttons, keyboards, mice, touch pads, and the like. In addition, the electronic display may include a touch component that facilitates user input by detecting the occurrence and/or location of an object touching its screen (e.g., a surface of the electronic display).
The processor is operatively coupled to memory and/or non-volatile storage. More specifically, the processor may execute instructions stored in the memory and/or the non-volatile storage device to perform operations in the computing device, such as generating image data and/or transmitting image data to an electronic display. As such, the processor may include one or more general purpose microprocessors, one or more application specific processors (ASICs), one or more field programmable logic arrays (FPGAs), or any combination thereof.
The memory may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid state storage devices. In certain embodiments, the memory may also include memory that is remote from the one or more processors, such as network-attached memory accessed via RF circuitry or external ports and a communication network (not shown), which may be the internet, one or more intranets, Local Area Networks (LANs), wide area networks (WLANs), Storage Area Networks (SANs), etc., or a suitable combination thereof. The memory controller may control access to the memory by other components of the device, such as the CPU and peripheral interfaces.
In summary, according to the invention, by calculating the threshold standard of the visual color loss in the color image in the video monitoring system, when it is required to detect whether the video image acquired by the image pickup device meets the relevant specification, it can be determined whether the color image is the visual color loss image only by acquiring the image acquired by the image pickup device and comparing the image acquired by the image pickup device with the calculated threshold standard, and the performance condition of the video monitoring system is determined by the visual color loss image determination, so that the visual color loss detection efficiency is improved, the automatic detection is realized, and it can be determined whether the video monitoring system meets the industrial specification without human determination. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (7)

1. A method for detecting visual color loss of a color image, the method comprising the steps of:
acquiring a color image in video monitoring, and classifying the color image into a visual color-losing image set and a visual color-losing-free image set;
calculating image information of the color image in the visual color losing image set and the visual color-free image set respectively;
converting the color image from an RGB form to an HSI form according to the image information, and respectively calculating a hue component, a saturation component and an intensity component of each image in the visual color losing image set and the visual color non-losing image set;
respectively counting the mean values corresponding to the respective components of all the images in the visual color-losing image set and the visual color-loss-free image set according to the hue component, the saturation component and the intensity component, and calculating the mean value difference of the corresponding components between the two image sets;
generating a preset threshold range of a certain class of components by combining the geometric relation of the HSI color model and according to the component with the maximum difference of the mean values as the maximum influence factor of visual color loss;
collecting a color image to be detected in video monitoring;
converting the color image to be detected into an HSI form, and calculating a hue component, a saturation component and an intensity component of the color image to be detected;
and comparing the preset threshold range of a certain type of components with the corresponding same type of components of the color image to be detected, and judging whether the color image to be detected is a visual color-losing image.
2. The method for detecting visual color loss of a color image according to claim 1, wherein the step of generating the threshold range of the component with the largest difference in mean values by combining the geometric relationships of the HSI color model and according to the component with the largest difference in mean values as the largest influencing factor of the visual color loss comprises:
calculating the mean value difference between the hue component, the saturation component and the intensity component corresponding to the two image sets respectively, screening the component corresponding to the maximum mean value difference as the maximum influence factor of visual color loss, introducing the relevant influence factor into the geometrical relation of the HSI color model, and generating the corresponding threshold value range in the matrix mean value of the visual color loss image set and the visual color loss-free image set according to the component.
3. The method for detecting visual color loss of a color image according to claim 1, wherein the step of determining whether the color image to be detected is a visual color loss image by comparing the preset threshold range of a certain component with the same component corresponding to the color image to be detected comprises:
converting the format of the color image to be detected into an HSI image, selecting components of the same type as the threshold range, comparing whether the components of the color image to be detected are in the threshold range, and judging the color image to be detected to be a visual color-losing image when the components of the corresponding type of the color image to be detected are in the threshold range; and when the corresponding type component of the color image to be detected is not in the threshold value range, judging that the color image to be detected is a visual color-loss-free image.
4. A system for detecting visual loss of color in a color image, said system comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring a color image in video monitoring and classifying the color image into a visual color losing image set and a visual color non-losing image set;
the first calculation module is used for calculating the image information of the color image in the visual color losing image set and the visual color non-losing image set respectively;
the second calculation module is used for converting the color image from an RGB form to an HSI form according to the image information and respectively calculating a hue component, a saturation component and an intensity component of each image in the visual color losing image set and the visual color non-losing image set;
the third calculation module is used for respectively calculating the mean values corresponding to the respective components of all the images in the visual color-losing image set and the visual color-loss-free image set according to the hue component, the saturation component and the intensity component, and calculating the mean value difference of the corresponding components between the two image sets;
the threshold value generation module is used for generating a preset threshold value range of a certain class of components by combining the geometric relation of the HSI color model and taking the component with the largest mean value difference as the largest influence factor of visual color loss;
the acquisition module is used for acquiring a color image to be detected in video monitoring;
the processing module is used for converting the color image to be detected into an HSI form and calculating a hue component, a saturation component and an intensity component of the color image to be detected;
and the detection module is used for comparing the preset threshold range of the certain type of components with the corresponding same type of components of the color image to be detected and judging whether the color image to be detected is a visual color-losing image.
5. The system for detecting visual loss of color images according to claim 4, wherein the threshold generation module comprises:
calculating the mean value difference between the hue component, the saturation component and the intensity component corresponding to the two image sets respectively, screening the component corresponding to the maximum mean value difference as the maximum influence factor of visual color loss, introducing the relevant influence factor into the geometrical relation of the HSI color model, and generating the corresponding threshold value range in the matrix mean value of the color loss image set and the visual color loss-free image set according to the component.
6. The system for detecting visual loss of color images according to claim 4, wherein the detection module comprises:
converting the format of the color image to be detected into an HSI image, selecting components of the same type as the threshold range, comparing whether the components of the color image to be detected are in the threshold range, and judging the color image to be detected to be a visual color-losing image when the components of the corresponding type of the color image to be detected are in the threshold range; and when the corresponding type component of the color image to be detected is not in the threshold value range, judging that the color image to be detected is a visual color-loss-free image.
7. An apparatus for detecting visual loss of color in a color image, the apparatus comprising:
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors to execute instructions, the execution of which by the one or more processors causes an electronic device to perform the method of detecting visual loss of color in color images as claimed in any one of claims 1 to 3.
CN201810494109.3A 2018-05-22 2018-05-22 The eclipsed detection method of Color image of visual, system and device Active CN108600746B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810494109.3A CN108600746B (en) 2018-05-22 2018-05-22 The eclipsed detection method of Color image of visual, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810494109.3A CN108600746B (en) 2018-05-22 2018-05-22 The eclipsed detection method of Color image of visual, system and device

Publications (2)

Publication Number Publication Date
CN108600746A CN108600746A (en) 2018-09-28
CN108600746B true CN108600746B (en) 2019-03-29

Family

ID=63632452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810494109.3A Active CN108600746B (en) 2018-05-22 2018-05-22 The eclipsed detection method of Color image of visual, system and device

Country Status (1)

Country Link
CN (1) CN108600746B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111861893B (en) * 2019-04-24 2024-04-09 浙江宇视科技有限公司 Method, system, equipment and computer medium for eliminating false color edges of image

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184413A (en) * 2011-05-16 2011-09-14 浙江大华技术股份有限公司 Automatic vehicle body color recognition method of intelligent vehicle monitoring system
CN105160924A (en) * 2015-08-25 2015-12-16 公安部第三研究所 Video processing-based intelligent signal lamp state detection method and detection system
CN105184757A (en) * 2015-06-11 2015-12-23 西安电子科技大学 Food image color enhancement method based on color space characteristics
CN107025441A (en) * 2017-03-29 2017-08-08 北京小米移动软件有限公司 Skin color detection method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9977986B2 (en) * 2015-11-19 2018-05-22 Streamax Technology Co, Ltd. Method and apparatus for switching a region of interest

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184413A (en) * 2011-05-16 2011-09-14 浙江大华技术股份有限公司 Automatic vehicle body color recognition method of intelligent vehicle monitoring system
CN105184757A (en) * 2015-06-11 2015-12-23 西安电子科技大学 Food image color enhancement method based on color space characteristics
CN105160924A (en) * 2015-08-25 2015-12-16 公安部第三研究所 Video processing-based intelligent signal lamp state detection method and detection system
CN107025441A (en) * 2017-03-29 2017-08-08 北京小米移动软件有限公司 Skin color detection method and device

Also Published As

Publication number Publication date
CN108600746A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
TWI620441B (en) Machine learning of real-time image capture parameters
CN110544258B (en) Image segmentation method and device, electronic equipment and storage medium
US10510136B2 (en) Image blurring method, electronic device and computer device
CN107957294A (en) Ambient light intensity detection method, device, storage medium and electronic equipment
CN112950525B (en) Image detection method and device and electronic equipment
WO2019000409A1 (en) Colour detection method and terminal
JP2017510186A (en) Automatic white balance adjustment using chromaticity measurement of original image data
EP3271867A1 (en) Local change detection in video
CN110084204B (en) Image processing method and device based on target object posture and electronic equipment
JPWO2008013050A1 (en) Image processing method, image processing program, and image processing apparatus
CN112840636A (en) Image processing method and device
CN113132696B (en) Image tone mapping method, image tone mapping device, electronic equipment and storage medium
CN108701365A (en) Luminous point recognition methods, device and system
CN113688820B (en) Stroboscopic band information identification method and device and electronic equipment
US9230188B2 (en) Objective metric relating to perceptual color differences between images
KR20230099610A (en) Method, apparatus and electronic device for estimating screen light leakage amount
CN109040729B (en) Image white balance correction method and device, storage medium and terminal
CN111131612B (en) Screen color temperature control method and device, storage medium and mobile terminal
CN113298753A (en) Sensitive muscle detection method, image processing method, device and equipment
CN106954022B (en) Image processing method, device and terminal
CN114038370B (en) Display parameter adjustment method and device, storage medium and display equipment
CN108600746B (en) The eclipsed detection method of Color image of visual, system and device
TWI476381B (en) Ambient light sensing device and method, and interactive device using same
CN115589539B (en) Image adjustment method, device and storage medium
US20230069744A1 (en) Method of operating assessment device assessing color distortion of image sensor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant