WO2021102947A1 - Image signal processing apparatus and method, camera, and mobile platform - Google Patents

Image signal processing apparatus and method, camera, and mobile platform Download PDF

Info

Publication number
WO2021102947A1
WO2021102947A1 PCT/CN2019/122084 CN2019122084W WO2021102947A1 WO 2021102947 A1 WO2021102947 A1 WO 2021102947A1 CN 2019122084 W CN2019122084 W CN 2019122084W WO 2021102947 A1 WO2021102947 A1 WO 2021102947A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
module
pixel
signal processing
classification information
Prior art date
Application number
PCT/CN2019/122084
Other languages
French (fr)
Chinese (zh)
Inventor
曾志豪
曹子晟
Original Assignee
深圳市大疆创新科技有限公司
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 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2019/122084 priority Critical patent/WO2021102947A1/en
Priority to CN201980050308.8A priority patent/CN112514364A/en
Publication of WO2021102947A1 publication Critical patent/WO2021102947A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals

Definitions

  • This application relates to the field of image processing, and in particular to an image signal processing device, method, camera, and movable platform.
  • the raw image data collected by the image sensor is usually processed by the image signal processor (Image Signal Processor, ISP).
  • the ISP includes multiple functional modules, such as sensors.
  • the correction module, color correction module, etc. finally present an image that is visible to the naked eye.
  • the processing level of the ISP largely determines the image quality.
  • each functional module is relatively independent and realizes their respective functions.
  • some modules have similar or the same basic operations. The relative independence between the modules makes the similar or identical basic operations between the modules need to be repeated, and there are many Multiple hardware resources are repeatedly implemented, resulting in high hardware costs and long image signal processing time.
  • the present application provides an image signal processing device, method, camera, and movable platform.
  • the first aspect of the present application provides an image signal processing device, including a pixel classification module and at least two first image signal processing modules;
  • At least two first image signal processing modules are connected in sequence;
  • the pixel classification module is used to classify each pixel in the input image, generate a number of classification information, and transmit the input image and a number of classification information to the first image signal processing module connected to it;
  • the classification information is used to characterize the image characteristics of the pixel;
  • the first image signal processing module is configured to receive the image input by the pixel classification module or the previous first image signal processing module and the plurality of classification information; based on the plurality of classification information, the pixels in the input image Perform a corresponding image processing operation, and transmit the generated image and the plurality of classification information to the next first image signal processing module.
  • an image signal processing method which is applied to an image signal processing device, and the method includes:
  • each pixel in the input image is classified to generate a number of classification information; the classification information is used to characterize the image characteristics of the pixel;
  • the image input by the pixel classification module or the previous first image signal processing module and the plurality of classification information are received, and based on the plurality of classification information, the pixels in the input image Perform a corresponding image processing operation, and transmit the generated image and the plurality of classification information to the next first image signal processing module.
  • a camera including:
  • the lens assembly is arranged inside the housing;
  • An image sensor arranged inside the housing, for sensing light passing through the lens assembly and generating an electrical signal
  • the image signal processing device according to any one of the first aspect.
  • a movable platform including:
  • a power system installed in the body for powering the movable platform; and, the camera according to the third aspect.
  • the image signal processing device in the embodiment of the present application includes a pixel classification module and at least two first image signal processing modules.
  • the pixel classification module classifies each pixel in the input image to generate a number of classification information.
  • the classification information represents the image feature of the pixel, and the generated classification information is transmitted to the first image signal processing module, so that the first image signal processing module does not need to repeat the image feature determination step of the same or similar pixels, which can Determining the image processing operations that each pixel should perform directly based on the several classification information reduces the hardware resources for performing the same or similar steps, thereby effectively reducing hardware costs, and the deletion of repeated steps also effectively reduces the length of image signal processing. Improve the efficiency of image signal processing.
  • Fig. 1 is a structural diagram of a first image signal processing device 10 according to an exemplary embodiment of the present application.
  • Fig. 2 is a structural diagram showing a second image signal processing device 10 according to an exemplary embodiment of the present application.
  • FIG. 3 is a structural diagram showing a third image signal processing device 10 according to an exemplary embodiment of the present application.
  • Fig. 4 is a structural diagram showing a fourth image signal processing device 10 according to an exemplary embodiment of the present application.
  • FIG. 5 is a structural diagram showing a fifth image signal processing device 10 according to an exemplary embodiment of this application.
  • Fig. 6 is a structural diagram showing a sixth image signal processing device 10 according to an exemplary embodiment of the present application.
  • Fig. 7 is a flowchart of an image signal processing method according to an exemplary embodiment of this application.
  • Fig. 8 is a structural diagram of a camera according to an exemplary embodiment of the present application.
  • Fig. 9 is a structural diagram of a movable platform according to an exemplary embodiment of this application.
  • first, second, third, etc. may be used in this application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as second information, and similarly, the second information may also be referred to as first information.
  • the word “if” as used herein can be interpreted as “when” or “when” or “in response to determination”.
  • the terms “include”, “include” or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements that are not explicitly listed. Elements, or also include elements inherent to such processes, methods, articles, or equipment. If there are no more restrictions, the element defined by the sentence “including a" does not exclude the existence of other identical elements in the process, method, article, or equipment that includes the element.
  • an image signal processing device 10 is provided in the embodiment of the present application, and the image signal processing device 10 combines each function
  • the same or similar operations among the modules are integrated into a pixel classification module 11, which avoids the repeated execution process and does not require excessive hardware resources, reduces hardware costs, and also shortens the image signal processing time; wherein, the image The signal processing device 10 can be applied to fields that require processing of captured image signals, such as cameras, mobile terminals (such as mobile phones, tablets, or computers), vehicle-specific cameras, monitors, educational equipment, or medical equipment.
  • FIG. 1 shows a structural diagram of a first image signal processing apparatus 10 according to an exemplary embodiment of this application.
  • the device includes: a pixel classification module 11 and at least two first image signal processing modules 12 (in FIG. 1, two first image signal processing modules 12 are taken as an example for illustration); wherein, after the pixel classification module 11 , At least two first image signal processing modules 12 are connected in sequence.
  • the pixel classification module 11 is used to classify each pixel in the input image, generate some classification information, and transmit the input image and some classification information to the first image signal processing module 12 connected to it;
  • the classification information is used to characterize the image characteristics of the pixel.
  • the classification information can be expressed in the form of a hash value or a hash vector.
  • the hash value includes, but is not limited to, an integer value and a floating point value
  • the hash vector includes, but is not limited to, an integer vector, a floating point vector, etc.; in one example, for example, the classification information may be an integer value Sequence: 010110101010 or 1253716581651, etc., each position can represent a certain type of image feature, and the specific value at this position can represent the specific meaning of this type of image feature.
  • the image feature includes edge features and flat area features.
  • the embodiment of the present application sets all the image signals in the image signal processing device 10
  • the pixel classification module 11, the pixel classification module 11 classifies each pixel in the input image, and generates classification information for each pixel.
  • the classification information represents the image characteristics of the pixel. This embodiment is for the image
  • the features are not limited and can be specifically set according to the application scenario.
  • the image features can include at least one or more of the following: edge strength features, edge direction features, flat area features, texture features, color features, isolated point features And domain features; as an example, for example, the pixels in the image are divided into 3 categories, the first category represents the pixel is non-edge, in a flat area, no texture and non-isolated points, the second category represents the pixel is a weak edge and 0° direction, non-flat area, textured and non-isolated dots; 3 types characterize that the pixel is a strong edge and 90° direction, non-flat area, textured and non-isolated dots, etc.; in this embodiment, the pixel classification module 11 The pixels are classified and the generated classification information is transmitted to the first image signal processing module 12, so that the first image signal processing module 12 does not need to repeat the same or similar image feature determination process, which can be directly based on the several image features. The classification information determines the image processing operations that each pixel should perform.
  • the pixel classification module 11 classifies each pixel in the input image based on the pixel and the neighboring pixels of the pixel, and generates classification information of the pixel.
  • the information is used to characterize the image characteristics of the pixel.
  • This embodiment does not impose any restrictions on the image characteristics, and can be specifically set according to the actual situation.
  • the image characteristics may be edge strength characteristics, edge direction characteristics, flatness, and texture.
  • the neighborhood feature can be an image feature of a designated neighborhood, for example, it can be an image feature of a small area (such as 3 ⁇ 3) and a large neighborhood (such as 7 ⁇ 7) image features; as an example, the pixel classification module 11 may classify the pixels and the gray changes of the pixels in the neighborhood of the pixel to generate classification information of the pixel.
  • the pixel classification module 11 may calculate the horizontal and vertical gradient matrices of each pixel based on the pixels and the neighboring pixels of the pixel, and then determine the gradient direction of the pixel based on the gradient matrix. , Amplitude and correlation, and then classify according to the gradient direction, amplitude and correlation to obtain the classification information of the pixel.
  • the input image is divided into N (N ⁇ 1) categories in total, and each category uses a different Ha Greek value or hash vector representation, assuming that the gradient direction of one of the pixels is t, the amplitude is s, and the correlation is c, the necessary and sufficient conditions for the pixel block to belong to the Kth (1 ⁇ K ⁇ N) category are: tl k ⁇ f(t) ⁇ tr k and sl k ⁇ f(s) ⁇ sr k and cl k ⁇ f(c) ⁇ cr k , where tl k , tr k , sl k , sr k , cl k , cr k is a preset parameter, which can be specifically set according to the actual situation. This embodiment does not impose any restrictions on this.
  • f(t), f(s), f(c) are respectively the gradient direction, amplitude and correlation degree. function.
  • the pixel classification module 11 classifies each pixel in the input image based on the pixel, the neighboring pixels of the pixel, and specified image information, and generates the pixel's Classification information, the classification information is used to characterize the image characteristics of the pixel; wherein, the embodiment of the present application does not impose any restriction on the image information, and can be specifically set according to actual conditions.
  • the image information may include but is not limited to Exposure parameters such as sensitivity (ISO value).
  • the first image signal processing module 12 is configured to receive the image input by the pixel classification module 11 or the previous first image signal processing module 12 and the plurality of classification information; based on the plurality of classification information, the input image
  • the pixels in the image processing unit perform corresponding image processing operations, and transmit the generated image and the plurality of classification information to the next first image signal processing module 12.
  • the first image signal processing module 12 includes but is not limited to: a dead pixel correction module, a black level correction module, a shadow correction module, a white balance correction module, a demosaicing module, a color correction module, and a brightness adjustment module , A noise reduction module and a sharpening module;
  • the dead pixel correction module is used to eliminate pixels in the pixel array that are significantly different from the surrounding pixel points;
  • the black level correction module is used to subtract from the input image signal The dark current signal is removed;
  • the shadow correction module is used to compensate for the brightness loss of surrounding pixels;
  • the white balance correction module is used to remove the influence of ambient light;
  • the demosaicing module is used to reconstruct a complete color; the color correction module It is used to correct color deviation;
  • the brightness adjustment module is used to adjust overall or partial brightness;
  • the noise reduction module and the sharpening module are used to restore relevant details of the image.
  • the first image signal processing module 12 stores the correspondence between classification information and image processing operations.
  • the pixels in the image are divided into two categories.
  • Type 1 corresponds to a 3 ⁇ 3 convolution kernel
  • type 2 corresponds to a 6 ⁇ 6 convolution kernel; it should be noted that the correspondence between the classification information stored in the different first image signal processing module 12 and the image processing operation is also different.
  • the first image signal processing module 12 receives the pixel classification module 11 or the previous first image signal processing module 12 After the input image and the plurality of classification information, the plurality of classification information is used as an index, the image processing operation corresponding to each pixel in the input image is obtained from the corresponding relationship, and the image processing operation is executed to generate The image sent to the next first image signal processing module 12, and the first image signal processing module 12 sends the plurality of classification information along with the generated image to the next first image signal processing module 12, so that A first image signal processing module 12 can directly perform corresponding image processing operations on the input image based on the plurality of classification information.
  • the several classification information is transmitted to the first image signal processing module 12 in parallel along with the image, so that the first image signal processing module 12 does not need to repeat the same or similar steps, which can be directly based on the several
  • the classification information performs corresponding image processing operations on each pixel in the input image, which reduces hardware resources for the same or similar steps, thereby effectively reducing hardware costs, and the reduction of repeated steps also effectively reduces the length of image signal processing. Improve the efficiency of image signal processing.
  • the corresponding relationship may be stored in a hash table format, and the hash table includes one or A plurality of key-value pair relationships, wherein the classification information is used as a hash key, and the image processing operation is stored as a key-value pair relationship of the hash value; wherein, the key-value pair relationship can be designed based on human experience, It can also be obtained through an intelligent learning algorithm.
  • the intelligent learning algorithm can be a machine learning algorithm such as a random forest model, a decision tree model, etc., a deep learning algorithm such as a neural network model, etc., or other algorithms such as least squares.
  • a key-value pair relationship sample (including a hash key sample and a hash value sample) can be obtained, and the hash key sample in the key-value pair relationship sample can be input into a specified model (such as a random forest model)
  • a specified model such as a random forest model
  • the prediction result of the designated model is obtained, and the parameters of the designated model are adjusted according to the difference between the prediction result of the designated model and the hash value samples in the key-value pair relationship sample to obtain the training completed Model, so that any hash key can be input into the trained model to obtain the corresponding hash value, thereby obtaining the key-value pair relationship, thereby effectively reducing the manual debugging process and improving the development efficiency.
  • different classification information corresponds to different image processing operations.
  • the image processing operations include, but are not limited to, filters of different scales and different types of image processing functions.
  • the first image signal processing module 12 is an image denoising module.
  • the image denoising module achieves the purpose of image smoothing through low-pass filtering. For each pixel in the input image, based on its corresponding classification information, the corresponding smoothing operator is obtained.
  • the classification information corresponds to different smoothing operators. For example, if the classification information indicates that the pixel is in a flat area, the corresponding image processing operation may be a non-directional smoothing operator; if the classification information indicates that the pixel is in the texture area, then The corresponding image processing operation can be a directional smoothing operator.
  • FIG. 2 shows a structure diagram of a second image signal processing device 10 according to an exemplary embodiment of this application.
  • the pixel classification module 11 is located in the image signal processing chain of the image signal processing device 10 At the top of the road, the pixel classification module 11 is directly connected to the image sensor 20, and the image sensor 20 is used to collect images and transmit them to the pixel classification module 11, so that the pixel classification module 11 can analyze the input image Classify each pixel of the pixel to generate classification information corresponding to each pixel, and the classification information is used to characterize the image characteristics of the pixel, so that the subsequent first image signal processing module 12 does not need to repeat the same or similar steps; wherein
  • the image sensor 20 may be a CMOS image sensor 20 or a CCD image sensor 20, and the image sensor 20 converts the captured light source signal into a digital signal to complete image collection.
  • FIG. 3 shows a structure diagram of a third image signal processing device 10 according to an exemplary embodiment of this application (in FIG. 3, two second image signal processing modules 13 are taken as an example.
  • the pixel classification module 11 may be placed after the second image signal processing module 13 that does not need to determine the image characteristics of the pixels, and the image signal processing device 10 further includes one second image signal processing module 13 or multiple sequential image signal processing modules 13 Connected to the second image signal processing module 13, the pixel classification module 11 is connected to the image sensor 20 through the one or more second image signal processing modules 13 to receive the image sensor 20 through the one or more The image transmitted by the second image signal processing module 13; wherein the second image signal processing module 13 is used to perform corresponding image signal processing operations on the input image.
  • the second image signal processing module 13 includes a dead pixel correction module (function: eliminates pixels that are significantly different from the surrounding pixels in the pixel array), a black level correction module (function: input from The dark current signal is subtracted from the image signal), a shadow correction module (function: to compensate for the brightness loss of surrounding pixels), and a white balance correction module (function: to remove the influence of ambient light).
  • a dead pixel correction module function: eliminates pixels that are significantly different from the surrounding pixels in the pixel array
  • a black level correction module function: input from The dark current signal is subtracted from the image signal
  • a shadow correction module function: to compensate for the brightness loss of surrounding pixels
  • a white balance correction module function: to remove the influence of ambient light
  • the first image signal processing module 12 includes a mosaic Module (function: rebuild the complete color), color correction module (function: correct color deviation), noise removal module (function: restore the relevant details of the image), sharpening module (function: restore the relevant details of the image); then
  • the sequence of connection between the image sensor 20 and each module in the image signal processing device 10 is: image sensor 20 ⁇ dead pixel correction module ⁇ black level correction module ⁇ shadow correction module ⁇ white balance correction module ⁇ the pixel classification module 11 ⁇ Mosaic module ⁇ Color correction module ⁇ Noise removal module ⁇ Sharp module.
  • the image signal processing device 10 further includes a down-sampling module 14, which is used to perform a down-sampling on the image sensor. 20.
  • FIG. 4 shows a structure diagram of a fourth image signal processing device 10 according to an exemplary embodiment of this application.
  • the image sensor 20 transmits the collected image to the down-sampling module. 14 and the pixel classification module 11, the down-sampling module 14 performs one or more down-sampling processing on the input image, and transmits the generated large-scale image to the pixel classification module 11 connected to it, that is to say
  • the pixel classification module 11 may perform classification processing on the image collected by the image sensor 20 and the large-scale image generated by the down-sampling module 14.
  • the image sensor 20 transmits the collected current image to the down-sampling module 14 and the pixel classification module 11 in real time.
  • the pixel classification module 11 is After the pixels of the image are classified to obtain certain classification information, if you wait for the large-scale image after the down-sampling process of the current image, and then classify and transmit it, this process will consume too much and invalid waiting time, resulting in the delay of image signal processing. The time is longer, which reduces the efficiency of image signal processing.
  • the inventor found that when the image sensor 20 transmits the currently collected image to the pixel classification module 11, within a specified time range (less than the waiting time),
  • the down-sampling module 14 also finishes down-sampling the image collected last time by the image sensor 20 and sends the generated large-scale image to the pixel classification module 11.
  • the pixel classification module 11 can classify the image currently collected by the image sensor 20 and the down-sampling large-scale image collected last time by the image sensor 20, respectively. Several classification information of the two images are then transmitted to the first image signal processing module 12 connected thereto, thereby effectively saving waiting time and improving image signal processing efficiency.
  • FIG. 5 shows a structure diagram of a fifth image signal processing apparatus 10 according to an exemplary embodiment of this application.
  • the image sensor 20 is processed by one or more second image signals.
  • the module 13 transmits the collected image to the down-sampling module 14 and the pixel classification module 11, that is, the image collected by the image sensor is processed by each second image signal processing module 13, and then is processed by the last second image signal
  • the processing module 13 outputs to the down-sampling module 14 and the pixel classification module 11.
  • the down-sampling module 14 performs one or more down-sampling processing on the input image, and transmits the generated large-scale image to the connected The pixel classification module 11; wherein, the image input to the pixel classification module 11 includes: the image currently collected by the image sensor 20 and the last large-scale image collected after the down-sampling process, the image classification module
  • the generated classification information corresponding to the above two images is transmitted together to the first image signal processing module 12 connected thereto, which is beneficial to shorten the waiting time and improve the efficiency of image signal processing.
  • the image signal processing device 10 may further include a storage module 15. Please refer to FIG. 6, which shows a sixth image signal processing device 10 according to an exemplary embodiment of this application.
  • the storage module 15 is connected to the pixel classification module 11, and the pixel classification module 11 is also used to store some classification information corresponding to the large-scale image in the storage module 15;
  • the first The image signal processing module 12 is also configured to obtain the plurality of classification information from the storage module 15, and perform corresponding image processing operations on the input image based on the plurality of classification information; in this embodiment, it needs to be based on the large-scale image corresponding
  • the first image signal processing module 12 for processing a number of classification information can directly obtain the plurality of classification information from the storage module 15, thereby effectively saving the transmission of a number of classification information corresponding to large-scale images in the image processing link. Transmission resources.
  • FIG. 7 shows a flowchart of an image signal processing method according to an exemplary embodiment of this application.
  • the image signal is applied to an image signal processing device, and the image signal processing device includes a pixel classification module and At least two first image signal processing modules; the method includes:
  • step S101 in the pixel classification module, each pixel in the input image is classified to generate several classification information; the classification information is used to characterize the image characteristics of the pixel.
  • step S102 in the first image signal processing module, the image input by the pixel classification module or the previous first image signal processing module and the plurality of classification information are received, and based on the plurality of classification information, the input The pixels in the image perform corresponding image processing operations, and transmit the generated image and the plurality of classification information to the next first image signal processing module.
  • the classification information is expressed in any of the following ways: a hash value or a hash vector.
  • the image features include at least one or more of the following: edge strength features, edge direction features, flat area features, texture features, color features, isolated point features, and domain features.
  • the step S102 includes: using the plurality of classification information as an index, obtaining an image processing operation corresponding to each pixel in the input image from a pre-stored correspondence relationship, and executing the image processing operation;
  • the corresponding relationship represents the corresponding relationship between the classification information and the image processing operation.
  • the correspondence relationship is stored in a hash table format.
  • the hash table includes one or more key-value pair relationships; wherein the classification information is used as a hash key, and the image processing operation is stored as a key-value pair relationship of the hash value.
  • the image processing operation includes filters of different scales and different types of image processing functions.
  • the step S101 includes: for each pixel in the input image, classify based on the pixel and the neighboring pixels of the pixel, and generate classification information of the pixel.
  • the input image is obtained from an image sensor.
  • the method further includes: performing one or more down-sampling processing on the image collected by the image sensor to generate a large-scale image.
  • the images to be classified include: the image currently collected by the image sensor and the large-scale image collected last time after the down-sampling process.
  • the method further includes: storing a plurality of classification information corresponding to the large-scale image, so that the first image signal processing module obtains the plurality of stored classification information, and compares the input information based on the plurality of classification information.
  • the image performs the corresponding image processing operation.
  • the first image signal processing module includes at least one or more of the following: a dead pixel correction module, a black level correction module, a shadow correction module, a white balance correction module, a demosaicing module, and a color correction module , Brightness adjustment module, noise reduction module and sharpening module.
  • an embodiment of the present application also provides a camera 100, including:
  • the lens assembly 40 is arranged inside the housing 30.
  • the image sensor 20 is arranged inside the housing 30 and is used to sense light passing through the lens assembly and generate electrical signals.
  • image signal processing device 10 is used to process the electrical signal.
  • FIG. 8 is only an example of the camera 100 and does not constitute a limitation on the camera 100. It may include more or less components than those shown in the figure, or a combination of certain components, or different components, such as
  • the camera 100 may also include a network access device and the like.
  • An embodiment of the present application also provides a movable platform 001, including:
  • the power system 03 is installed in the body 02 and is used to provide power to the movable platform 001.
  • the movable platform may be an unmanned aerial vehicle, an unmanned vehicle or an unmanned ship.
  • FIG. 9 is only an example of the movable platform 001, and does not constitute a limitation on the movable platform 001. It may include more or less components than shown in the figure, or combine certain components, or different
  • the movable platform 001 may also include input and output devices, network access equipment, etc.; it is understandable that the camera 100 can be fixedly installed on the movable platform 001, or can be installed in a detachable manner On the movable platform 001, the embodiment of the present application does not impose any restriction on this.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Studio Devices (AREA)

Abstract

Provided in the present application are an image signal processing apparatus and method, a camera, and a mobile platform. The apparatus comprises a pixel classification module and at least two first image signal processing modules; the pixel classification module is used for classifying each pixel in an input image, generating a plurality of pieces of classification information, and transmitting the input image and the plurality of pieces of classification information into a first image signal processing module; the classification information is used for characterizing an image feature of the pixel; the first image signal processing module is used for executing, based on the plurality of pieces of classification information, corresponding image processing operations on the pixels in the input image, and transmitting a generated image and the plurality of pieces of classification information to the next first image signal processing module. The present embodiment can reduce the same or similar steps repeated by the first image signal processing modules, and reduce the hardware cost.

Description

图像信号处理装置、方法、相机以及可移动平台Image signal processing device, method, camera and movable platform 技术领域Technical field
本申请涉及图像处理领域,尤其涉及一种图像信号处理装置、方法、相机以及可移动平台。This application relates to the field of image processing, and in particular to an image signal processing device, method, camera, and movable platform.
背景技术Background technique
在各种拍摄装置(例如数码相机、摄像机或者摄像手机等)中,图像传感器采集的原始图像数据通常由图像信号处理器(Image Signal Processor,ISP)负责处理,ISP包括多个功能模块,比如传感器矫正模块、颜色校正模块等等,最终呈现出人们肉眼可见的图像,其中,ISP的处理水平很大程度上决定了成像质量。传统的ISP,各个功能模块相对独立,分别实现各自功能,但有些模块间存在相似或相同的基本操作,模块之间相对独立使得各个模块之间相似或相同的基本操作需要重复进行,且由多份硬件资源重复实现,造成硬件成本高,图像信号处理时间长。In various shooting devices (such as digital cameras, camcorders or camera phones, etc.), the raw image data collected by the image sensor is usually processed by the image signal processor (Image Signal Processor, ISP). The ISP includes multiple functional modules, such as sensors. The correction module, color correction module, etc., finally present an image that is visible to the naked eye. Among them, the processing level of the ISP largely determines the image quality. In the traditional ISP, each functional module is relatively independent and realizes their respective functions. However, some modules have similar or the same basic operations. The relative independence between the modules makes the similar or identical basic operations between the modules need to be repeated, and there are many Multiple hardware resources are repeatedly implemented, resulting in high hardware costs and long image signal processing time.
发明内容Summary of the invention
有鉴于此,本申请提供了一种图像信号处理装置、方法、相机以及可移动平台。In view of this, the present application provides an image signal processing device, method, camera, and movable platform.
首先,本申请的第一方面提供了一种图像信号处理装置,包括像素分类模块以及至少两个第一图像信号处理模块;First, the first aspect of the present application provides an image signal processing device, including a pixel classification module and at least two first image signal processing modules;
在所述像素分类模块之后,至少两个第一图像信号处理模块依次连接;After the pixel classification module, at least two first image signal processing modules are connected in sequence;
所述像素分类模块,用于对输入的图像中的每个像素进行分类,生成若干分类信息,并将所述输入的图像及若干分类信息传输给与其连接的 第一图像信号处理模块;所述分类信息用于表征该像素的图像特征;The pixel classification module is used to classify each pixel in the input image, generate a number of classification information, and transmit the input image and a number of classification information to the first image signal processing module connected to it; The classification information is used to characterize the image characteristics of the pixel;
所述第一图像信号处理模块,用于接收所述像素分类模块或者上一个第一图像信号处理模块输入的图像以及所述若干分类信息;基于所述若干分类信息,对输入的图像中的像素执行相应的图像处理操作,并将生成的图像及所述若干分类信息传输给下一个第一图像信号处理模块。The first image signal processing module is configured to receive the image input by the pixel classification module or the previous first image signal processing module and the plurality of classification information; based on the plurality of classification information, the pixels in the input image Perform a corresponding image processing operation, and transmit the generated image and the plurality of classification information to the next first image signal processing module.
根据本申请实施例的第二方面,提供一种图像信号处理方法,应用于图像信号处理装置,所述方法包括:According to a second aspect of the embodiments of the present application, an image signal processing method is provided, which is applied to an image signal processing device, and the method includes:
在所述像素分类模块中,对输入的图像中的每个像素进行分类,生成若干分类信息;所述分类信息用于表征该像素的图像特征;In the pixel classification module, each pixel in the input image is classified to generate a number of classification information; the classification information is used to characterize the image characteristics of the pixel;
在所述第一图像信号处理模块中,接收所述像素分类模块或者上一个第一图像信号处理模块输入的图像以及所述若干分类信息,基于所述若干分类信息,对输入的图像中的像素执行相应的图像处理操作,并将生成的图像及所述若干分类信息传输给下一个第一图像信号处理模块。In the first image signal processing module, the image input by the pixel classification module or the previous first image signal processing module and the plurality of classification information are received, and based on the plurality of classification information, the pixels in the input image Perform a corresponding image processing operation, and transmit the generated image and the plurality of classification information to the next first image signal processing module.
根据本申请实施例的第三方面,提供一种相机,包括:According to a third aspect of the embodiments of the present application, a camera is provided, including:
外壳;shell;
镜头组件,设于所述外壳内部;The lens assembly is arranged inside the housing;
图像传感器,设于所述外壳内部,用于感知通过所述镜头组件的光并生成电信号;以及,An image sensor, arranged inside the housing, for sensing light passing through the lens assembly and generating an electrical signal; and,
如第一方面中任意一项所述的图像信号处理装置。The image signal processing device according to any one of the first aspect.
根据本申请实施例的第四方面,还提供了一种可移动平台,包括:According to the fourth aspect of the embodiments of the present application, a movable platform is also provided, including:
机体;Body
动力系统,安装在所述机体内,用于为所述可移动平台提供动力;以及,以及如第三方面所述的相机。A power system installed in the body for powering the movable platform; and, the camera according to the third aspect.
本申请的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present application may include the following beneficial effects:
本申请实施例中所述图像信号处理装置包括像素分类模块以及至少两个第一图像信号处理模块,所述像素分类模块对输入的图像中的每个像 素进行分类,生成若干分类信息,所述分类信息表征该像素的图像特征,并将生成的分类信息传输给第一图像信号处理模块,使得所述第一图像信号处理模块无需再重复进行相同或者相似的像素的图像特征确定步骤,其可直接基于所述若干分类信息确定各个像素应该执行的图像处理操作,减少了进行相同或者相似步骤的硬件资源,从而有效降低硬件成本,并且重复步骤的删减也有效减少了图像信号处理的时长,提高图像信号处理效率。The image signal processing device in the embodiment of the present application includes a pixel classification module and at least two first image signal processing modules. The pixel classification module classifies each pixel in the input image to generate a number of classification information. The classification information represents the image feature of the pixel, and the generated classification information is transmitted to the first image signal processing module, so that the first image signal processing module does not need to repeat the image feature determination step of the same or similar pixels, which can Determining the image processing operations that each pixel should perform directly based on the several classification information reduces the hardware resources for performing the same or similar steps, thereby effectively reducing hardware costs, and the deletion of repeated steps also effectively reduces the length of image signal processing. Improve the efficiency of image signal processing.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the application.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained from these drawings without creative labor.
图1为本申请根据一示例性实施例示出第一种图像信号处理装置10的结构图。Fig. 1 is a structural diagram of a first image signal processing device 10 according to an exemplary embodiment of the present application.
图2为本申请根据一示例性实施例示出第二种图像信号处理装置10的结构图。Fig. 2 is a structural diagram showing a second image signal processing device 10 according to an exemplary embodiment of the present application.
图3为本申请根据一示例性实施例示出第三种图像信号处理装置10的结构图。FIG. 3 is a structural diagram showing a third image signal processing device 10 according to an exemplary embodiment of the present application.
图4为本申请根据一示例性实施例示出第四种图像信号处理装置10的结构图。Fig. 4 is a structural diagram showing a fourth image signal processing device 10 according to an exemplary embodiment of the present application.
图5为本申请根据一示例性实施例示出第五种图像信号处理装置10的结构图。FIG. 5 is a structural diagram showing a fifth image signal processing device 10 according to an exemplary embodiment of this application.
图6为本申请根据一示例性实施例示出第六种图像信号处理装置10的结构图。Fig. 6 is a structural diagram showing a sixth image signal processing device 10 according to an exemplary embodiment of the present application.
图7为本申请根据一示例性实施例示出一种图像信号处理方法的流程图。Fig. 7 is a flowchart of an image signal processing method according to an exemplary embodiment of this application.
图8为本申请根据一示例性实施例示出一种相机的结构图。Fig. 8 is a structural diagram of a camera according to an exemplary embodiment of the present application.
图9为本申请根据一示例性实施例示出一种可移动平台的结构图。Fig. 9 is a structural diagram of a movable platform according to an exemplary embodiment of this application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terms used in this application are only for the purpose of describing specific embodiments, and are not intended to limit the application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and/or" as used herein refers to and includes any or all possible combinations of one or more associated listed items.
应当理解,尽管在本申请可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。术语“包括”、“包含”或者其任何其他变体意在涵 盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be understood that although the terms first, second, third, etc. may be used in this application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information. Depending on the context, the word "if" as used herein can be interpreted as "when" or "when" or "in response to determination". The terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements that are not explicitly listed. Elements, or also include elements inherent to such processes, methods, articles, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or equipment that includes the element.
针对传统的ISP中各个功能模块相对独立,造成的硬件成本高、图像信号处理时间长的问题,本申请实施例提供来了一种图像信号处理装置10,所述图像信号处理装置10将各个功能模块之间相同或相似的操作集成于一像素分类模块11中,避免了重复执行的过程,也无需过多的硬件资源,降低了硬件成本,也缩短了图像信号处理时间;其中,所述图像信号处理装置10可以应用于相机、移动终端(比如手机、平板或者电脑)、车规摄像、监视器、教育器材或者医疗器械等需要对拍摄的图像信号进行处理的领域。To solve the problems of high hardware cost and long image signal processing time caused by the relative independence of each functional module in the traditional ISP, an image signal processing device 10 is provided in the embodiment of the present application, and the image signal processing device 10 combines each function The same or similar operations among the modules are integrated into a pixel classification module 11, which avoids the repeated execution process and does not require excessive hardware resources, reduces hardware costs, and also shortens the image signal processing time; wherein, the image The signal processing device 10 can be applied to fields that require processing of captured image signals, such as cameras, mobile terminals (such as mobile phones, tablets, or computers), vehicle-specific cameras, monitors, educational equipment, or medical equipment.
请参照图1,为本申请根据一示例性实施例示出第一种图像信号处理装置10的结构图。所述装置包括:像素分类模块11以及至少两个第一图像信号处理模块12(图1中以2个第一图像信号处理模块12为例进行说明);其中,在所述像素分类模块11之后,至少两个第一图像信号处理模块12依次连接。Please refer to FIG. 1, which shows a structural diagram of a first image signal processing apparatus 10 according to an exemplary embodiment of this application. The device includes: a pixel classification module 11 and at least two first image signal processing modules 12 (in FIG. 1, two first image signal processing modules 12 are taken as an example for illustration); wherein, after the pixel classification module 11 , At least two first image signal processing modules 12 are connected in sequence.
所述像素分类模块11,用于对输入的图像中的每个像素进行分类,生成若干分类信息,并将所述输入的图像及若干分类信息传输给与其连接的第一图像信号处理模块12;所述分类信息用于表征该像素的图像特征。The pixel classification module 11 is used to classify each pixel in the input image, generate some classification information, and transmit the input image and some classification information to the first image signal processing module 12 connected to it; The classification information is used to characterize the image characteristics of the pixel.
可以理解的是,本实施例对于所述分类信息的表示方式不做任何限制,可依据实际情况进行具体设置,在一个例子中所述分类信息可以以哈希数值或者哈希向量的方式表示,所述哈希数值包括但不限于整形数值以及浮点型数值等,所述哈希向量包括但不限于整形向量以及浮点型向量等; 在一个例子中,比如所述分类信息可以是整形数值序列:01011010101010或者1253716581651等,每一个位置可以表示某一类图像特征,该位置上具体的数值可以表示该类图像特征的具体含义,比如所述图像特征包括边缘特征以及平坦区特征,其中,第1个位置表示边缘特征,其中数值部分“0”表示有边缘,“1”表示无边缘;第2个位置表示平坦区特征,其中数值部分“0”表示平坦区,“1”表示非平坦区,如果存在分类信息为“01”,则表示该像素的图像特征为:有边缘且非平坦区。It is understandable that this embodiment does not impose any restrictions on the representation of the classification information, and can be specifically set according to actual conditions. In an example, the classification information can be expressed in the form of a hash value or a hash vector. The hash value includes, but is not limited to, an integer value and a floating point value, and the hash vector includes, but is not limited to, an integer vector, a floating point vector, etc.; in one example, for example, the classification information may be an integer value Sequence: 01011010101010 or 1253716581651, etc., each position can represent a certain type of image feature, and the specific value at this position can represent the specific meaning of this type of image feature. For example, the image feature includes edge features and flat area features. 1 position represents the edge feature, where the value part "0" means there is an edge, "1" means no edge; the second position means the flat area feature, where the value part "0" means the flat area, and "1" means the non-flat area , If the classification information is "01", it means that the image feature of the pixel is: there is an edge and a non-flat area.
在本实施例中,考虑到图像信号处理链路中大多数第一图像信号处理模块12需要知道输入的图像中每个像素的图像特征以决定对该像素执行对应的图像处理操作,而第一图像信号处理模块12中重复确定图像特征的过程不仅拉长了图像信号处理时长,重复的硬件资源也抬高了硬件成本,基于此,本申请实施例在所述图像信号处理装置10中设置所述像素分类模块11,所述像素分类模块11对输入的图像中的每个像素进行分类,生成每个像素的分类信息,所述分类信息表征该像素的图像特征,本实施例对于所述图像特征不做任何限制,可依据应用场景进行具体设置,例如所述图像特征可以包括以下至少一种或多种:边缘强度特征、边缘方向特征、平坦区特征、纹理特征、颜色特征、孤立点特征以及领域特征;作为一个例子,比如该图像中的像素总共分为3类,第1类表征该像素非边缘、处于平坦区、无纹理且非孤立点,第2类表征该像素是弱边缘且0°方向、非平坦区、有纹理且非孤立点;3类表征该像素是强边缘且90°方向、非平坦区、有纹理且非孤立点等;本实施例通过在像素分类模块11中对像素进行分类并将生成的分类信息传输给第一图像信号处理模块12,使得所述第一图像信号处理模块12无需再重复进行相同或者相似的图像特征确定过程,其可直接基于所述若干分类信息确定各个像素应该执行的图像处理操作。In this embodiment, considering that most of the first image signal processing module 12 in the image signal processing link needs to know the image characteristics of each pixel in the input image to decide to perform the corresponding image processing operation on the pixel, and the first The process of repeatedly determining image features in the image signal processing module 12 not only lengthens the image signal processing time, but the repeated hardware resources also increase the hardware cost. Based on this, the embodiment of the present application sets all the image signals in the image signal processing device 10 The pixel classification module 11, the pixel classification module 11 classifies each pixel in the input image, and generates classification information for each pixel. The classification information represents the image characteristics of the pixel. This embodiment is for the image The features are not limited and can be specifically set according to the application scenario. For example, the image features can include at least one or more of the following: edge strength features, edge direction features, flat area features, texture features, color features, isolated point features And domain features; as an example, for example, the pixels in the image are divided into 3 categories, the first category represents the pixel is non-edge, in a flat area, no texture and non-isolated points, the second category represents the pixel is a weak edge and 0° direction, non-flat area, textured and non-isolated dots; 3 types characterize that the pixel is a strong edge and 90° direction, non-flat area, textured and non-isolated dots, etc.; in this embodiment, the pixel classification module 11 The pixels are classified and the generated classification information is transmitted to the first image signal processing module 12, so that the first image signal processing module 12 does not need to repeat the same or similar image feature determination process, which can be directly based on the several image features. The classification information determines the image processing operations that each pixel should perform.
在一种可能的实现方式中,所述像素分类模块11对于输入的图像中 的每个像素,基于所述像素以及所述像素的邻域像素进行分类,生成该像素的分类信息,所述分类信息用于表征该像素的图像特征,本实施例对于所述图像特征不做任何限制,可依据实际情况进行具体设置,比如所述图像特征可以是边缘强度特征、边缘方向特征、平坦程度、纹理丰富程度、是否存在孤立点以及邻域特征等;其中,所述邻域特征可以是指定邻域的图像特征,比如可以是小领域(比如3×3)的图像特征和大邻域(比如7×7)的图像特征;作为其中一个例子,所述像素分类模块11可以基于所述像素以及像素的邻域像素的灰度变化情况进行分类,生成该像素的分类信息。In a possible implementation manner, the pixel classification module 11 classifies each pixel in the input image based on the pixel and the neighboring pixels of the pixel, and generates classification information of the pixel. The information is used to characterize the image characteristics of the pixel. This embodiment does not impose any restrictions on the image characteristics, and can be specifically set according to the actual situation. For example, the image characteristics may be edge strength characteristics, edge direction characteristics, flatness, and texture. Richness, whether there are isolated points, and neighborhood features, etc.; wherein, the neighborhood feature can be an image feature of a designated neighborhood, for example, it can be an image feature of a small area (such as 3×3) and a large neighborhood (such as 7 ×7) image features; as an example, the pixel classification module 11 may classify the pixels and the gray changes of the pixels in the neighborhood of the pixel to generate classification information of the pixel.
在一个例子中,所述像素分类模块11可以基于所述像素以及像素的邻域像素计算每个像素的水平方向以及垂直方向上的梯度矩阵,然后基于所述梯度矩阵确定所述像素的梯度方向、幅值以及相关度,再根据梯度方向、幅值以及相关度进行分类,得到所述像素的分类信息,比如输入的图像总共分为N(N≥1)类,每一类用不同的哈希数值或哈希向量表示,设其中一个像素的梯度方向为t,幅值为s,相关性为c,则该像素块属于第K(1≤K≤N)类的充分必要条件为:tl k≤f(t)<tr k且sl k≤f(s)<sr k且cl k≤f(c)<cr k,其中,tl k,tr k,sl k,sr k,cl k,cr k为预先设置的参数,可依据实际情况进行具体设置,本实施例对此不做任何限制,f(t),f(s),f(c)分别为梯度方向、幅值以及相关度的函数。 In an example, the pixel classification module 11 may calculate the horizontal and vertical gradient matrices of each pixel based on the pixels and the neighboring pixels of the pixel, and then determine the gradient direction of the pixel based on the gradient matrix. , Amplitude and correlation, and then classify according to the gradient direction, amplitude and correlation to obtain the classification information of the pixel. For example, the input image is divided into N (N≥1) categories in total, and each category uses a different Ha Greek value or hash vector representation, assuming that the gradient direction of one of the pixels is t, the amplitude is s, and the correlation is c, the necessary and sufficient conditions for the pixel block to belong to the Kth (1≤K≤N) category are: tl k ≤f(t)<tr k and sl k ≤f(s)<sr k and cl k ≤f(c)<cr k , where tl k , tr k , sl k , sr k , cl k , cr k is a preset parameter, which can be specifically set according to the actual situation. This embodiment does not impose any restrictions on this. f(t), f(s), f(c) are respectively the gradient direction, amplitude and correlation degree. function.
在另一种可能的实现方式中,所述像素分类模块11对于输入的图像中的每个像素,基于所述像素、所述像素的邻域像素以及指定的图像信息进行分类,生成该像素的分类信息,所述分类信息用于表征该像素的图像特征;其中,本申请实施例对于所述图像信息不做任何限制,可依据实际情况进行具体设置,例如所述图像信息可以包括但不限于感光度(ISO值)等曝光参数。In another possible implementation manner, the pixel classification module 11 classifies each pixel in the input image based on the pixel, the neighboring pixels of the pixel, and specified image information, and generates the pixel's Classification information, the classification information is used to characterize the image characteristics of the pixel; wherein, the embodiment of the present application does not impose any restriction on the image information, and can be specifically set according to actual conditions. For example, the image information may include but is not limited to Exposure parameters such as sensitivity (ISO value).
所述第一图像信号处理模块12,用于接收所述像素分类模块11或 者上一个第一图像信号处理模块12输入的图像以及所述若干分类信息;基于所述若干分类信息,对输入的图像中的像素执行相应的图像处理操作,并将生成的图像及所述若干分类信息传输给下一个第一图像信号处理模块12。The first image signal processing module 12 is configured to receive the image input by the pixel classification module 11 or the previous first image signal processing module 12 and the plurality of classification information; based on the plurality of classification information, the input image The pixels in the image processing unit perform corresponding image processing operations, and transmit the generated image and the plurality of classification information to the next first image signal processing module 12.
在一个例子中,所述第一图像信号处理模块12包括但不限于:坏点矫正模块、黑电平矫正模块、阴影矫正模块、白平衡矫正模块、去马赛克模块,颜色矫正模块、亮度调整模块、降噪模块以及锐化模块;所述坏点矫正模块用于消除像素阵列中与周围像素点的变化表现出明显不同的像素;所述黑电平矫正模块用于从输入的图像信号中减去暗电流信号;所述阴影矫正模块用于补偿周边像素的亮度损失;所述白平衡矫正模块用于去除环境光的影响;所述去马赛克模块用于重建出完整色彩;所述颜色矫正模块用于修正颜色偏差;所述亮度调整模块用于调整整体或局部亮度;所述降噪模块以及锐化模块用于还原图像的相关细节。In an example, the first image signal processing module 12 includes but is not limited to: a dead pixel correction module, a black level correction module, a shadow correction module, a white balance correction module, a demosaicing module, a color correction module, and a brightness adjustment module , A noise reduction module and a sharpening module; the dead pixel correction module is used to eliminate pixels in the pixel array that are significantly different from the surrounding pixel points; the black level correction module is used to subtract from the input image signal The dark current signal is removed; the shadow correction module is used to compensate for the brightness loss of surrounding pixels; the white balance correction module is used to remove the influence of ambient light; the demosaicing module is used to reconstruct a complete color; the color correction module It is used to correct color deviation; the brightness adjustment module is used to adjust overall or partial brightness; the noise reduction module and the sharpening module are used to restore relevant details of the image.
其中,所述第一图像信号处理模块12中存储有分类信息与图像处理操作的对应关系,在一个例子中,在一个第一图像处理模块中,比如图像中的像素总共分为2类,第1类对应3×3的卷积核,第2类对应6×6的卷积核;需要说明的是,不同的第一图像信号处理模块12存储的分类信息与图像处理操作的对应关系也有所不同,可依据所述第一图像信号处理模块12实际的图像处理功能进行具体设置;所述第一图像信号处理模块12在接收到所述像素分类模块11或者上一个第一图像信号处理模块12输入的图像以及所述若干分类信息之后,将所述若干分类信息作为索引,从所述对应关系中获取输入的图像中的每个像素对应的图像处理操作,并执行所述图像处理操作,生成发送至下一个第一图像信号处理模块12的图像,并且所述第一图像信号处理模块12将所述若干分类信息随同生成的图像一并发送给下一个第一图像信号处理模块12,使得下一个第一图像信号处理模块12能够基于所述若干分类信息对输入的图像直接执行相应的图像 处理操作。Wherein, the first image signal processing module 12 stores the correspondence between classification information and image processing operations. In an example, in a first image processing module, for example, the pixels in the image are divided into two categories. Type 1 corresponds to a 3×3 convolution kernel, and type 2 corresponds to a 6×6 convolution kernel; it should be noted that the correspondence between the classification information stored in the different first image signal processing module 12 and the image processing operation is also different. Different, specific settings can be made according to the actual image processing function of the first image signal processing module 12; the first image signal processing module 12 receives the pixel classification module 11 or the previous first image signal processing module 12 After the input image and the plurality of classification information, the plurality of classification information is used as an index, the image processing operation corresponding to each pixel in the input image is obtained from the corresponding relationship, and the image processing operation is executed to generate The image sent to the next first image signal processing module 12, and the first image signal processing module 12 sends the plurality of classification information along with the generated image to the next first image signal processing module 12, so that A first image signal processing module 12 can directly perform corresponding image processing operations on the input image based on the plurality of classification information.
本实施例中,所述若干分类信息随同图像并行传输到第一图像信号处理模块12,使得所述第一图像信号处理模块12无需再重复进行相同或者相似的步骤,其可直接基于所述若干分类信息对输入的图像中的各个像素执行相应的图像处理操作,减少了进行相同或者相似步骤的硬件资源,从而有效降低硬件成本,并且重复步骤的删减也有效减少了图像信号处理的时长,提高图像信号处理效率。In this embodiment, the several classification information is transmitted to the first image signal processing module 12 in parallel along with the image, so that the first image signal processing module 12 does not need to repeat the same or similar steps, which can be directly based on the several The classification information performs corresponding image processing operations on each pixel in the input image, which reduces hardware resources for the same or similar steps, thereby effectively reducing hardware costs, and the reduction of repeated steps also effectively reduces the length of image signal processing. Improve the efficiency of image signal processing.
可以理解的是,本申请对于所述对应关系的存储方式不做任何限制,可依据实际情况进行具体设置,例如所述对应关系可以以哈希表格式进行存储,所述哈希表包括一个或多个键值对关系,其中以所述分类信息作为哈希键,所述图像处理操作作为哈希值的键值对关系进行存储;其中,所述键值对关系可以基于人工经验设计得到,也可以通过智能学习算法获得,所述智能学习算法可以是机器学习算法诸如随机森林模型、决策树模型等,也可以是深度学习算法诸如神经网络模型等,还可以是其他的算法比如最小二乘法等,在一个例子中,可以获取键值对关系样本(包括哈希键样本和哈希值样本),将所述键值对关系样本中的哈希键样本输入指定模型(比如随机森林模型)中,得到所述指定模型的预测结果,根据所述指定模型的预测结果与所述键值对关系样本中的哈希值样本之间的差异,调整所述指定模型的参数,得到训练完成的模型,从而可以将任意哈希键输入训练完成的模型中,获取相应的哈希值,从而得到键值对关系,从而有效减少人工调试的过程,提升开发效率。It is understandable that this application does not impose any restrictions on the storage method of the corresponding relationship, and can be specifically set according to actual conditions. For example, the corresponding relationship may be stored in a hash table format, and the hash table includes one or A plurality of key-value pair relationships, wherein the classification information is used as a hash key, and the image processing operation is stored as a key-value pair relationship of the hash value; wherein, the key-value pair relationship can be designed based on human experience, It can also be obtained through an intelligent learning algorithm. The intelligent learning algorithm can be a machine learning algorithm such as a random forest model, a decision tree model, etc., a deep learning algorithm such as a neural network model, etc., or other algorithms such as least squares. Etc., in an example, a key-value pair relationship sample (including a hash key sample and a hash value sample) can be obtained, and the hash key sample in the key-value pair relationship sample can be input into a specified model (such as a random forest model) In the process, the prediction result of the designated model is obtained, and the parameters of the designated model are adjusted according to the difference between the prediction result of the designated model and the hash value samples in the key-value pair relationship sample to obtain the training completed Model, so that any hash key can be input into the trained model to obtain the corresponding hash value, thereby obtaining the key-value pair relationship, thereby effectively reducing the manual debugging process and improving the development efficiency.
在一实施例中,不同的分类信息对应不同的图像处理操作,所述图像处理操作包括但不限于不同尺度的滤波器以及不同类型的图像处理函数,作为例子,所述第一图像信号处理模块12为图像去噪模块,所述图像去噪模块通过低通滤波方式实现图像平滑的目的,对于输入的图像中的每个像 素,基于其对应的分类信息,获取相应的平滑算子,不同的分类信息对应不同的平滑算子,比如若所述分类信息表征该像素处于平坦区,则对应的图像处理操作可以是无向性平滑算子;若所述分类信息表征该像素处于纹理区,则对应的图像处理操作可以是方向性平滑算子。In an embodiment, different classification information corresponds to different image processing operations. The image processing operations include, but are not limited to, filters of different scales and different types of image processing functions. As an example, the first image signal processing module 12 is an image denoising module. The image denoising module achieves the purpose of image smoothing through low-pass filtering. For each pixel in the input image, based on its corresponding classification information, the corresponding smoothing operator is obtained. The classification information corresponds to different smoothing operators. For example, if the classification information indicates that the pixel is in a flat area, the corresponding image processing operation may be a non-directional smoothing operator; if the classification information indicates that the pixel is in the texture area, then The corresponding image processing operation can be a directional smoothing operator.
需要说明的是,本申请实施例对于所述像素分类模块11在所述图像信号处理装置10中的具体位置不做任何限制,可依据实际情况进行具体设置。It should be noted that the embodiment of the present application does not impose any restriction on the specific position of the pixel classification module 11 in the image signal processing device 10, and specific settings can be made according to actual conditions.
在一实施例中,请参阅图2,为本申请根据一示例性实施例示出第二种图像信号处理装置10的结构图,所述像素分类模块11位于图像信号处理装置10的图像信号处理链路中的首位,所述像素分类模块11直接与图像传感器20连接,所述图像传感器20用于采集图像并传输给所述像素分类模块11,使得所述像素分类模块11能够对输入的图像中的每个像素进行分类,生成每个像素对应的分类信息,所述分类信息用于表征该像素的图像特征,以便后续的第一图像信号处理模块12无需再重复进行相同或者相似的步骤;其中,所述图像传感器20可以是CMOS图像传感器20或者CCD图像传感器20,所述图像传感器20将捕捉的光源信号转化为数字信号,完成图像的采集。In an embodiment, please refer to FIG. 2, which shows a structure diagram of a second image signal processing device 10 according to an exemplary embodiment of this application. The pixel classification module 11 is located in the image signal processing chain of the image signal processing device 10 At the top of the road, the pixel classification module 11 is directly connected to the image sensor 20, and the image sensor 20 is used to collect images and transmit them to the pixel classification module 11, so that the pixel classification module 11 can analyze the input image Classify each pixel of the pixel to generate classification information corresponding to each pixel, and the classification information is used to characterize the image characteristics of the pixel, so that the subsequent first image signal processing module 12 does not need to repeat the same or similar steps; wherein The image sensor 20 may be a CMOS image sensor 20 or a CCD image sensor 20, and the image sensor 20 converts the captured light source signal into a digital signal to complete image collection.
在另一实施例中,请参阅图3,为本申请根据一示例性实施例示出第三种图像信号处理装置10的结构图(图3中以2个第二图像信号处理模块13为例进行举例说明),所述像素分类模块11可以置于无需确定像素的图像特征的第二图像信号处理模块13之后,所述图像信号处理装置10还包括一个第二图像信号处理模块13或多个依次连接的第二图像信号处理模块13,所述像素分类模块11通过所述一个或多个第二图像信号处理模块13与图像传感器20连接,以接收所述图像传感器20通过所述一个或多个第二图像信号处理模块13传输的图像;其中,所述第二图像信号处理模 块13用于对输入的图像执行相应的图像信号处理操作。In another embodiment, please refer to FIG. 3, which shows a structure diagram of a third image signal processing device 10 according to an exemplary embodiment of this application (in FIG. 3, two second image signal processing modules 13 are taken as an example. For example), the pixel classification module 11 may be placed after the second image signal processing module 13 that does not need to determine the image characteristics of the pixels, and the image signal processing device 10 further includes one second image signal processing module 13 or multiple sequential image signal processing modules 13 Connected to the second image signal processing module 13, the pixel classification module 11 is connected to the image sensor 20 through the one or more second image signal processing modules 13 to receive the image sensor 20 through the one or more The image transmitted by the second image signal processing module 13; wherein the second image signal processing module 13 is used to perform corresponding image signal processing operations on the input image.
在一个例子中,所述第二图像信号处理模块13包括坏点矫正模块(作用:消除像素阵列中与周围像素点的变化表现出明显不同的像素)、黑电平矫正模块(作用:从输入的图像信号中减去暗电流信号)、阴影矫正模块(作用:补偿周边像素的亮度损失)以及白平衡矫正模块(作用:去除环境光的影响),所述第一图像信号处理模块12包括马赛克模块(作用:重建出完整色彩)、颜色矫正模块(作用:修正颜色偏差)、噪声去除模块(作用:还原图像的相关细节)、锐化模块(作用:还原图像的相关细节);则所述图像传感器20与所述图像信号处理装置10中的各个模块的连接顺序依次是:图像传感器20→坏点矫正模块→黑电平矫正模块→阴影矫正模块→白平衡矫正模块→所述像素分类模块11→马赛克模块→颜色矫正模块→噪声去除模块→锐化模块。In one example, the second image signal processing module 13 includes a dead pixel correction module (function: eliminates pixels that are significantly different from the surrounding pixels in the pixel array), a black level correction module (function: input from The dark current signal is subtracted from the image signal), a shadow correction module (function: to compensate for the brightness loss of surrounding pixels), and a white balance correction module (function: to remove the influence of ambient light). The first image signal processing module 12 includes a mosaic Module (function: rebuild the complete color), color correction module (function: correct color deviation), noise removal module (function: restore the relevant details of the image), sharpening module (function: restore the relevant details of the image); then The sequence of connection between the image sensor 20 and each module in the image signal processing device 10 is: image sensor 20→dead pixel correction module→black level correction module→shadow correction module→white balance correction module→the pixel classification module 11→Mosaic module→Color correction module→Noise removal module→Sharp module.
在一实施例中,考虑到若输入的图像是高分率图像,某些第一图像信号处理模块12对于该高分辨率图像的处理效果不佳,比如噪声去除模块中需要对图像进行滤波处理,而噪声去除模块中的滤波器的尺度大小是固定,若输入的图像是高分辨图像,其包含的像素较多,所述噪声去除模块可能无法对高分辨图像中的噪声进行充分地识别,从而无法还原图像细节,需要对输入的图像进行下采样处理,减少像素数量,基于此,所述图像信号处理装置10还包括下采样模块14,所述下采样模块14用于对所述图像传感器20采集的图像进行一次或多次下采样处理,并将生成的大尺度图像传输给与其连接的所述像素分类模块11,使得所述像素分类模块11可以对所述大尺度图像中的每个像素进行分类,获取每个像素的分类信息,从而保证了需要对大尺度图像进行处理的第一图像信号处理模块12也无需重复进行相同或相似的下采样处理步骤以及图像特征确定步骤,不仅减少了图像信号处理时间,而且也减少了硬件支出成本。In one embodiment, considering that if the input image is a high-resolution image, some of the first image signal processing module 12 has a poor processing effect on the high-resolution image, for example, the image needs to be filtered in the noise removal module. , And the size of the filter in the noise removal module is fixed. If the input image is a high-resolution image, it contains more pixels, the noise removal module may not be able to fully identify the noise in the high-resolution image. Therefore, the image details cannot be restored, and the input image needs to be down-sampled to reduce the number of pixels. Based on this, the image signal processing device 10 further includes a down-sampling module 14, which is used to perform a down-sampling on the image sensor. 20. Perform one or more down-sampling processing on the collected image, and transmit the generated large-scale image to the pixel classification module 11 connected to it, so that the pixel classification module 11 can analyze each of the large-scale images. Pixels are classified and the classification information of each pixel is obtained, thereby ensuring that the first image signal processing module 12 that needs to process large-scale images does not need to repeat the same or similar down-sampling processing steps and image feature determination steps, which not only reduces The image signal processing time is reduced, and the hardware expenditure cost is also reduced.
在一种实现方式中,请参阅图4,为本申请根据一示例性实施例示出第四种图像信号处理装置10的结构图,所述图像传感器20将采集的图像传输给所述下采样模块14以及所述像素分类模块11,所述下采样模块14对输入的图像进行一次或多次下采样处理,并将生成的大尺度图像传输给与其连接的所述像素分类模块11,即是说,所述像素分类模块11可以对所述图像传感器20采集的图像以及所述下采样模块14生成的大尺度图像进行分类处理。In an implementation manner, please refer to FIG. 4, which shows a structure diagram of a fourth image signal processing device 10 according to an exemplary embodiment of this application. The image sensor 20 transmits the collected image to the down-sampling module. 14 and the pixel classification module 11, the down-sampling module 14 performs one or more down-sampling processing on the input image, and transmits the generated large-scale image to the pixel classification module 11 connected to it, that is to say The pixel classification module 11 may perform classification processing on the image collected by the image sensor 20 and the large-scale image generated by the down-sampling module 14.
另外,所述图像传感器20实时将采集的当前图像传输给所述下采样模块14以及所述像素分类模块11,考虑到下采样处理过程需要一定的处理时间,所述像素分类模块11在对当前图像的像素进行分类获取若干分类信息之后,若等待当前图像经过下采样处理后的大尺度图像,再对其分类处理后传输,这个过程会耗费过多无效的等待时间,导致图像信号处理的延时加长,降低了图像信号处理效率,在本实施例,发明人发现,在图像传感器20将当前采集的图像传输至所述像素分类模块11的时候,在指定时间范围内(小于等待时间),所述下采样模块14也将所述图像传感器20上一次采集的图像下采样处理完并将生成的大尺度图像发送至所述像素分类模块11,考虑到图像传感器20采集的相邻图像之间的差别较小,所述像素分类模块11可以对所述图像传感器20当前采集的图像、以及所述图像传感器20上一次采集的经过下采样处理的大尺度图像分别进行分类处理,生成分别对应于两张图像的若干分类信息,然后一并传输给与其连接的第一图像信号处理模块12,从而有效节省了等待时间,提高图像信号处理效率。In addition, the image sensor 20 transmits the collected current image to the down-sampling module 14 and the pixel classification module 11 in real time. Considering that the down-sampling process requires a certain processing time, the pixel classification module 11 is After the pixels of the image are classified to obtain certain classification information, if you wait for the large-scale image after the down-sampling process of the current image, and then classify and transmit it, this process will consume too much and invalid waiting time, resulting in the delay of image signal processing. The time is longer, which reduces the efficiency of image signal processing. In this embodiment, the inventor found that when the image sensor 20 transmits the currently collected image to the pixel classification module 11, within a specified time range (less than the waiting time), The down-sampling module 14 also finishes down-sampling the image collected last time by the image sensor 20 and sends the generated large-scale image to the pixel classification module 11. The pixel classification module 11 can classify the image currently collected by the image sensor 20 and the down-sampling large-scale image collected last time by the image sensor 20, respectively. Several classification information of the two images are then transmitted to the first image signal processing module 12 connected thereto, thereby effectively saving waiting time and improving image signal processing efficiency.
在另一种实现方式中,请参阅图5,为本申请根据一示例性实施例示出第五种图像信号处理装置10的结构图,所述图像传感器20通过一个或多个第二图像信号处理模块13将采集的图像传输给所述下采样模块14 以及所述像素分类模块11,即所述图像传感器采集的图像经每个第二图像信号处理模块13处理之后,由最后一个第二图像信号处理模块13输出至所述下采样模块14以及所述像素分类模块11,所述下采样模块14对输入的图像进行一次或多次下采样处理,并将生成的大尺度图像传输给与其连接的所述像素分类模块11;其中,输入所述像素分类模块11的图像包括:所述图像传感器20当前采集的图像、及上一次采集的经过下采样处理后的大尺度图像,所述图像分类模块将生成的分别对应于上述两张图像的若干分类信息一并传输给与其连接的第一图像信号处理模块12,有利于缩短等待时间,提高图像信号处理效率。In another implementation manner, please refer to FIG. 5, which shows a structure diagram of a fifth image signal processing apparatus 10 according to an exemplary embodiment of this application. The image sensor 20 is processed by one or more second image signals. The module 13 transmits the collected image to the down-sampling module 14 and the pixel classification module 11, that is, the image collected by the image sensor is processed by each second image signal processing module 13, and then is processed by the last second image signal The processing module 13 outputs to the down-sampling module 14 and the pixel classification module 11. The down-sampling module 14 performs one or more down-sampling processing on the input image, and transmits the generated large-scale image to the connected The pixel classification module 11; wherein, the image input to the pixel classification module 11 includes: the image currently collected by the image sensor 20 and the last large-scale image collected after the down-sampling process, the image classification module The generated classification information corresponding to the above two images is transmitted together to the first image signal processing module 12 connected thereto, which is beneficial to shorten the waiting time and improve the efficiency of image signal processing.
在一实施例中,考虑到需要所述大尺度图像对应的若干分类信息的第一图像信号处理模块12较少,若所述大尺度图像对应的若干分类信息在图像处理链路中一并传输,可能会耗费过多的传输资源,因此,所述图像信号处理装置10还可以包括存储模块15,请参阅图6,为本申请根据一示例性实施例示出第六种图像信号处理装置10的结构图,所述存储模块15与所述像素分类模块11连接,所述像素分类模块11还用于将与所述大尺度图像对应的若干分类信息存储至所述存储模块15;所述第一图像信号处理模块12还用于从所述存储模块15获取所述若干分类信息,基于所述若干分类信息对输入的图像执行相应的图像处理操作;本实施例中,需要基于大尺度图像对应的若干分类信息进行处理的第一图像信号处理模块12,可以直接从所述存储模块15中获取所述若干分类信息,从而有效节省了大尺度图像对应的若干分类信息在图像处理链路中传输的传输资源。In an embodiment, considering that there are fewer first image signal processing modules 12 that require a plurality of classification information corresponding to the large-scale image, if the plurality of classification information corresponding to the large-scale image is transmitted together in the image processing link , It may consume too much transmission resources. Therefore, the image signal processing device 10 may further include a storage module 15. Please refer to FIG. 6, which shows a sixth image signal processing device 10 according to an exemplary embodiment of this application. In a structural diagram, the storage module 15 is connected to the pixel classification module 11, and the pixel classification module 11 is also used to store some classification information corresponding to the large-scale image in the storage module 15; the first The image signal processing module 12 is also configured to obtain the plurality of classification information from the storage module 15, and perform corresponding image processing operations on the input image based on the plurality of classification information; in this embodiment, it needs to be based on the large-scale image corresponding The first image signal processing module 12 for processing a number of classification information can directly obtain the plurality of classification information from the storage module 15, thereby effectively saving the transmission of a number of classification information corresponding to large-scale images in the image processing link. Transmission resources.
相应的,请参阅图7,为本申请根据一示例性实施例示出一种图像信号处理方法的流程图,所述图像信号应用于图像信号处理装置,所述图像信号处理装置包括像素分类模块以及至少两个第一图像信号处理模块;所述方法包括:Correspondingly, please refer to FIG. 7, which shows a flowchart of an image signal processing method according to an exemplary embodiment of this application. The image signal is applied to an image signal processing device, and the image signal processing device includes a pixel classification module and At least two first image signal processing modules; the method includes:
在步骤S101中,在所述像素分类模块中,对输入的图像中的每个像素进行分类,生成若干分类信息;所述分类信息用于表征该像素的图像特征。In step S101, in the pixel classification module, each pixel in the input image is classified to generate several classification information; the classification information is used to characterize the image characteristics of the pixel.
在步骤S102中,在所述第一图像信号处理模块中,接收所述像素分类模块或者上一个第一图像信号处理模块输入的图像以及所述若干分类信息,基于所述若干分类信息,对输入的图像中的像素执行相应的图像处理操作,并将生成的图像及所述若干分类信息传输给下一个第一图像信号处理模块。In step S102, in the first image signal processing module, the image input by the pixel classification module or the previous first image signal processing module and the plurality of classification information are received, and based on the plurality of classification information, the input The pixels in the image perform corresponding image processing operations, and transmit the generated image and the plurality of classification information to the next first image signal processing module.
在一实施例中,所述分类信息通过以下任意一种方式表示:哈希数值或哈希向量。In an embodiment, the classification information is expressed in any of the following ways: a hash value or a hash vector.
在一实施例中,所述图像特征包括以下至少一种或多种:边缘强度特征、边缘方向特征、平坦区特征、纹理特征、颜色特征、孤立点特征以及领域特征。In an embodiment, the image features include at least one or more of the following: edge strength features, edge direction features, flat area features, texture features, color features, isolated point features, and domain features.
在一实施例中,所述步骤S102包括:将所述若干分类信息作为索引,从预存的对应关系中获取输入的图像中的每个像素对应的图像处理操作,并执行所述图像处理操作;所述对应关系表示分类信息与图像处理操作的对应关系。In an embodiment, the step S102 includes: using the plurality of classification information as an index, obtaining an image processing operation corresponding to each pixel in the input image from a pre-stored correspondence relationship, and executing the image processing operation; The corresponding relationship represents the corresponding relationship between the classification information and the image processing operation.
在一实施例中,所述对应关系以哈希表格式进行存储。In an embodiment, the correspondence relationship is stored in a hash table format.
所述哈希表包括一个或多个键值对关系;其中以所述分类信息作为哈希键,所述图像处理操作作为哈希值的键值对关系进行存储。The hash table includes one or more key-value pair relationships; wherein the classification information is used as a hash key, and the image processing operation is stored as a key-value pair relationship of the hash value.
在一实施例中,所述图像处理操作包括不同尺度的滤波器以及不同类型的图像处理函数。In an embodiment, the image processing operation includes filters of different scales and different types of image processing functions.
在一实施例中,所述步骤S101包括:对于输入的图像中的每个像素,基于所述像素以及所述像素的邻域像素进行分类,生成该像素的分类信息。In an embodiment, the step S101 includes: for each pixel in the input image, classify based on the pixel and the neighboring pixels of the pixel, and generate classification information of the pixel.
在一实施例中,所述输入的图像从图像传感器获取。In an embodiment, the input image is obtained from an image sensor.
在一实施例中,还包括:对所述图像传感器采集的图像进行一次或 多次下采样处理,生成大尺度图像。In an embodiment, the method further includes: performing one or more down-sampling processing on the image collected by the image sensor to generate a large-scale image.
在一实施例中,进行分类的图像包括:所述图像传感器当前采集的图像、及上一次采集的经过下采样处理后的大尺度图像。In an embodiment, the images to be classified include: the image currently collected by the image sensor and the large-scale image collected last time after the down-sampling process.
在一实施例中,还包括:存储与所述大尺度图像对应的若干分类信息,以使所述第一图像信号处理模块获取存储的所述若干分类信息,基于所述若干分类信息对输入的图像执行相应的图像处理操作。In an embodiment, the method further includes: storing a plurality of classification information corresponding to the large-scale image, so that the first image signal processing module obtains the plurality of stored classification information, and compares the input information based on the plurality of classification information. The image performs the corresponding image processing operation.
在一实施例中,所述第一图像信号处理模块包括以下至少一种或多种:坏点矫正模块、黑电平矫正模块、阴影矫正模块、白平衡矫正模块、去马赛克模块,颜色矫正模块、亮度调整模块、降噪模块以及锐化模块。In an embodiment, the first image signal processing module includes at least one or more of the following: a dead pixel correction module, a black level correction module, a shadow correction module, a white balance correction module, a demosaicing module, and a color correction module , Brightness adjustment module, noise reduction module and sharpening module.
对于方法实施例而言,由于其基本对应于装置实施例,所以相关之处参见装置实施例的部分说明即可,在此不再赘述。As for the method embodiment, since it basically corresponds to the device embodiment, for the relevant parts, please refer to the part of the description of the device embodiment, which will not be repeated here.
相应的,请参阅图8,本申请实施例还提供了一种相机100,包括:Correspondingly, referring to FIG. 8, an embodiment of the present application also provides a camera 100, including:
外壳30。壳30。 30.
镜头组件40,设于所述外壳30内部。The lens assembly 40 is arranged inside the housing 30.
图像传感器20,设于所述外壳30内部,用于感知通过所述镜头组件的光并生成电信号。The image sensor 20 is arranged inside the housing 30 and is used to sense light passing through the lens assembly and generate electrical signals.
以及上述图像信号处理装置10,用于对所述电信号进行处理。And the above-mentioned image signal processing device 10 is used to process the electrical signal.
本领域技术人员可以理解,图8仅仅是相机100的示例,并不构成对相机100的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如相机100还可以包括网络接入设备等。Those skilled in the art can understand that FIG. 8 is only an example of the camera 100 and does not constitute a limitation on the camera 100. It may include more or less components than those shown in the figure, or a combination of certain components, or different components, such as The camera 100 may also include a network access device and the like.
相应的,请参阅图9,本申请实施例还提供了一种可移动平台001,包括:Correspondingly, please refer to FIG. 9. An embodiment of the present application also provides a movable platform 001, including:
机体02。 Body 02.
动力系统03,安装在所述机体02内,用于为所述可移动平台001提供动力。The power system 03 is installed in the body 02 and is used to provide power to the movable platform 001.
以及上述的相机100。And the aforementioned camera 100.
在一实施例中,所述可移动平台可以是无人机、无人车或者无人船。In an embodiment, the movable platform may be an unmanned aerial vehicle, an unmanned vehicle or an unmanned ship.
本领域技术人员可以理解,图9仅仅是可移动平台001的示例,并不构成对可移动平台001的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如可移动平台001还可以包括输入输出设备、网络接入设备等;可以理解的是,所述相机100可以固定安装在所述可移动平台001上,也可以以可拆卸的方式安装在所述可移动平台001上,本申请实施例对此不做任何限制。Those skilled in the art can understand that FIG. 9 is only an example of the movable platform 001, and does not constitute a limitation on the movable platform 001. It may include more or less components than shown in the figure, or combine certain components, or different For example, the movable platform 001 may also include input and output devices, network access equipment, etc.; it is understandable that the camera 100 can be fixedly installed on the movable platform 001, or can be installed in a detachable manner On the movable platform 001, the embodiment of the present application does not impose any restriction on this.
以上对本发明实施例所提供的方法和装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The methods and devices provided by the embodiments of the present invention are described in detail above. Specific examples are used in this article to illustrate the principles and implementations of the present invention. The descriptions of the above embodiments are only used to help understand the methods and methods of the present invention. The core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and the scope of application. In summary, the content of this specification should not be construed as a limitation of the present invention .

Claims (28)

  1. 一种图像信号处理装置,其特征在于,包括像素分类模块以及至少两个第一图像信号处理模块;An image signal processing device, characterized by comprising a pixel classification module and at least two first image signal processing modules;
    在所述像素分类模块之后,至少两个第一图像信号处理模块依次连接;After the pixel classification module, at least two first image signal processing modules are connected in sequence;
    所述像素分类模块,用于对输入的图像中的每个像素进行分类,生成若干分类信息,并将所述输入的图像及若干分类信息传输给与其连接的第一图像信号处理模块;所述分类信息用于表征该像素的图像特征;The pixel classification module is used to classify each pixel in the input image, generate a number of classification information, and transmit the input image and a number of classification information to the first image signal processing module connected to it; The classification information is used to characterize the image characteristics of the pixel;
    所述第一图像信号处理模块,用于接收所述像素分类模块或者上一个第一图像信号处理模块输入的图像以及所述若干分类信息;基于所述若干分类信息,对输入的图像中的像素执行相应的图像处理操作,并将生成的图像及所述若干分类信息传输给下一个第一图像信号处理模块。The first image signal processing module is configured to receive the image input by the pixel classification module or the previous first image signal processing module and the plurality of classification information; based on the plurality of classification information, the pixels in the input image Perform a corresponding image processing operation, and transmit the generated image and the plurality of classification information to the next first image signal processing module.
  2. 根据权利要求1所述的装置,其特征在于,所述分类信息通过以下任意一种方式表示:哈希数值或哈希向量。The device according to claim 1, wherein the classification information is expressed in any of the following ways: a hash value or a hash vector.
  3. 根据权利要求1所述的装置,其特征在于,所述第一图像信号处理模块中存储有分类信息与图像处理操作的对应关系;The device according to claim 1, wherein the first image signal processing module stores a correspondence between classification information and image processing operations;
    所述第一图像信号处理模块还用于将所述若干分类信息作为索引,从所述对应关系中获取输入的图像中的每个像素对应的图像处理操作。The first image signal processing module is further configured to use the plurality of classification information as an index to obtain an image processing operation corresponding to each pixel in the input image from the correspondence relationship.
  4. 根据权利要求3所述的装置,其特征在于,所述对应关系以哈希表格式进行存储;The device according to claim 3, wherein the corresponding relationship is stored in a hash table format;
    所述哈希表包括一个或多个键值对关系;其中以所述分类信息作为哈希键,所述图像处理操作作为哈希值的键值对关系进行存储。The hash table includes one or more key-value pair relationships; wherein the classification information is used as a hash key, and the image processing operation is stored as a key-value pair relationship of the hash value.
  5. 根据权利要求1所述的装置,其特征在于,所述图像处理操作包括不同尺度的滤波器以及不同类型的图像处理函数。The apparatus according to claim 1, wherein the image processing operation includes filters of different scales and different types of image processing functions.
  6. 根据权利要求1所述的装置,其特征在于,The device of claim 1, wherein:
    所述像素分类模块具体用于:对于输入的图像中的每个像素,基于所述像素以及所述像素的邻域像素进行分类,生成该像素的分类信息。The pixel classification module is specifically configured to: for each pixel in the input image, classify based on the pixel and the neighboring pixels of the pixel, and generate classification information of the pixel.
  7. 根据权利要求1所述的装置,其特征在于,所述像素分类模块与图像传感器连接,所述图像传感器用于采集图像并传输给所述像素分类模块。The device according to claim 1, wherein the pixel classification module is connected to an image sensor, and the image sensor is used to collect an image and transmit it to the pixel classification module.
  8. 根据权利要求1所述的装置,其特征在于,所述装置还包括一个第二图像信号处理模块或多个依次连接的第二图像信号处理模块;The device according to claim 1, wherein the device further comprises a second image signal processing module or a plurality of second image signal processing modules connected in sequence;
    所述像素分类模块通过所述一个或多个第二图像信号处理模块与图像传感器连接,以接收所述图像传感器通过所述一个或多个第二图像信号处理模块传输的图像。The pixel classification module is connected to the image sensor through the one or more second image signal processing modules to receive the image transmitted by the image sensor through the one or more second image signal processing modules.
  9. 根据权利要求7或8所述的装置,其特征在于,所述装置还包括所述下采样模块;The device according to claim 7 or 8, wherein the device further comprises the down-sampling module;
    所述下采样模块用于对所述图像传感器采集的图像进行一次或多次下采样处理,并将生成的大尺度图像传输给与其连接的所述像素分类模块。The down-sampling module is used to perform one or more down-sampling processing on the image collected by the image sensor, and transmit the generated large-scale image to the pixel classification module connected to it.
  10. 根据权利要求9所述的装置,其特征在于,输入所述像素分类模块的图像包括:所述图像传感器当前采集的图像、及上一次采集的经过下采样处理后的大尺度图像。9. The device according to claim 9, wherein the image input to the pixel classification module comprises: an image currently collected by the image sensor and a large-scale image collected last time after down-sampling processing.
  11. 根据权利要求10所述的装置,其特征在于,所述装置还包括存储模块;The device according to claim 10, wherein the device further comprises a storage module;
    所述像素分类模块,还用于将与所述大尺度图像对应的若干分类信息存储至所述存储模块;The pixel classification module is further configured to store some classification information corresponding to the large-scale image in the storage module;
    所述第一图像信号处理模块,还用于从所述存储模块获取所述若干分类信息,基于所述若干分类信息对输入的图像执行相应的图像处理操作。The first image signal processing module is further configured to obtain the plurality of classification information from the storage module, and perform corresponding image processing operations on the input image based on the plurality of classification information.
  12. 根据权利要求1所述的装置,其特征在于,所述第一图像信号处理模块包括以下至少一种或多种:The device according to claim 1, wherein the first image signal processing module comprises at least one or more of the following:
    坏点矫正模块、黑电平矫正模块、阴影矫正模块、白平衡矫正模块、去马赛克模块,颜色矫正模块、亮度调整模块、降噪模块以及锐化模块。Dead pixel correction module, black level correction module, shadow correction module, white balance correction module, demosaicing module, color correction module, brightness adjustment module, noise reduction module and sharpening module.
  13. 根据权利要求1所述的装置,其特征在于,所述图像特征包括以下至少一种或多种:The device according to claim 1, wherein the image feature includes at least one or more of the following:
    边缘强度特征、边缘方向特征、平坦区特征、纹理特征、颜色特征、孤立点特征以及领域特征。Edge strength feature, edge direction feature, flat area feature, texture feature, color feature, isolated point feature, and domain feature.
  14. 一种图像信号处理方法,其特征在于,应用于图像信号处理装置,所述图像信号处理装置包括像素分类模块以及至少两个第一图像信号处理模块;所述方法包括:An image signal processing method, characterized in that it is applied to an image signal processing device, the image signal processing device includes a pixel classification module and at least two first image signal processing modules; the method includes:
    在所述像素分类模块中,对输入的图像中的每个像素进行分类,生成若干分类信息;所述分类信息用于表征该像素的图像特征;In the pixel classification module, each pixel in the input image is classified to generate a number of classification information; the classification information is used to characterize the image characteristics of the pixel;
    在所述第一图像信号处理模块中,接收所述像素分类模块或者上一个第一图像信号处理模块输入的图像以及所述若干分类信息,基于所述若干分类信息,对输入的图像中的像素执行相应的图像处理操作,并将生成的图像及所述若干分类信息传输给下一个第一图像信号处理模块。In the first image signal processing module, the image input by the pixel classification module or the previous first image signal processing module and the plurality of classification information are received, and based on the plurality of classification information, the pixels in the input image Perform a corresponding image processing operation, and transmit the generated image and the plurality of classification information to the next first image signal processing module.
  15. 根据权利要求13所述的方法,其特征在于,所述分类信息通过以下任意一种方式表示:哈希数值或哈希向量。The method according to claim 13, wherein the classification information is expressed in any of the following ways: a hash value or a hash vector.
  16. 根据权利要求13所述的方法,其特征在于,所述图像特征包括以下至少一种或多种:The method according to claim 13, wherein the image feature includes at least one or more of the following:
    边缘强度特征、边缘方向特征、平坦区特征、纹理特征、颜色特征、孤立点特征以及领域特征。Edge strength feature, edge direction feature, flat area feature, texture feature, color feature, isolated point feature, and domain feature.
  17. 根据权利要求13所述的方法,其特征在于,所述基于所述若干分类信息,对输入的图像中的像素执行相应的图像处理操作,包括:The method according to claim 13, wherein the performing corresponding image processing operations on the pixels in the input image based on the plurality of classification information comprises:
    将所述若干分类信息作为索引,从预存的对应关系中获取输入的图像中的每个像素对应的图像处理操作,并执行所述图像处理操作;所述对应关系表示分类信息与图像处理操作的对应关系。Using the several classification information as an index, the image processing operation corresponding to each pixel in the input image is obtained from the pre-stored correspondence relationship, and the image processing operation is executed; the correspondence relationship represents the relationship between the classification information and the image processing operation Correspondence.
  18. 根据权利要求17所述的方法,其特征在于,所述对应关系以哈希表格式进行存储;The method according to claim 17, wherein the corresponding relationship is stored in a hash table format;
    所述哈希表包括一个或多个键值对关系;其中以所述分类信息作为哈希键,所述图像处理操作作为哈希值的键值对关系进行存储。The hash table includes one or more key-value pair relationships; wherein the classification information is used as a hash key, and the image processing operation is stored as a key-value pair relationship of the hash value.
  19. 根据权利要求13所述的方法,其特征在于,所述图像处理操作包括不同尺度的滤波器以及不同类型的图像处理函数。The method according to claim 13, wherein the image processing operation includes filters of different scales and different types of image processing functions.
  20. 根据权利要求13所述的方法,其特征在于,所述对输入的图像中的每个像素进行分类,生成若干分类信息,包括:The method according to claim 13, wherein the classifying each pixel in the input image to generate a number of classification information comprises:
    对于输入的图像中的每个像素,基于所述像素以及所述像素的邻域像素进行分类,生成该像素的分类信息。For each pixel in the input image, classification is performed based on the pixel and the neighboring pixels of the pixel, and classification information of the pixel is generated.
  21. 根据权利要求13所述的方法,其特征在于,所述输入的图像从图像传感器获取。The method according to claim 13, wherein the input image is obtained from an image sensor.
  22. 根据权利要求21所述的方法,其特征在于,还包括:The method according to claim 21, further comprising:
    对所述图像传感器采集的图像进行一次或多次下采样处理,生成大尺度图像。One or more down-sampling processing is performed on the image collected by the image sensor to generate a large-scale image.
  23. 根据权利要求22所述的方法,其特征在于,进行分类的图像包括:所述图像传感器当前采集的图像、及上一次采集的经过下采样处理后的大尺度图像。The method according to claim 22, wherein the images to be classified include: the image currently collected by the image sensor and the large-scale image collected last time after the down-sampling process.
  24. 根据权利要求23所述的方法,其特征在于,还包括:The method according to claim 23, further comprising:
    存储与所述大尺度图像对应的若干分类信息,以使所述第一图像信号处理模块获取存储的所述若干分类信息,基于所述若干分类信息对输入的图像执行相应的图像处理操作。A number of classification information corresponding to the large-scale image is stored, so that the first image signal processing module obtains the plurality of stored classification information, and performs a corresponding image processing operation on the input image based on the plurality of classification information.
  25. 根据权利要求13所述的方法,其特征在于,所述第一图像信号处理模块包括以下至少一种或多种:The method according to claim 13, wherein the first image signal processing module comprises at least one or more of the following:
    坏点矫正模块、黑电平矫正模块、阴影矫正模块、白平衡矫正模块、去马赛克模块,颜色矫正模块、亮度调整模块、降噪模块以及锐化模块。Dead pixel correction module, black level correction module, shadow correction module, white balance correction module, demosaicing module, color correction module, brightness adjustment module, noise reduction module and sharpening module.
  26. 一种相机,其特征在于,包括:A camera, characterized in that it comprises:
    外壳;shell;
    镜头组件,设于所述外壳内部;The lens assembly is arranged inside the housing;
    图像传感器,设于所述外壳内部,用于感知通过所述镜头组件的光并生成电信号;以及,An image sensor, arranged inside the housing, for sensing light passing through the lens assembly and generating an electrical signal; and,
    如权利要求1至13任意一项所述的图像信号处理装置。The image signal processing device according to any one of claims 1 to 13.
  27. 一种可移动平台,其特征在于,包括:A movable platform, characterized in that it comprises:
    机体;Body
    动力系统,安装在所述机体内,用于为所述可移动平台提供动力;以及,A power system installed in the body and used to provide power to the movable platform; and,
    以及如权利要求26所述的相机。And the camera of claim 26.
  28. 根据权利要求27所述的可移动平台,其特征在于,所述可移动平台包括无人机、无人车以及无人船。The movable platform according to claim 27, wherein the movable platform includes an unmanned aerial vehicle, an unmanned vehicle, and an unmanned ship.
PCT/CN2019/122084 2019-11-29 2019-11-29 Image signal processing apparatus and method, camera, and mobile platform WO2021102947A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/122084 WO2021102947A1 (en) 2019-11-29 2019-11-29 Image signal processing apparatus and method, camera, and mobile platform
CN201980050308.8A CN112514364A (en) 2019-11-29 2019-11-29 Image signal processing apparatus, image signal processing method, camera, and movable platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/122084 WO2021102947A1 (en) 2019-11-29 2019-11-29 Image signal processing apparatus and method, camera, and mobile platform

Publications (1)

Publication Number Publication Date
WO2021102947A1 true WO2021102947A1 (en) 2021-06-03

Family

ID=74953909

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/122084 WO2021102947A1 (en) 2019-11-29 2019-11-29 Image signal processing apparatus and method, camera, and mobile platform

Country Status (2)

Country Link
CN (1) CN112514364A (en)
WO (1) WO2021102947A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102640184A (en) * 2009-10-20 2012-08-15 苹果公司 Temporal filtering techniques for image signal processing
CN106934812A (en) * 2015-12-25 2017-07-07 北京展讯高科通信技术有限公司 Image-signal processor and its image-signal processing method
CN107613192A (en) * 2017-08-09 2018-01-19 深圳市巨龙创视科技有限公司 A kind of Digital Image Processing algorithm based on video camera module
WO2018216992A1 (en) * 2017-05-22 2018-11-29 Samsung Electronics Co., Ltd. Electronic device for processing image acquired by using camera and method for operating the same
CN110139109A (en) * 2018-02-08 2019-08-16 北京三星通信技术研究有限公司 The coding method of image and corresponding terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4053345B2 (en) * 2002-04-25 2008-02-27 シャープ株式会社 Image processing method, image processing apparatus, image forming apparatus including the same, program, and recording medium
US20070070427A1 (en) * 2005-08-18 2007-03-29 Lexmark International, Inc. Systems and methods for selective dithering using pixel classification
JP5542243B2 (en) * 2011-09-29 2014-07-09 富士フイルム株式会社 Image processing apparatus, method and program, and imaging apparatus
CN108320263A (en) * 2017-12-29 2018-07-24 维沃移动通信有限公司 A kind of method, device and mobile terminal of image procossing
CN109064418B (en) * 2018-07-11 2022-03-08 成都信息工程大学 Non-local mean value-based non-uniform noise image denoising method
CN110147805B (en) * 2018-07-23 2023-04-07 腾讯科技(深圳)有限公司 Image processing method, device, terminal and storage medium
CN109583477B (en) * 2018-11-05 2019-10-22 北京达佳互联信息技术有限公司 A kind of pixel classifications processing method, device and the electronic equipment of image
CN109859209B (en) * 2019-01-08 2023-10-17 平安科技(深圳)有限公司 Remote sensing image segmentation method and device, storage medium and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102640184A (en) * 2009-10-20 2012-08-15 苹果公司 Temporal filtering techniques for image signal processing
CN106934812A (en) * 2015-12-25 2017-07-07 北京展讯高科通信技术有限公司 Image-signal processor and its image-signal processing method
WO2018216992A1 (en) * 2017-05-22 2018-11-29 Samsung Electronics Co., Ltd. Electronic device for processing image acquired by using camera and method for operating the same
CN107613192A (en) * 2017-08-09 2018-01-19 深圳市巨龙创视科技有限公司 A kind of Digital Image Processing algorithm based on video camera module
CN110139109A (en) * 2018-02-08 2019-08-16 北京三星通信技术研究有限公司 The coding method of image and corresponding terminal

Also Published As

Publication number Publication date
CN112514364A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
KR102574141B1 (en) Image display method and device
WO2020246861A1 (en) Method and apparatus for training neural network model for enhancing image detail
WO2021164234A1 (en) Image processing method and image processing device
WO2020010638A1 (en) Method and device for detecting defective pixel in image
CN110944160B (en) Image processing method and electronic equipment
CN1985274A (en) Methods, system and program modules for restoration of color components in an image model
JP6067950B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP6067949B2 (en) Image processing apparatus, filter acquisition apparatus, image processing method, filter acquisition method, program, and recording medium
US20120224789A1 (en) Noise suppression in low light images
US20210390658A1 (en) Image processing apparatus and method
CN111582074A (en) Monitoring video leaf occlusion detection method based on scene depth information perception
CN108574796B (en) Digital camera method and apparatus optimized for computer vision applications
CN101903893B (en) Digital signal pattern detection and classification using kernel fusion
WO2022247232A1 (en) Image enhancement method and apparatus, terminal device, and storage medium
CN113781326A (en) Demosaicing method and device, electronic equipment and storage medium
CN110717864A (en) Image enhancement method and device, terminal equipment and computer readable medium
CN107424134B (en) Image processing method, image processing device, computer-readable storage medium and computer equipment
CN110838088A (en) Multi-frame noise reduction method and device based on deep learning and terminal equipment
CN115601712B (en) Image data processing method and system suitable for site safety measures
WO2021102947A1 (en) Image signal processing apparatus and method, camera, and mobile platform
Buzzelli et al. Consensus-driven illuminant estimation with GANs
CN115937021A (en) Polarization defogging method based on frequency domain feature separation and iterative optimization of atmospheric light
KR102674064B1 (en) Defect detection integrated control system based on vision inspection using artificial intelligence-based visual intelligence
WO2022256109A1 (en) Glare removal using dual cameras
CN115731115A (en) Data processing method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19953937

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19953937

Country of ref document: EP

Kind code of ref document: A1