WO2020097788A1 - Image signal processing device and method - Google Patents

Image signal processing device and method Download PDF

Info

Publication number
WO2020097788A1
WO2020097788A1 PCT/CN2018/115200 CN2018115200W WO2020097788A1 WO 2020097788 A1 WO2020097788 A1 WO 2020097788A1 CN 2018115200 W CN2018115200 W CN 2018115200W WO 2020097788 A1 WO2020097788 A1 WO 2020097788A1
Authority
WO
WIPO (PCT)
Prior art keywords
parameter
image signal
type
processing unit
time
Prior art date
Application number
PCT/CN2018/115200
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/CN2018/115200 priority Critical patent/WO2020097788A1/en
Priority to CN201880002189.4A priority patent/CN111436214B/en
Publication of WO2020097788A1 publication Critical patent/WO2020097788A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management

Definitions

  • the invention relates to image signal processing, and in particular to an image signal processing device and method capable of reducing operation errors caused by external parameter reading delay.
  • arithmetic processing is performed for each pixel, and the processing program is usually divided into several processing modules, and each processing module will have different processing delays. Therefore, the same pixel position in the image will be processed at different timings.
  • the general processing delay may be different from the time difference of several image input lines. If these processing modules access the adjustment parameters stored externally for each pixel, the timing of obtaining these adjustment parameters must match the timing of the pixel's arithmetic processing.
  • the existing method is to store the adjustment parameters of different modules separately, so when reading external adjustment parameters, each processing module will only read the required parameters when it needs to use the corresponding parameters, which will cause additional Loss of read time.
  • One of the objects of the present invention is to provide an image signal processing device and method to solve the technical problem of additional reading time loss in reading image processing adjustment parameters in the prior art.
  • An embodiment of the present invention discloses an image signal processing method.
  • the image signal processing method includes the following steps: acquiring the first image signal at multiple times; acquiring the parameter set at multiple times, which includes the first type parameter corresponding to the first type operation and the first type parameter corresponding to the second type operation Two types of parameters, wherein the first type of operation is different from the second type of operation; the first type of operation is performed according to the parameter set obtained at time T and the first image signal corresponding to the time T To generate a second image signal; and to perform the second type operation according to the second image signal generated at the corresponding time T and the parameter set acquired at the time T + 1 to generate a third image signal.
  • An embodiment of the present invention discloses an image signal processing device.
  • the image signal processing device includes a storage unit that stores a first parameter group including a first parameter corresponding to a first type operation and a second parameter corresponding to a second type operation, wherein the first type operation is different from The second type of operation; the first processing unit receives the first parameter group and the first image signal, and performs the first type of operation according to the first parameter and the first image signal to generate a second An image signal; and a second processing unit that receives the second parameter and the second image signal of the first parameter group from the first processing unit, and based on the second parameter and the second image The signal performs the second type of operation to generate a third image signal.
  • the image signal processing method and device provided by the embodiments of the present invention can reduce the number of readings of the processing unit and the loss of reading time by combining the parameters required by different types of processing units into parameter groups and reading them out at a time.
  • FIG. 1 is a functional block diagram of an embodiment of an image signal processing device of the present invention.
  • FIG. 2 is a schematic functional block diagram of another embodiment of an image signal processing device of the present invention.
  • 3A to 3D are schematic diagrams of the working process of an embodiment of an image signal processing device of the present invention.
  • FIG. 4 is a schematic functional block diagram of another embodiment of an image signal processing device of the present invention.
  • FIG. 5 is a flowchart of an embodiment of an image signal processing method of the present invention.
  • FIG. 6 is a flowchart of another embodiment of an image signal processing method of the present invention.
  • the first signal buffering unit is the first signal buffering unit
  • the second signal buffer unit is the second signal buffer unit
  • the third processing unit is the third processing unit
  • the third signal buffering unit is the third signal buffer unit
  • the third parameter is the third parameter
  • the first dummy parameter is the first dummy parameter
  • the first image signal is the first image signal
  • the second image signal is the second image signal
  • the fourth image signal is the fourth image signal
  • the second time is the second time
  • the image signal processing device and method disclosed in the present invention can be read out by combining required parameters into a parameter group, so that when the image processing reads the parameter group, the number of readings by the processing unit can be reduced and the reading time can be reduced. Loss. Further explanation is as follows.
  • FIG. 1 is a functional block diagram of an embodiment of an image signal processing device 100 of the present invention.
  • the image signal processing device 100 may include, but is not limited to, a storage unit 110, a first processing unit 120, and a second processing unit 130.
  • the image signal processing device 100 may further include a third processing unit 140.
  • the first processing unit 120 can perform a first type operation
  • the second processing unit 130 can perform a second type operation
  • the third processing unit 140 can perform a third type operation.
  • the first type operation, the second type operation, and the third type operation respectively perform different operation processing on the image data
  • the first type operation, the second type operation, and the third type operation respectively include different image processing related algorithms.
  • the present invention is not limited to this.
  • the first type of operation is used to perform image flatness calculation processing
  • the second type of operation is used to perform pixel defect operation processing
  • the third type of operation is used to perform deformation operation processing.
  • the second processing unit 130 performs calculation based on the output second image signal S2 of the first processing unit 120
  • the third processing unit 140 performs calculation based on the output third image signal S3 of the second processing unit 130 .
  • a plurality of parameter groups 111 may be stored in the storage unit 110.
  • the storage unit 110 may be a non-volatile memory, and the storage unit 110 may also be a flash memory.
  • the first, second, and third processing units 120, 130, and 140 may have (but not limited to) first, second, and third parameter temporary storage units 122, 132, and 142 and first, second, and third signals, respectively.
  • the buffer units 124, 134 and 144, the first, second and third parameter temporary storage units 122, 132 and 142 are used to temporarily store the parameter set read from the storage unit 110; the first signal buffer unit 124 is used to temporarily store The image signals read from the signal source (eg, image sensor) 150, and the second and third signal buffer units 134 and 144 are used to temporarily store the image signals output from the processing unit.
  • the temporary storage units 122, 132, and 142 are based on the first, second, and third parameters, respectively And the temporarily stored data of the first, second, and third signal buffer units 124, 134, and 144 for operation.
  • the first, second, and third processing units 120, 130, and 140 may include an operation unit and a control unit (not (Pictured in the figure).
  • the first, second, and third parameter temporary storage units 122, 132, and 142 may be line buffers.
  • the calculations performed by the first processing unit 120, the second processing unit 130, and the third processing unit 140 each time may include different signal amounts of image signals.
  • the first processing unit 120 performs calculations for each line of the image
  • the second processing unit 130 collects more than one line of data after the operation of the first processing unit 120 to perform the operation together. Therefore, the first processing unit 120, the second processing unit 130, and the third processing unit 140 may have different processing times, that is, because the first processing unit 120, the second processing unit 130, and the third processing unit 140 each The amount of signal to be processed may be different, so it may need to wait and cause timing delay.
  • Each parameter group in the plurality of parameter groups 111 includes a first parameter AN, a second parameter BN, and a third parameter CN, where N is a positive integer, representing the order of output, for example, the first output parameter group 112 includes the first Parameter A1, second parameter B1 and third parameter C1.
  • the first parameter A1, the second parameter B1, and the third parameter C1 are output in a continuous sequence.
  • the first, second, and third parameter temporary storage units 122, 132, and 142 may be used to temporarily store the first parameter A1, the second parameter B1, and the third parameter C1 of the parameter group 112, respectively.
  • the first parameter A1, the second parameter B1, and the third parameter C1 are actual parameters, which are essentially the parameters required for the first, second, and third types of operations, respectively.
  • the first, second, and third signal buffer units 124, 134, and 144 may be line buffers, which are used to temporarily store image signals input to the first processing unit 120, the second processing unit 130, and the third processing unit 140, respectively.
  • the first processing unit 120, the second processing unit 130, and the third processing unit 140 can obtain the first parameter A1, the second parameter B1, and the third parameter C1 from the parameter temporary storage units 122, 132, and 142, respectively.
  • the image signals S1, S2, and S3 are subjected to arithmetic processing, respectively.
  • the first processing unit 120 may receive the parameter group 112 and receive the first image signal S1 from a signal source (eg, image sensor) 150.
  • the first image signal S1 is, for example, image data (or original image data) that has not undergone adjustment processing.
  • the first image signal S1 may be one row or several rows of pixel data in one frame, or may be pixel data of a certain block in one frame.
  • the parameter group 112 may include (but is not limited to) a first parameter A1 corresponding to a first type operation, a second parameter B1 corresponding to a second type operation, and a third parameter C1 corresponding to a third type operation.
  • the parameter group 112 may include a gain parameter, an offset parameter, a pixel defect parameter or a displacement parameter, etc.
  • the parameter group 112 may be a combination of the first parameter A1, the second parameter B1, and the third parameter C1.
  • the first parameter A1 is arranged before the second parameter B1, and the second parameter B1 is arranged before the third parameter C1.
  • the parameter group 112 may also be input to the first processing unit 120 by the storage unit 110.
  • the first processing unit 120 may perform the first type operation on the first image signal S1 according to the first parameter A1 of the parameter group 112 and output the second parameter B1 and the third parameter C1 of the parameter group 112 to the second processing unit 130.
  • the second processing unit 130 may perform the second type operation on the second image signal S2 according to the second parameter B1, and output the third parameter C1 of the parameter group 112 to the third processing unit 140.
  • the third processing unit 140 may perform the third type operation on the third image signal S3 according to the third parameter C1.
  • the first parameter A1 in the parameter group 112 may be temporarily stored in the first parameter temporary storage unit 122; the second parameter B1 in the parameter group 112 may be temporarily stored in the second parameter temporary storage unit 132; and the parameter group 112
  • the third parameter C1 can be temporarily stored in the third parameter temporary storage unit 142, and wait for the corresponding image signal to be in place, that is, when the first processing unit 120 performs the first type operation on the first image signal S1, it generates The second image signal S2 is output to the second processing unit 130, and then the second parameter B1 is used, which will be described in more detail later.
  • the time when the parameter group 112 is input to the first processing unit 120 may be earlier than the time when the first image signal S1 is input to the first processing unit 120.
  • the second processing unit 130 When the second processing unit 130 receives the second parameter B1 and the third parameter C1 of the parameter group 112 output (transferred) by the first processing unit 120, the second processing unit 130 may not have started the second type of operation. Therefore, the second processing unit 130 may first temporarily store the second parameter B1 of the parameter group 112 in the second parameter temporary storage unit 132, and output the third parameter C1 of the parameter group 112 to the third processing unit 140, the third processing unit 140 temporarily stores the received third parameter C1 in the third parameter temporary storage unit 142.
  • the second processing unit 130 receives the second parameter B1 and the third parameter C1 at the same time, the second processing unit 130 recognizes the identification information included in the second parameter B1 and the third parameter C1
  • the second parameter B1 corresponding to the second type of operation is temporarily stored in the second parameter temporary storage unit 132, and the unused third parameter C1 is output to the third processing unit 140, so that the third processing unit 140 temporarily stores the Three parameter temporary storage unit 142.
  • the second image signal S2 will continue to be input to the second signal buffer unit 134 of the second processing unit 130. After the second processing unit 130 receives the default data amount, the second processing unit 130 will be ready to start the second type of operation.
  • the second processing unit 130 may retrieve the second parameter B1 from the second parameter temporary storage unit 132, and perform the second type operation on the second image signal S2 according to the second parameter B1. After the second processing unit 130 performs the second type operation on the second image signal S2, the third image signal S3 is generated and output to the third processing unit 140.
  • the third processing unit 140 When the third processing unit 140 receives the third parameter C1 of the parameter group 112 output by the second processing unit 130, the third processing unit 140 may not have started to perform the third type of operation. Therefore, the third processing unit 140 may temporarily store the third parameter C1 of the parameter group 112 in the third parameter temporary storage unit 142.
  • the third image signal S3 is continuously input to the third signal buffer unit 144 of the third processing unit 140.
  • the third processing unit 140 can retrieve it from the third parameter temporary storage unit 142
  • the third parameter C1 performs a third type operation on the third image signal S3 according to the third parameter C1.
  • a fourth image signal S4 is generated and output.
  • the fourth image signal S4 can be used as the final output processed image signal.
  • the image signal processing apparatus 100 may also have more or less than three processing units, which is only an example here, and the present invention is not limited thereto.
  • the corresponding parameters are read separately when the corresponding parameters are required by each processing unit.
  • the parameters required by different types of processing units (such as the first processing unit 120, the second processing unit 130, and the third processing unit 140) are combined into the parameter group 112 and read out at a time. That is, the first parameter A1, the second parameter B1 and the third parameter C1 are combined into a parameter group 112 whose data is a continuous sequence.
  • the first parameter A1 and the second parameter B1 and the third parameter C1 are stored in a continuous manner. Therefore, when the processing unit obtains the parameters, it can quickly obtain the parameters corresponding to the different types of processing units.
  • the processing unit obtains the parameters, the number of readings can be reduced, and the loss of reading time can be reduced.
  • the parameter group 112 can be transmitted by streaming, in addition, the second parameter B1 is stored in the second parameter temporary storage unit 132 of the second processing unit 130, and the third parameter C1 is stored in the third processing The third parameter temporary storage unit 142 of the unit 140, so that the time for obtaining the second parameter B1 and the third parameter C1 can be delayed until the second processing unit 130 and the third processing unit 140 start different types of image signals S2 and S3
  • the calculation time does not allow the second processing unit 130 and the third processing unit 140 to obtain the second parameter B1 and the third parameter C1 and start the calculation of the image signals S2 and S3, which causes a calculation error.
  • FIG. 2 is a functional block diagram of an embodiment of an image signal processing device 200 of the present invention.
  • the difference between the image signal processing apparatus 200 and the image signal processing apparatus 100 is that the image signal processing apparatus 200 further includes a control unit 210, which is connected to the storage unit 110.
  • the control unit 210 is used to receive and output the parameter group 112.
  • the control unit 210 can obtain the parameter group 112 from the storage unit 110 (as mentioned above, the first parameter A1, the second parameter B1 and the third parameter C1 can be combined into a continuous parameter group), and the control unit 210 can output the parameters The first parameter A1 in the group 112 to the first processing unit 120, the second parameter B1 in the output parameter group 112 to the second processing unit 130, and the third parameter C1 in the output parameter group 112 to the third processing unit 140.
  • the control unit 210 may be controlled by hardware or software, and the control unit 210 may be, for example, a micro control unit (MCU).
  • MCU micro control unit
  • the control unit 210 can perform timing control on the output of the parameter group 112.
  • the control unit 210 may output the first parameter A1, the second parameter B1 or the third parameter C1 to the first, second or third processing unit 120 only when the first, second or third type of operation starts , 130 or 140.
  • the parameter group 112 may be used for control.
  • the parameter group 112 may include a plurality of dummy parameters to correspond to the preparation time before the first type operation, the first type operation, and the second type operation, respectively.
  • the control unit 210 reads the dummy parameters and outputs the first parameter A1, the second parameter B1, or the third parameter C1, which corresponds to the first 1. The time when the second or third type of operation starts.
  • control unit 210 outputs the first parameter A1 of the parameter group 112 to the first processing unit 120 only when the first processing unit 120 starts the first type operation, and only when the second processing unit 130 starts the second type operation Only the control unit 210 outputs the second parameter B1 of the parameter group 112 to the second processing unit 130, and the control unit 210 outputs the third parameter C1 of the parameter group 112 to the second ⁇ processing unit 140.
  • the first, second, and third processing units 120, 130, and 140 may not perform calculation immediately after receiving the first, second, and third image signals S1, S2, and S3, respectively. Therefore, the timing of the control unit 210 outputting the parameter group 112 to each processing unit will be after each processing unit receives the image signal, at the same time as each processing unit starts to perform calculations. In other words, the control unit 210 allows each processing unit to receive the parameter group 112 at the same timing as when the calculation is started.
  • control unit 210 can process the timing delay between the first, second, and third processing units 120, 130, and 140, the first, second, and third parameter temporary storage units 122, 132, 142
  • first-in first-out (FIFO) memory can be used to reduce the area and cost of the first processing unit 120, the second processing unit 130, and the third processing unit 140.
  • 3A to 3D are schematic diagrams of the working process of another embodiment of an image signal processing device 300 of the present invention.
  • the difference between the image signal processing device 300 and the image signal processing device 100 or 200 is that the first processing unit 120, the second processing unit 130, and the third processing unit 140 of the image signal processing device 300 are inserted by inserting dummy parameters at an appropriate time point There is no need to set the parameter temporary storage unit, and no control unit is required.
  • the parameter group of the image signal processing device 300 may include dummy parameters, that is, blank parameters.
  • FIG. 3A corresponds to the first time T1
  • FIG. 3B corresponds to the second time T2
  • FIG. 3C corresponds to the third time T3
  • FIG. 3D corresponds to the fourth time T4.
  • the second, third, and fourth times T1 to T4 occur in sequence.
  • the first processing unit 120 cannot immediately start the operation, Of course, the second and third processing units 130 and 140 cannot start calculation.
  • the parameter set must be configured in advance in this embodiment and continuously supplied to the first, second, and third processing units 120, 130, and 140 without interruption. Therefore, in the initial stage, the parameter group 312 includes the first, second, and third dummy parameters DA1, DB1, and DC1 to fill the preparation time of the initial stage.
  • the first dummy parameter DA1 is used to correspond to the preparation time before the first type of operation.
  • the first processing unit 120 obtains the first dummy parameter DA1 and can directly output the second dummy parameter DB1 and the third dummy parameter DC1 of the dummy parameter group 312 to the second processing unit 130.
  • the second processing unit 130 may directly output the third dummy parameter DC1 to the third processing unit 140.
  • the first image signal S1 arrives, or a default amount of data has been collected from the first image signal S1, and the first processing unit 120 simultaneously obtains the parameter group 412.
  • the parameter group 412 includes a first parameter A1, a second dummy parameter DB2, and a third dummy parameter DC2.
  • the first parameter A1 is an actual setting parameter, and is used to perform a first-type operation on the first image signal S1.
  • the first processing unit 120 directly outputs the second dummy parameter DB2 and the third dummy parameter DC2 to the second processing unit 130.
  • the second processing unit 130 outputs the third dummy parameter DC2 to the third processing unit 140.
  • the first processing unit 120 when the first processing unit 120 starts performing the first type operation on the first image signal S1, the first processing unit 120 also obtains the first parameter A1 corresponding to the first type operation at the same time. Thereby, the first processing unit 120 can perform the first type operation on the first image signal S1 according to the first parameter A1 and generate the second image signal S2.
  • the second processing unit 130 Before the second processing unit 130 starts to perform the second type operation, the second processing unit 130 will first read the second dummy parameter DB2. Before the third processing unit 140 performs the third type of operation, the third processing unit 140 will first read the third dummy parameter DC2. As above, this can avoid the timing mismatch between the start of the second type operation and the third type operation and the acquisition of the second parameter B1 and the third parameter C1.
  • the second processing unit 130 has collected a default amount of data from the second image signal S2, and the second processing unit 130 simultaneously obtains the second parameter B1 of the parameter group 512.
  • the first processing unit 120 first obtains the parameter group 512, which includes the first parameter A2, the second parameter B1, and the third dummy parameter DC3.
  • the first parameter A2 and the second parameter B1 are actual parameters, which are used to perform first and second type operations on the first and second image signals S1 and S2, respectively.
  • the first processing unit 120 outputs the second parameter B1 and the third dummy parameter DC3 to the second processing unit 130.
  • the second processing unit 130 After acquiring the second parameter B1, the second processing unit 130 outputs the third parameter DC3 to the third processing unit 140.
  • the second dummy parameters DB1 and DB2 in FIGS. 3A to 3B are particularly used to correspond to the timing delay between performing the first type operation and the second type operation.
  • the first processing unit 120 may perform a first type operation on the new first image signal S1 according to the new first parameter A2 and generate a new second image signal S2.
  • the second processing unit 130 receives the default data amount for the second image signal S2, when the second processing unit 130 starts to perform the second type operation on the second image signal S2, the second processing unit 130 also obtains the corresponding The second parameter B1 of the second type operation. Thereby, the second processing unit 130 can perform the second type operation on the second image signal S2 according to the second parameter B1 and generate the third image signal S3.
  • the third processing unit 140 has not yet started to perform the third type of operation, so the third processing unit 140 still continues to read the third dummy parameter DC3.
  • the third parameter C1 is obtained earlier than the time point when the third type of operation is started.
  • the third processing unit 140 obtain the third parameter C1 at a time point until the third processing unit 140 starts to perform the third type operation on the third image signal S3, without allowing the third processing unit 140 to obtain the third
  • the third processing unit 140 has collected a default amount of data from the third image signal S3, and the third processing unit 140 simultaneously obtains the third parameter C1 of the parameter group 612.
  • the first processing unit 120 first obtains the parameter set 612.
  • the parameter group 612 includes a first parameter A3, a second parameter B2, and a third parameter C1.
  • the first parameter A2, the second parameter B1, and the third parameter C1 are actual parameters, and are used to perform first, second, and third type operations on the first, second, and third image signals S1, S2, and S3, respectively.
  • the first processing unit 120 outputs the second parameter B2 and the third parameter C1 to the second processing unit 130.
  • the second processing unit 130 outputs the third parameter C1 to the third processing unit 140.
  • the third dummy parameters DC1, DC2, and DC3 in FIGS. 3A to 3C are specifically used to correspond to the timing delay between performing the second type operation and the third type operation.
  • the first processing unit 120 can perform a first type operation on the new first image signal S1 according to the new first parameter A3 and generate a new second image signal S2.
  • the second processing unit 130 may perform a second type operation on the new second image signal S2 according to the new second parameter B2 and generate a new third image signal S3.
  • the third processing unit 140 receives the default data amount, when the third processing unit 140 starts to perform the third type operation on the third image signal S3, the third processing unit 140 also obtains the third Three parameters C1. Thereby, the third processing unit 140 can perform the third type operation on the third image signal S3 according to the third parameter C1 and generate the processed fourth image signal S4 (not shown in the figure, it will be output at the next time point) .
  • the parameter group 112 when the parameter group 112 can be transmitted by streaming, by setting dummy parameters (such as the first dummy parameter, the second dummy parameter, and the third dummy parameter), The time of the first parameter A1, the second parameter B1, and the third parameter C1 is delayed until the first processing unit 120, the second processing unit 130, and the third processing unit 140 start different types of operations on the image signals S1, S2, S3 Time without letting the first processing unit 120, the second processing unit 130, and the third processing unit 140 obtain the first parameter A1, the second parameter B1, and the third parameter C1 and start calculating the image signals S1, S2, S3 There is a time difference between them, causing calculation errors.
  • the image signal processing device 300 may not have a control unit, and the parameter temporary storage unit may not be set in each processing unit, which further reduces the loss of reading time and reduces the cost.
  • FIG. 4 is a functional block diagram of an embodiment of an image signal processing device 400 of the present invention.
  • the difference between the image signal processing device 400 and the image signal processing devices 100, 200, and 300 is that the storage unit 110 can store another type of multiple parameter groups (including the second parameter group 712).
  • the difference between the second parameter group 712 and the aforementioned parameter group 112 or 612 is that the second parameter group 712 does not have parameters for certain types of operations.
  • the first processing unit 120 may instead obtain the second parameter set 712 from the storage unit 110.
  • the second parameter group 712 only includes the first parameter A1 corresponding to the first type of operation and the third parameter C1 corresponding to the third type of operation.
  • the parameter group 712 does not have the second parameter B1 corresponding to the second type of operation.
  • the type of operation selected above is only an example, and the invention is not limited thereto.
  • the first processing unit 120 can perform the first type operation on the first image signal S1 according to the first parameter A1 of the second parameter group 712. After the first processing unit 120 performs the first type operation on the first image signal S1, the generated second image signal S2 is directly output to the third processing unit 140.
  • the third processing unit 140 may directly perform the third type operation on the second image signal S2 according to the third parameter C1 of the second parameter group 712, and generate the processed fourth image signal S4.
  • the image signal processing device 400 may not have a control unit as in the image signal processing devices 100, 300 of FIGS. 1 or 3A to 3D, and each processing unit may not have a parameter temporary storage unit.
  • FIG. 5 is a flowchart of an embodiment of an image signal processing method 500 of the present invention.
  • the image signal processing method 500 includes steps 502, 504, 506, and 508.
  • Step 502 is to obtain the first image signal.
  • Step 504 is to obtain the parameter set.
  • the parameter group includes a first parameter corresponding to the first type operation and a second parameter corresponding to the second type operation, where the first type operation is different from the second type operation.
  • Step 506 is to perform a first-type operation according to the first image signal and the first parameter of the parameter group to generate a second image signal.
  • Step 508 is to perform the second type operation according to the second image signal and the second parameter after the first type operation to generate the third image signal.
  • FIG. 6 is a flowchart of an embodiment of another image signal processing method 600 of the present invention.
  • the image signal processing method 600 includes steps 602, 604, 606, 608, and 610.
  • Step 602 is to obtain the first image signal.
  • Step 604 is to obtain a first parameter group.
  • the first parameter group includes a first parameter corresponding to the first type of operation and a second parameter corresponding to the second type of operation.
  • Step 606 is to perform a first type of operation based on the first image signal and the first parameter of the first parameter group to generate a second image signal.
  • Step 608 is to obtain a second parameter group after obtaining the first parameter group.
  • the second parameter group includes a third parameter corresponding to the first type operation and a fourth parameter corresponding to the second type operation.
  • Step 610 is to perform the above-mentioned second type operation according to the second image signal and the fourth parameter of the second parameter group to generate a third image signal.
  • the corresponding parameters are only read when the corresponding parameters are required for each processing unit.
  • the parameters required by different types of processing units (such as the first processing unit, the second processing unit, and the third processing unit) are combined into a parameter group and read out at once.
  • a parameter, a second parameter and a third parameter are combined into a parameter group whose data is a continuous sequence.
  • the first parameter, the second parameter and the third parameter are in a continuous manner Save. Therefore, when the processing unit obtains the parameters, it can quickly obtain the parameters corresponding to the different types of processing units. Thereby, when the processing unit obtains the parameters, the number of readings can be reduced, and the loss of reading time can be reduced.
  • the parameter group can be transmitted by streaming, by setting dummy parameters (such as the first dummy parameter, the second dummy parameter, and the third dummy parameter), the first parameter, The time of the second parameter and the third parameter is delayed until the time when the first processing unit 0, the second processing unit, and the third processing unit start performing different types of operations on the image signal, without letting the first processing unit, the second processing There is a time difference between the unit and the third processing unit acquiring the first parameter, the second parameter, and the third parameter and starting to calculate the image signal, causing an operation error.
  • the image signal processing device may not have a control unit, and the parameter temporary storage unit may not be set in each processing unit, which further reduces the loss of reading time and reduces the cost.

Abstract

Disclosed is an image signal processing method, wherein the method comprises: obtaining first image signals respectively at multiple time points; obtaining a parameter set at the multiple time points, the parameter set comprising a first-type parameter corresponding to a first type of operation and a second-type parameter corresponding to a second type of operation, wherein the first type of operation is different from the second type of operation; performing, according to a parameter set obtained at time point T and the first image signal corresponding to time point T, the first type of operation, so as to generate a second image signal; and performing, according to the second image signal generated at time point T and the parameter set obtained at time point T+1, the second type of operation, so as to generate a third image signal.

Description

图像信号处理装置和方法Image signal processing device and method 技术领域Technical field
本发明涉及图像信号处理,尤其涉及一种能减少因外部参数读取延迟而造成运算错误的图像信号处理装置和方法。The invention relates to image signal processing, and in particular to an image signal processing device and method capable of reducing operation errors caused by external parameter reading delay.
背景技术Background technique
在一般的图像信号处理中,针对每个像素进行运算处理,通常会将处理程序分成好几个处理模块,各个处理模块间会有不同的处理延迟。因此,图像中的同一个像素点位置,会在不同的时序进行运算处理。一般的处理延迟可能会差距数条图像输入线的时间差,假使这些处理模块取用存储在外部针对每个像素的调整参数,则取得这些调整参数的时序,必须跟像素进行运算处理的时序匹配。In general image signal processing, arithmetic processing is performed for each pixel, and the processing program is usually divided into several processing modules, and each processing module will have different processing delays. Therefore, the same pixel position in the image will be processed at different timings. The general processing delay may be different from the time difference of several image input lines. If these processing modules access the adjustment parameters stored externally for each pixel, the timing of obtaining these adjustment parameters must match the timing of the pixel's arithmetic processing.
现有的作法是将不同模块的调整参数分别存储,因此在读取外部的调整参数时,各个处理模块会在需要使用到相对应参数时,才分别去读取所需要的参数,会造成额外的读取时间损失。The existing method is to store the adjustment parameters of different modules separately, so when reading external adjustment parameters, each processing module will only read the required parameters when it needs to use the corresponding parameters, which will cause additional Loss of read time.
发明内容Summary of the invention
本发明的目的之一在于提供一种图像信号处理装置和方法,来解决现有技术中图像处理调整参数读取存在额外读取时间损失的技术问题。One of the objects of the present invention is to provide an image signal processing device and method to solve the technical problem of additional reading time loss in reading image processing adjustment parameters in the prior art.
本发明的一实施例公开了一种图像信号处理方法。图像信号处理方法包含以下步骤:在多个时间刻分别取得第一图像信号;在多个时间刻分别取得参数组,其包括对应第一类型运算的第一类型参数及对应第二类型运算的第二类型参数,其中所述第一类型运算不同于所述第二类型运算;依据在时间刻T所取得的参数组以及对应所述时间刻 T的第一图像信号,进行所述第一类型运算,产生第二图像信号;以及依据对应时间刻T所产生的第二图像信号以及在时间刻T+1所取得的所述参数组进行所述第二类型运算,产生第三图像信号。An embodiment of the present invention discloses an image signal processing method. The image signal processing method includes the following steps: acquiring the first image signal at multiple times; acquiring the parameter set at multiple times, which includes the first type parameter corresponding to the first type operation and the first type parameter corresponding to the second type operation Two types of parameters, wherein the first type of operation is different from the second type of operation; the first type of operation is performed according to the parameter set obtained at time T and the first image signal corresponding to the time T To generate a second image signal; and to perform the second type operation according to the second image signal generated at the corresponding time T and the parameter set acquired at the time T + 1 to generate a third image signal.
本发明的一实施例公开了一种图像信号处理装置。图像信号处理装置包含存储单元,存储第一参数组,所述第一参数组包含对应第一类型运算的第一参数及对应第二类型运算的第二参数,其中所述第一类型运算不同于所述第二类型运算;第一处理单元,接收所述第一参数组及第一图像信号,并依据所述第一参数及所述第一图像信号进行所述第一类型运算,产生第二图像信号;以及第二处理单元,从所述第一处理单元接收所述第一参数组的所述第二参数及所述第二图像信号,并依据所述第二参数及所述第二图像信号进行所述第二类型运算,产生第三图像信号。An embodiment of the present invention discloses an image signal processing device. The image signal processing device includes a storage unit that stores a first parameter group including a first parameter corresponding to a first type operation and a second parameter corresponding to a second type operation, wherein the first type operation is different from The second type of operation; the first processing unit receives the first parameter group and the first image signal, and performs the first type of operation according to the first parameter and the first image signal to generate a second An image signal; and a second processing unit that receives the second parameter and the second image signal of the first parameter group from the first processing unit, and based on the second parameter and the second image The signal performs the second type of operation to generate a third image signal.
本发明实施例提供的图像信号处理方法和装置,通过将不同类型处理单元所需要的参数组合为参数组一次读取出来,而可减少处理单元读取的次数,降低读取时间的损失。The image signal processing method and device provided by the embodiments of the present invention can reduce the number of readings of the processing unit and the loss of reading time by combining the parameters required by different types of processing units into parameter groups and reading them out at a time.
附图说明BRIEF DESCRIPTION
图1是本发明一图像信号处理装置的一实施例的功能方框示意图。FIG. 1 is a functional block diagram of an embodiment of an image signal processing device of the present invention.
图2是本发明一图像信号处理装置的另一实施例的功能方框示意图。FIG. 2 is a schematic functional block diagram of another embodiment of an image signal processing device of the present invention.
图3A至图3D是本发明一图像信号处理装置的一实施例的工作过程示意图。3A to 3D are schematic diagrams of the working process of an embodiment of an image signal processing device of the present invention.
图4是本发明一图像信号处理装置的又一实施例的功能方框示意图。4 is a schematic functional block diagram of another embodiment of an image signal processing device of the present invention.
图5是本发明一图像信号处理方法的一实施例的流程图。5 is a flowchart of an embodiment of an image signal processing method of the present invention.
图6是本发明一图像信号处理方法的另一实施例的流程图。6 is a flowchart of another embodiment of an image signal processing method of the present invention.
其中,附图标记说明如下:Among them, the reference signs are described as follows:
100、200、300、400                  图像信号处理装置100, 200, 300, 400 Image signal processing device
110                                 存储单元110 Storage unit for storage unit
111、411                            多个参数组111, 411, multiple parameter groups
112、312、412、512、612、712        参数组112, 312, 412, 512, 612, 712 parameter groups
120                                 第一处理单元120 The first processing unit of the first processing unit
122                                 第一参数暂存单元122 First parameter temporary storage unit The first parameter temporary storage unit
124                                 第一信号缓存单元124 The first signal buffering unit is the first signal buffering unit
130                                 第二处理单元130 The second processing unit of the second processing unit
132                                 第二参数暂存单元132 Second parameter temporary storage unit
134                                 第二信号缓存单元134 The second signal buffer unit is the second signal buffer unit
140                                 第三处理单元140 The third processing unit is the third processing unit
142                                 第三参数暂存单元142 Temporary storage unit for the third parameter of the third parameter temporary storage unit
144                                 第三信号缓存单元144 The third signal buffering unit is the third signal buffer unit
150                                 信号源150 The signal source of the signal source
210                                 控制单元210 The control unit of the control unit
500、600                            图像信号处理方法500、600 Image signal processing method of image signal processing method
502、504、506、508、602、604、606、 步骤502, 504, 506, 508, 602, 604, 606, steps
608、610608, 610
A1、A2、A3                         第一参数A1, A2, A3 The first parameter
B1、B2                             第二参数B1, B2, the second parameter, the second parameter
C1                                 第三参数C1 The third parameter is the third parameter
DA1                                第一虚设参数DA1 The first dummy parameter is the first dummy parameter
DB1、DB2                           第二虚设参数DB1, DB2, the second dummy parameter
DC1、DC2、DC3                      第三虚设参数DC1, DC2, DC3 The third dummy parameter
S1                                 第一图像信号S1 The first image signal is the first image signal
S2                                 第二图像信号S2 The second image signal is the second image signal
S3                                 第三图像信号S3, the third image signal, the third image signal
S4                                 第四图像信号S4 The fourth image signal is the fourth image signal
T1                                 第一时间T1, the first time, the first time, the first time
T2                                 第二时间T2 The second time is the second time
T3                        第三时间T3 The third time
T4                        第四时间T4 The fourth time
具体实施方式detailed description
在说明书及之前的权利要求书当中使用了某些词汇来指称特定的组件。本领域的技术人员应可理解,制造商可能会用不同的名词来称呼同样的组件。本说明书及之前的权利要求书并不以名称的差异来作为区分组件的方式,而是以组件在功能上的差异来作为区分的基准。在通篇说明书及之前的权利要求书当中所提及的“包含”为一开放式的用语,故应解释成“包含但不限定于”。此外,“耦接”一词在此包含任何直接和间接的电连接手段。因此,若文中描述一第一装置耦接于一第二装置,则代表所述第一装置可直接电连接于所述第二装置,或通过其它装置或连接手段间接地电连接到所述第二装置。In the description and previous claims, certain words are used to refer to specific components. Those skilled in the art should understand that manufacturers may use different terms to refer to the same component. This specification and the preceding claims do not use differences in names as a means of distinguishing components, but differences in functions of components as a basis for distinguishing. "Contains" mentioned in the entire specification and the preceding claims is an open-ended term, so it should be interpreted as "including but not limited to". In addition, the term "coupled" includes any direct and indirect means of electrical connection. Therefore, if it is described that a first device is coupled to a second device, it means that the first device may be directly electrically connected to the second device, or indirectly electrically connected to the first device through other devices or connection means二 装置。 Two devices.
本发明所公开图像信号处理装置和方法的可通过将所需要的参数组合为参数组一次读取出来,让进行图像处理读取参数组时,可减少处理单元读取的次数,降低读取时间的损失。进一步的说明如下。The image signal processing device and method disclosed in the present invention can be read out by combining required parameters into a parameter group, so that when the image processing reads the parameter group, the number of readings by the processing unit can be reduced and the reading time can be reduced. Loss. Further explanation is as follows.
图1是本发明一图像信号处理装置100的一实施例的功能方框示意图。图像信号处理装置100可包含(但不限于)存储单元110、第一处理单元120及第二处理单元130。在某些实施例,图像信号处理装置100更可包含第三处理单元140。在某些实施例,第一处理单元120可以进行第一类型运算,第二处理单元130可以进行第二类型运算,第三处理单元140可以进行第三类型运算。第一类型运算、第二类型运算及第三类型运算分别对图像数据进行不同的运算处理,第一类型运算、第二类型运算及第三类型运算分别包含不同的图像处理相关算法。举例来说,但本发明不限于此,第一类型运算系用来进行图像平坦度运算处理,第二类型运算系用来进行像素缺陷运算处理,第三类型运算系用来进行变形运算处理。具体来说,第二处理单元130系依据第一处理单元120的输出第二图像信号S2再加以运算,以及第三处理单元140系依据第二处理单元130的输出第三图像信号S3 再加以运算。FIG. 1 is a functional block diagram of an embodiment of an image signal processing device 100 of the present invention. The image signal processing device 100 may include, but is not limited to, a storage unit 110, a first processing unit 120, and a second processing unit 130. In some embodiments, the image signal processing device 100 may further include a third processing unit 140. In some embodiments, the first processing unit 120 can perform a first type operation, the second processing unit 130 can perform a second type operation, and the third processing unit 140 can perform a third type operation. The first type operation, the second type operation, and the third type operation respectively perform different operation processing on the image data, and the first type operation, the second type operation, and the third type operation respectively include different image processing related algorithms. For example, the present invention is not limited to this. The first type of operation is used to perform image flatness calculation processing, the second type of operation is used to perform pixel defect operation processing, and the third type of operation is used to perform deformation operation processing. Specifically, the second processing unit 130 performs calculation based on the output second image signal S2 of the first processing unit 120, and the third processing unit 140 performs calculation based on the output third image signal S3 of the second processing unit 130 .
多个参数组111(包含参数组112)可以存储在存储单元110中。存储单元110可以是非易失性的存储器,存储单元110也可以是闪速存储器。第一、第二以及第三处理单元120、130以及140分别可具有(但不限于)第一、第二以及第三参数暂存单元122、132以及142及第一、第二以及第三信号缓存单元124、134以及144,第一、第二以及第三参数暂存单元122、132以及142用来暂存从存储单元110读取出来的参数组;第一信号缓存单元124用来暂存从信号源(例如影像传感器)150读取出来的图像信号,第二以及第三信号缓存单元134以及144用来暂存从处理单元输出的图像信号。当第一、第二以及第三处理单元120、130以及140在进行第一、第二以及第三类型运算时,会分别依据第一、第二以及第三参数暂存单元122、132以及142以及第一、第二以及第三信号缓存单元124、134以及144所暂存的数据进行运算,第一、第二以及第三处理单元120、130以及140可分别包含运算单元以及控制单元(未绘示于图中)。A plurality of parameter groups 111 (including parameter groups 112) may be stored in the storage unit 110. The storage unit 110 may be a non-volatile memory, and the storage unit 110 may also be a flash memory. The first, second, and third processing units 120, 130, and 140 may have (but not limited to) first, second, and third parameter temporary storage units 122, 132, and 142 and first, second, and third signals, respectively The buffer units 124, 134 and 144, the first, second and third parameter temporary storage units 122, 132 and 142 are used to temporarily store the parameter set read from the storage unit 110; the first signal buffer unit 124 is used to temporarily store The image signals read from the signal source (eg, image sensor) 150, and the second and third signal buffer units 134 and 144 are used to temporarily store the image signals output from the processing unit. When the first, second, and third processing units 120, 130, and 140 are performing the first, second, and third types of operations, the temporary storage units 122, 132, and 142 are based on the first, second, and third parameters, respectively And the temporarily stored data of the first, second, and third signal buffer units 124, 134, and 144 for operation. The first, second, and third processing units 120, 130, and 140 may include an operation unit and a control unit (not (Pictured in the figure).
举例来说,第一、第二以及第三参数暂存单元122、132、142可以是行缓冲器(line buffer)。第一处理单元120、第二处理单元130及第三处理单元140每次进行的运算可以是涵盖不同的图像信号的信号量,例如,第一处理单元120会针对影像的每一行分别进行运算,第二处理单元130会搜集第一处理单元120运算后的超过一行的数据一起进行运算。因此,第一处理单元120、第二处理单元130及第三处理单元140可以分别具有不同的处理时间,也就是说,因为第一处理单元120、第二处理单元130及第三处理单元140每次所要处理的信号量可以不同,所以可能需要等待而造成时序延迟。多个参数组111中的每一个参数组包含第一参数AN、第二参数BN及第三参数CN,其中N为正整数,代表输出的顺序,例如第一个输出的参数组112包含第一参数A1、第二参数B1及第三参数C1。举例来说,存储单元110输出参数组112时,会将第一参数A1、第二参数B1及第三参数C1以连续的序列输出。第一、第二以及第三参数暂存单元122、132、142可以分别用来暂存参数组112的第一参数A1、第二参数B1 及第三参数C1。第一参数A1、第二参数B1及第三参数C1是实设参数,实质上分别为第一、第二以及第三类型运算所需的参数。For example, the first, second, and third parameter temporary storage units 122, 132, and 142 may be line buffers. The calculations performed by the first processing unit 120, the second processing unit 130, and the third processing unit 140 each time may include different signal amounts of image signals. For example, the first processing unit 120 performs calculations for each line of the image, The second processing unit 130 collects more than one line of data after the operation of the first processing unit 120 to perform the operation together. Therefore, the first processing unit 120, the second processing unit 130, and the third processing unit 140 may have different processing times, that is, because the first processing unit 120, the second processing unit 130, and the third processing unit 140 each The amount of signal to be processed may be different, so it may need to wait and cause timing delay. Each parameter group in the plurality of parameter groups 111 includes a first parameter AN, a second parameter BN, and a third parameter CN, where N is a positive integer, representing the order of output, for example, the first output parameter group 112 includes the first Parameter A1, second parameter B1 and third parameter C1. For example, when the storage unit 110 outputs the parameter group 112, the first parameter A1, the second parameter B1, and the third parameter C1 are output in a continuous sequence. The first, second, and third parameter temporary storage units 122, 132, and 142 may be used to temporarily store the first parameter A1, the second parameter B1, and the third parameter C1 of the parameter group 112, respectively. The first parameter A1, the second parameter B1, and the third parameter C1 are actual parameters, which are essentially the parameters required for the first, second, and third types of operations, respectively.
第一、第二以及第三信号缓存单元124、134、144可以是行缓冲器,分别是用于暂存输入到第一处理单元120、第二处理单元130、第三处理单元140的图像信号S1、S2、S3。藉此,第一处理单元120、第二处理单元130、第三处理单元140可以分别从参数暂存单元122、132、142取得第一参数A1、第二参数B1及第三参数C1,再对图像信号S1、S2、S3分别进行运算处理。The first, second, and third signal buffer units 124, 134, and 144 may be line buffers, which are used to temporarily store image signals input to the first processing unit 120, the second processing unit 130, and the third processing unit 140, respectively. S1, S2, S3. Thereby, the first processing unit 120, the second processing unit 130, and the third processing unit 140 can obtain the first parameter A1, the second parameter B1, and the third parameter C1 from the parameter temporary storage units 122, 132, and 142, respectively. The image signals S1, S2, and S3 are subjected to arithmetic processing, respectively.
以下,详细说明图像信号处理装置100的工作过程。Hereinafter, the operation of the image signal processing device 100 will be described in detail.
如图1所示,第一处理单元120可以接收参数组112,并且从信号源(例如影像传感器)150接收第一图像信号S1。第一图像信号S1例如是还未进行调整处理的图像数据(或称原始图像数据)。第一图像信号S1可以是一帧中的一行或数行像素数据,也可以是一帧中的某个区块的像素数据。在某些实施例中,参数组112可以包含(但不限于)对应第一类型运算的第一参数A1、对应第二类型运算的第二参数B1及对应第三类型运算的第三参数C1。举例来说(但本发明不限于此),参数组112可以包含增益(gain)参数、偏移(offset)参数、像素缺陷(bad pixel)参数或位移(displacement)参数等。参数组112可以是第一参数A1、第二参数B1及第三参数C1的组合。例如,第一参数A1排列在第二参数B1之前,第二参数B1排列在第三参数C1之前。以上仅为举例说明,本发明并不以此为限。As shown in FIG. 1, the first processing unit 120 may receive the parameter group 112 and receive the first image signal S1 from a signal source (eg, image sensor) 150. The first image signal S1 is, for example, image data (or original image data) that has not undergone adjustment processing. The first image signal S1 may be one row or several rows of pixel data in one frame, or may be pixel data of a certain block in one frame. In some embodiments, the parameter group 112 may include (but is not limited to) a first parameter A1 corresponding to a first type operation, a second parameter B1 corresponding to a second type operation, and a third parameter C1 corresponding to a third type operation. For example (but the invention is not limited thereto), the parameter group 112 may include a gain parameter, an offset parameter, a pixel defect parameter or a displacement parameter, etc. The parameter group 112 may be a combination of the first parameter A1, the second parameter B1, and the third parameter C1. For example, the first parameter A1 is arranged before the second parameter B1, and the second parameter B1 is arranged before the third parameter C1. The above are only examples, and the invention is not limited thereto.
因此,当第一图像信号S1输入到第一处理单元120的第一信号缓存单元124,参数组112也可以由存储单元110输入到第一处理单元120。第一处理单元120可以依据参数组112的第一参数A1对第一图像信号S1进行第一类型运算,并将参数组112的第二参数B1及第三参数C1输出至第二处理单元130。第二处理单元130可以依据第二参数B1对第二图像信号S2进行第二类型运算,并将参数组112的第三参数C1输出至第三处理单元140。第三处理单元140可以依据第三参数C1对第三图像信号S3进行第三类型运算。具体来说, 参数组112当中的第一参数A1可以暂存在第一参数暂存单元122中;参数组112当中的第二参数B1可以暂存在第二参数暂存单元132中;参数组112当中的第三参数C1可以暂存在第三参数暂存单元142中,并等待对应的图像讯号就位,也就是说,当第一处理单元120对第一图像信号S1进行第一类型运算后,产生并输出第二图像信号S2到第二处理单元130,这时才会使用到第二参数B1,后续会有更详细的说明。在某些实施例中,参数组112输入到第一处理单元120的时间也可以早于第一图像信号S1输入到第一处理单元120的时间。Therefore, when the first image signal S1 is input to the first signal buffer unit 124 of the first processing unit 120, the parameter group 112 may also be input to the first processing unit 120 by the storage unit 110. The first processing unit 120 may perform the first type operation on the first image signal S1 according to the first parameter A1 of the parameter group 112 and output the second parameter B1 and the third parameter C1 of the parameter group 112 to the second processing unit 130. The second processing unit 130 may perform the second type operation on the second image signal S2 according to the second parameter B1, and output the third parameter C1 of the parameter group 112 to the third processing unit 140. The third processing unit 140 may perform the third type operation on the third image signal S3 according to the third parameter C1. Specifically, the first parameter A1 in the parameter group 112 may be temporarily stored in the first parameter temporary storage unit 122; the second parameter B1 in the parameter group 112 may be temporarily stored in the second parameter temporary storage unit 132; and the parameter group 112 The third parameter C1 can be temporarily stored in the third parameter temporary storage unit 142, and wait for the corresponding image signal to be in place, that is, when the first processing unit 120 performs the first type operation on the first image signal S1, it generates The second image signal S2 is output to the second processing unit 130, and then the second parameter B1 is used, which will be described in more detail later. In some embodiments, the time when the parameter group 112 is input to the first processing unit 120 may be earlier than the time when the first image signal S1 is input to the first processing unit 120.
当第二处理单元130接收到第一处理单元120输出(传递)的参数组112的第二参数B1及第三参数C1时,第二处理单元130可能还没有开始进行第二类型运算。因此,第二处理单元130可以先将参数组112的第二参数B1暂存在第二参数暂存单元132,并将参数组112的第三参数C1输出至第三处理单元140,第三处理单元140将接收到的第三参数C1暂存在第三参数暂存单元142。换句话说,虽然第二处理单元130会同时接收到第二参数B1及第三参数C1,但是第二处理单元130会依据第二参数B1及第三参数C1中所包含的识别信息来辨别出对应第二类型运算的第二参数B1,并暂存在第二参数暂存单元132,并将其不需使用的第三参数C1输出至第三处理单元140,让第三处理单元140暂存在第三参数暂存单元142。When the second processing unit 130 receives the second parameter B1 and the third parameter C1 of the parameter group 112 output (transferred) by the first processing unit 120, the second processing unit 130 may not have started the second type of operation. Therefore, the second processing unit 130 may first temporarily store the second parameter B1 of the parameter group 112 in the second parameter temporary storage unit 132, and output the third parameter C1 of the parameter group 112 to the third processing unit 140, the third processing unit 140 temporarily stores the received third parameter C1 in the third parameter temporary storage unit 142. In other words, although the second processing unit 130 receives the second parameter B1 and the third parameter C1 at the same time, the second processing unit 130 recognizes the identification information included in the second parameter B1 and the third parameter C1 The second parameter B1 corresponding to the second type of operation is temporarily stored in the second parameter temporary storage unit 132, and the unused third parameter C1 is output to the third processing unit 140, so that the third processing unit 140 temporarily stores the Three parameter temporary storage unit 142.
第二图像信号S2会持续输入至第二处理单元130的第二信号缓存单元134,当第二处理单元130接收到默认数据量后,第二处理单元130会准备开始进行第二类型运算,第二处理单元130可以从第二参数暂存单元132取出第二参数B1,依据第二参数B1对第二图像信号S2进行第二类型运算。当第二处理单元130对第二图像信号S2进行第二类型运算后,产生并输出第三图像信号S3到第三处理单元140。The second image signal S2 will continue to be input to the second signal buffer unit 134 of the second processing unit 130. After the second processing unit 130 receives the default data amount, the second processing unit 130 will be ready to start the second type of operation. The second processing unit 130 may retrieve the second parameter B1 from the second parameter temporary storage unit 132, and perform the second type operation on the second image signal S2 according to the second parameter B1. After the second processing unit 130 performs the second type operation on the second image signal S2, the third image signal S3 is generated and output to the third processing unit 140.
当第三处理单元140接收到第二处理单元130输出的参数组112的第三参数C1时,第三处理单元140可能还没有开始进行第三类型运算。因此,第三处理单元140可以将参数组112的第三参数C1暂 存在第三参数暂存单元142。When the third processing unit 140 receives the third parameter C1 of the parameter group 112 output by the second processing unit 130, the third processing unit 140 may not have started to perform the third type of operation. Therefore, the third processing unit 140 may temporarily store the third parameter C1 of the parameter group 112 in the third parameter temporary storage unit 142.
第三图像信号S3会持续输入至第三处理单元140的第三信号缓存单元144,当第三处理单元140接收到默认数据量后,第三处理单元140可以从第三参数暂存单元142取出第三参数C1,依据第三参数C1对第三图像信号S3进行第三类型运算。当第三处理单元140对第三图像信号S3进行第三类型运算后,就会产生并输出第四图像信号S4,在本实施例中,第四图像信号S4可以作为最终输出的经过处理的图像信号。在某些实施例中,图像信号处理装置100也可以具有多于或少于三个的处理单元,在此仅是举例说明,本发明不限于此。The third image signal S3 is continuously input to the third signal buffer unit 144 of the third processing unit 140. After the third processing unit 140 receives the default amount of data, the third processing unit 140 can retrieve it from the third parameter temporary storage unit 142 The third parameter C1 performs a third type operation on the third image signal S3 according to the third parameter C1. After the third processing unit 140 performs the third type operation on the third image signal S3, a fourth image signal S4 is generated and output. In this embodiment, the fourth image signal S4 can be used as the final output processed image signal. In some embodiments, the image signal processing apparatus 100 may also have more or less than three processing units, which is only an example here, and the present invention is not limited thereto.
在现有的图像信号处理中,会在各个处理单元需要使用到相对应参数时,才分别去读取所需要的参数。而在本实施例中,则是藉由将不同类型处理单元(例如第一处理单元120、第二处理单元130及第三处理单元140)所需要的参数组合为参数组112一次读取出来,也就是让第一参数A1、第二参数B1及第三参数C1组合成为一个数据是连续序列的参数组112,在某些实施例中,在存储单元110中,第一参数A1、第二参数B1及第三参数C1即是以连续的方式储存。因此,处理单元在取得参数时,可以快速的一次取得不同类型处理单元所对应的参数。藉此,处理单元取得参数时,可减少读取的次数,而可以降低读取时间的损失。换句话说,参数组112可以通过串流(stream)的方式传输,另外将第二参数B1存储在第二处理单元130的第二参数暂存单元132,将第三参数C1存储在第三处理单元140的第三参数暂存单元142,这样可以让取得第二参数B1及第三参数C1的时间,延迟到第二处理单元130及第三处理单元140开始对图像信号S2、S3进行不同类型运算的时间,而不会让第二处理单元130及第三处理单元140取得第二参数B1及第三参数C1及开始对图像信号S2、S3进行算之间有时间差,造成运算错误。In the existing image signal processing, the corresponding parameters are read separately when the corresponding parameters are required by each processing unit. In this embodiment, the parameters required by different types of processing units (such as the first processing unit 120, the second processing unit 130, and the third processing unit 140) are combined into the parameter group 112 and read out at a time. That is, the first parameter A1, the second parameter B1 and the third parameter C1 are combined into a parameter group 112 whose data is a continuous sequence. In some embodiments, in the storage unit 110, the first parameter A1 and the second parameter B1 and the third parameter C1 are stored in a continuous manner. Therefore, when the processing unit obtains the parameters, it can quickly obtain the parameters corresponding to the different types of processing units. Thereby, when the processing unit obtains the parameters, the number of readings can be reduced, and the loss of reading time can be reduced. In other words, the parameter group 112 can be transmitted by streaming, in addition, the second parameter B1 is stored in the second parameter temporary storage unit 132 of the second processing unit 130, and the third parameter C1 is stored in the third processing The third parameter temporary storage unit 142 of the unit 140, so that the time for obtaining the second parameter B1 and the third parameter C1 can be delayed until the second processing unit 130 and the third processing unit 140 start different types of image signals S2 and S3 The calculation time does not allow the second processing unit 130 and the third processing unit 140 to obtain the second parameter B1 and the third parameter C1 and start the calculation of the image signals S2 and S3, which causes a calculation error.
图2是本发明一图像信号处理装置200的一实施例的功能方框示意图。图像信号处理装置200与图像信号处理装置100的差异在于:图像信号处理装置200还包含控制单元210,该控制单元210与存储 单元110接。控制单元210用于接收且输出参数组112。FIG. 2 is a functional block diagram of an embodiment of an image signal processing device 200 of the present invention. The difference between the image signal processing apparatus 200 and the image signal processing apparatus 100 is that the image signal processing apparatus 200 further includes a control unit 210, which is connected to the storage unit 110. The control unit 210 is used to receive and output the parameter group 112.
控制单元210可以自存储单元110一次取得参数组112(如上述,第一参数A1、第二参数B1及第三参数C1可以组合成为一个数据是连续的参数组),控制单元210并且可以输出参数组112当中的第一参数A1到第一处理单元120,输出参数组112当中的第二参数B1到第二处理单元130及输出参数组112当中的第三参数C1到第三处理单元140。举例来说(但本发明不限于此),于某些实施例中,控制单元210可以利用硬件或软件来进行控制,控制单元210例如可以是微控制单元(micro control unit,MCU)。The control unit 210 can obtain the parameter group 112 from the storage unit 110 (as mentioned above, the first parameter A1, the second parameter B1 and the third parameter C1 can be combined into a continuous parameter group), and the control unit 210 can output the parameters The first parameter A1 in the group 112 to the first processing unit 120, the second parameter B1 in the output parameter group 112 to the second processing unit 130, and the third parameter C1 in the output parameter group 112 to the third processing unit 140. For example (but the invention is not limited thereto), in some embodiments, the control unit 210 may be controlled by hardware or software, and the control unit 210 may be, for example, a micro control unit (MCU).
如上所述,由于处理的数据量不同,第二类型运算也许需要等待多个第一类型运算,第三类型运算也许需要等待多个第二类型运算,因此在第一类型运算及第二类型运算之间,以及在第二类型运算及第三类型运算之间都可能需要等待而造成会有时序延迟。因此,在本实施例中,控制单元210可以对参数组112的输出做时序的控制。换句话说,控制单元210可以在第一、第二或第三类型运算开始时,才输出第一参数A1、第二参数B1或第三参数C1到第一、第二或第三处理单元120、130或140。或者,可以利用参数组112来作控制,举例来说,参数组112可以包括多个虚设(dummy)参数,以分别对应第一类型运算之前的准备时间、第一类型运算及第二类型运算之间的时序延迟、以及在第二类型运算及第三类型运算之间的时序延迟,控制单元210读取完虚设参数输出第一参数A1、第二参数B1或第三参数C1,刚好对应到第一、第二或第三类型运算开始的时间。As mentioned above, due to the different amount of data processed, the second type of operation may need to wait for multiple first type operations, and the third type of operation may need to wait for multiple second type operations, so the first type operation and the second type operation Between, and between the second type of operation and the third type of operation may need to wait and cause a timing delay. Therefore, in this embodiment, the control unit 210 can perform timing control on the output of the parameter group 112. In other words, the control unit 210 may output the first parameter A1, the second parameter B1 or the third parameter C1 to the first, second or third processing unit 120 only when the first, second or third type of operation starts , 130 or 140. Alternatively, the parameter group 112 may be used for control. For example, the parameter group 112 may include a plurality of dummy parameters to correspond to the preparation time before the first type operation, the first type operation, and the second type operation, respectively. Between the second and third types of operations, the control unit 210 reads the dummy parameters and outputs the first parameter A1, the second parameter B1, or the third parameter C1, which corresponds to the first 1. The time when the second or third type of operation starts.
藉此,在第一处理单元120开始进行第一类型运算时,控制单元210才输出参数组112的第一参数A1到第一处理单元120,在第二处理单元130开始进行第二类型运算时,控制单元210才输出参数组112的第二参数B1到第二处理单元130,在第三处理单元140开始进行第三类型运算时,控制单元210才输出参数组112的第三参数C1到第三处理单元140。In this way, the control unit 210 outputs the first parameter A1 of the parameter group 112 to the first processing unit 120 only when the first processing unit 120 starts the first type operation, and only when the second processing unit 130 starts the second type operation Only the control unit 210 outputs the second parameter B1 of the parameter group 112 to the second processing unit 130, and the control unit 210 outputs the third parameter C1 of the parameter group 112 to the second三 processing unit 140.
具体来说,第一、第二及第三处理单元120、130及140在分别 接收到第一、第二及第三图像信号S1、S2及S3后,可能不会立即进行运算。因此,控制单元210输出参数组112到各个处理单元的时序,会在各个处理单元接收到图像信号之后,而与各个处理单元开始进行运算同时。也就是说,藉由控制单元210让各个处理单元接收到参数组112的时序与开始进行运算的时序相同。Specifically, the first, second, and third processing units 120, 130, and 140 may not perform calculation immediately after receiving the first, second, and third image signals S1, S2, and S3, respectively. Therefore, the timing of the control unit 210 outputting the parameter group 112 to each processing unit will be after each processing unit receives the image signal, at the same time as each processing unit starts to perform calculations. In other words, the control unit 210 allows each processing unit to receive the parameter group 112 at the same timing as when the calculation is started.
藉由此种方式,因为控制单元210可以处理第一、第二及第三处理单元120、130及140之间的时序延迟,第一、第二以及第三参数暂存单元122、132、142例如可以利用先进先出(First In First Out,FIFO)内存,来降低第一处理单元120、第二处理单元130及第三处理单元140的面积以及成本。In this way, because the control unit 210 can process the timing delay between the first, second, and third processing units 120, 130, and 140, the first, second, and third parameter temporary storage units 122, 132, 142 For example, first-in first-out (FIFO) memory can be used to reduce the area and cost of the first processing unit 120, the second processing unit 130, and the third processing unit 140.
图3A至图3D是本发明一图像信号处理装置300的另一实施例的工作过程示意图。图像信号处理装置300与图像信号处理装置100或200的差异在于:通过在适当的时间点插入虚设参数,图像信号处理装置300的第一处理单元120、第二处理单元130及第三处理单元140可不需要设置参数暂存单元,且不需控制单元。具体来说,图像信号处理装置300的参数组可包含虚设参数,即空白参数。3A to 3D are schematic diagrams of the working process of another embodiment of an image signal processing device 300 of the present invention. The difference between the image signal processing device 300 and the image signal processing device 100 or 200 is that the first processing unit 120, the second processing unit 130, and the third processing unit 140 of the image signal processing device 300 are inserted by inserting dummy parameters at an appropriate time point There is no need to set the parameter temporary storage unit, and no control unit is required. Specifically, the parameter group of the image signal processing device 300 may include dummy parameters, that is, blank parameters.
以下,详细说明图像信号处理装置300的工作过程,图3A对应第一时间T1,图3B对应第二时间T2,图3C对应第三时间T3,图3D对应第四时间T4,其中第一、第二、第三以及第四时间T1~T4为依序发生。The operation of the image signal processing device 300 will be described in detail below. FIG. 3A corresponds to the first time T1, FIG. 3B corresponds to the second time T2, FIG. 3C corresponds to the third time T3, and FIG. 3D corresponds to the fourth time T4. The second, third, and fourth times T1 to T4 occur in sequence.
如图3A所示,在第一时间T1的时候,因为第一图像信号S1尚未到达,或是尚未从第一图像信号S1搜集到默认数量的数据,第一处理单元120不能立刻开始进行运算,第二以及第三处理单元130、140当然也不能开始进行运算。此时若给予第一、第二以及第三处理单元120、130以及140真正的参数,就必须要暂存起来。又因为没有控制单元,因此本实施例必须要预先配置好参数组,并连续不间断的供应给第一、第二以及第三处理单元120、130以及140。所以,在初始阶段,参数组312中包含了第一、第二以及第三虚设参数DA1、DB1以及DC1来填补初始阶段的准备时间。也就是说,第一虚设参 数DA1是特别用来对应进行第一类型运算前的准备时间。在一实施例中,第一处理单元120取得第一虚设参数DA1,并可直接将虚设参数组312的第二虚设参数DB1及第三虚设参数DC1输出至第二处理单元130。第二处理单元130可直接将第三虚设参数DC1输出至第三处理单元140。As shown in FIG. 3A, at the first time T1, because the first image signal S1 has not arrived, or the default amount of data has not been collected from the first image signal S1, the first processing unit 120 cannot immediately start the operation, Of course, the second and third processing units 130 and 140 cannot start calculation. At this time, if real parameters are given to the first, second, and third processing units 120, 130, and 140, they must be temporarily stored. Since there is no control unit, the parameter set must be configured in advance in this embodiment and continuously supplied to the first, second, and third processing units 120, 130, and 140 without interruption. Therefore, in the initial stage, the parameter group 312 includes the first, second, and third dummy parameters DA1, DB1, and DC1 to fill the preparation time of the initial stage. In other words, the first dummy parameter DA1 is used to correspond to the preparation time before the first type of operation. In one embodiment, the first processing unit 120 obtains the first dummy parameter DA1 and can directly output the second dummy parameter DB1 and the third dummy parameter DC1 of the dummy parameter group 312 to the second processing unit 130. The second processing unit 130 may directly output the third dummy parameter DC1 to the third processing unit 140.
如图3B所示,在第二时间T2的时候,第一图像信号S1到达,或是已经从第一图像信号S1搜集到默认数量的数据,第一处理单元120同时取得参数组412。参数组412包含第一参数A1、第二虚设参数DB2及第三虚设参数DC2。第一参数A1是实设参数,用于对第一图像信号S1进行第一类型运算。在一实施例中,第一处理单元120会将第二虚设参数DB2及第三虚设参数DC2直接输出至第二处理单元130。第二处理单元130取得第二虚设参数DB2后,将第三虚设参数DC2输出至第三处理单元140。As shown in FIG. 3B, at the second time T2, the first image signal S1 arrives, or a default amount of data has been collected from the first image signal S1, and the first processing unit 120 simultaneously obtains the parameter group 412. The parameter group 412 includes a first parameter A1, a second dummy parameter DB2, and a third dummy parameter DC2. The first parameter A1 is an actual setting parameter, and is used to perform a first-type operation on the first image signal S1. In an embodiment, the first processing unit 120 directly outputs the second dummy parameter DB2 and the third dummy parameter DC2 to the second processing unit 130. After obtaining the second dummy parameter DB2, the second processing unit 130 outputs the third dummy parameter DC2 to the third processing unit 140.
因此,在第一处理单元120对第一图像信号S1开始进行第一类型运算时,第一处理单元120也同时取得对应第一类型运算的第一参数A1。藉此,第一处理单元120可以依据第一参数A1对第一图像信号S1进行第一类型运算,并产生第二图像信号S2。Therefore, when the first processing unit 120 starts performing the first type operation on the first image signal S1, the first processing unit 120 also obtains the first parameter A1 corresponding to the first type operation at the same time. Thereby, the first processing unit 120 can perform the first type operation on the first image signal S1 according to the first parameter A1 and generate the second image signal S2.
另一方面,第二处理单元130在开始进行第二类型运算之前,第二处理单元130会先读取第二虚设参数DB2。第三处理单元140在开始进行第三类型运算之前,第三处理单元140会先读取第三虚设参数DC2。同上,藉此可避免第二类型运算及第三类型运算的起始与第二参数B1及第三参数C1的取得在时序上的不匹配。On the other hand, before the second processing unit 130 starts to perform the second type operation, the second processing unit 130 will first read the second dummy parameter DB2. Before the third processing unit 140 performs the third type of operation, the third processing unit 140 will first read the third dummy parameter DC2. As above, this can avoid the timing mismatch between the start of the second type operation and the third type operation and the acquisition of the second parameter B1 and the third parameter C1.
如图3C所示,在第三时间T3的时候,第二处理单元130已经从第二图像信号S2搜集到默认数量的数据,第二处理单元130同时取得参数组512的第二参数B1。首先,第一处理单元120先取得参数组512,参数组512包含第一参数A2、第二参数B1及第三虚设参数DC3。第一参数A2、第二参数B1是实设参数,分别用于对第一、第二图像信号S1、S2进行第一、第二类型运算。第一处理单元120取得参数组512的第一参数A2后,会将第二参数B1及第三虚设参 数DC3输出至第二处理单元130。第二处理单元130取得第二参数B1后,将第三参数DC3输出至第三处理单元140。As shown in FIG. 3C, at the third time T3, the second processing unit 130 has collected a default amount of data from the second image signal S2, and the second processing unit 130 simultaneously obtains the second parameter B1 of the parameter group 512. First, the first processing unit 120 first obtains the parameter group 512, which includes the first parameter A2, the second parameter B1, and the third dummy parameter DC3. The first parameter A2 and the second parameter B1 are actual parameters, which are used to perform first and second type operations on the first and second image signals S1 and S2, respectively. After obtaining the first parameter A2 of the parameter group 512, the first processing unit 120 outputs the second parameter B1 and the third dummy parameter DC3 to the second processing unit 130. After acquiring the second parameter B1, the second processing unit 130 outputs the third parameter DC3 to the third processing unit 140.
也就是说,图3A到图3B里的第二虚设参数DB1、DB2是特别用来对应进行第一类型运算与第二类型运算之间的时序延迟。That is to say, the second dummy parameters DB1 and DB2 in FIGS. 3A to 3B are particularly used to correspond to the timing delay between performing the first type operation and the second type operation.
与图3B相同的,第一处理单元120可以依据新的第一参数A2对新的第一图像信号S1进行第一类型运算,并产生新的第二图像信号S2。As in FIG. 3B, the first processing unit 120 may perform a first type operation on the new first image signal S1 according to the new first parameter A2 and generate a new second image signal S2.
另外,在第二处理单元130第二图像信号S2接收到默认数据量后,第二处理单元130会开始对第二图像信号S2进行第二类型运算时,第二处理单元130也同时取得对应第二类型运算的第二参数B1。藉此,第二处理单元130可以依据第二参数B1对第二图像信号S2进行第二类型运算,并产生第三图像信号S3。In addition, after the second processing unit 130 receives the default data amount for the second image signal S2, when the second processing unit 130 starts to perform the second type operation on the second image signal S2, the second processing unit 130 also obtains the corresponding The second parameter B1 of the second type operation. Thereby, the second processing unit 130 can perform the second type operation on the second image signal S2 according to the second parameter B1 and generate the third image signal S3.
在这个时间点,第三处理单元140仍然还没开始开始进行第三类型运算,所以第三处理单元140仍然继续读取第三虚设参数DC3。如同以上所说的,藉此可避免取得第三参数C1会早于开始第三类型运算的时间点。换句话说,让第三处理单元140取得第三参数C1的时间点等待到第三处理单元140开始对第三图像信号S3进行第三类型运算,而不会让第三处理单元140取得第三参数C1及开始对第三图像信号S3进行第三类型运算之间有时间差,造成运算错误。At this point in time, the third processing unit 140 has not yet started to perform the third type of operation, so the third processing unit 140 still continues to read the third dummy parameter DC3. As mentioned above, it can be avoided that the third parameter C1 is obtained earlier than the time point when the third type of operation is started. In other words, let the third processing unit 140 obtain the third parameter C1 at a time point until the third processing unit 140 starts to perform the third type operation on the third image signal S3, without allowing the third processing unit 140 to obtain the third There is a time difference between the parameter C1 and the start of the third type operation on the third image signal S3, which causes an operation error.
如图3D所示,在第四时间T4的时候,第三处理单元140已经从第三图像信号S3搜集到默认数量的数据,第三处理单元140同时取得参数组612的第三参数C1。首先,第一处理单元120先取得参数组612。参数组612包含第一参数A3、第二参数B2及第三参数C1。第一参数A2、第二参数B1及第三参数C1是实设参数,分别用于对第一、第二及第三图像信号S1、S2及S3进行第一、第二及第三类型运算。第一处理单元120取得参数组612的第一参数A3后,会将第二参数B2及第三参数C1输出至第二处理单元130。第二处理单元130取得第二参数B2后,将第三参数C1输出至第三处理单元140。As shown in FIG. 3D, at the fourth time T4, the third processing unit 140 has collected a default amount of data from the third image signal S3, and the third processing unit 140 simultaneously obtains the third parameter C1 of the parameter group 612. First, the first processing unit 120 first obtains the parameter set 612. The parameter group 612 includes a first parameter A3, a second parameter B2, and a third parameter C1. The first parameter A2, the second parameter B1, and the third parameter C1 are actual parameters, and are used to perform first, second, and third type operations on the first, second, and third image signals S1, S2, and S3, respectively. After obtaining the first parameter A3 of the parameter group 612, the first processing unit 120 outputs the second parameter B2 and the third parameter C1 to the second processing unit 130. After obtaining the second parameter B2, the second processing unit 130 outputs the third parameter C1 to the third processing unit 140.
也就是说,图3A到图3C里的第三虚设参数DC1、DC2、DC3是特别用来对应进行第二类型运算与第三类型运算之间的时序延迟。That is to say, the third dummy parameters DC1, DC2, and DC3 in FIGS. 3A to 3C are specifically used to correspond to the timing delay between performing the second type operation and the third type operation.
与图3B及图3C相同的,第一处理单元120可以依据新的第一参数A3对新的第一图像信号S1进行第一类型运算,并产生新的第二图像信号S2,第二处理单元130可以依据新的第二参数B2对新的第二图像信号S2进行第二类型运算,并产生新的第三图像信号S3。As in FIGS. 3B and 3C, the first processing unit 120 can perform a first type operation on the new first image signal S1 according to the new first parameter A3 and generate a new second image signal S2. The second processing unit 130 may perform a second type operation on the new second image signal S2 according to the new second parameter B2 and generate a new third image signal S3.
另外,在第三处理单元140接收到默认数据量后,第三处理单元140会开始对第三图像信号S3进行第三类型运算时,第三处理单元140也同时取得对应第三类型运算的第三参数C1。藉此,第三处理单元140可以依据第三参数C1对第三图像信号S3进行第三类型运算,并产生处理完成的第四图像信号S4(未表示在图中,会在下一个时间点输出)。In addition, after the third processing unit 140 receives the default data amount, when the third processing unit 140 starts to perform the third type operation on the third image signal S3, the third processing unit 140 also obtains the third Three parameters C1. Thereby, the third processing unit 140 can perform the third type operation on the third image signal S3 according to the third parameter C1 and generate the processed fourth image signal S4 (not shown in the figure, it will be output at the next time point) .
综上所述,以图3A-3D的工作过程为例,依次说明图像信号处理装置300在各个时间点T1~T4的操作。In summary, taking the working process of FIGS. 3A-3D as an example, the operations of the image signal processing device 300 at each time point T1 to T4 will be sequentially described.
Figure PCTCN2018115200-appb-000001
Figure PCTCN2018115200-appb-000001
Figure PCTCN2018115200-appb-000002
Figure PCTCN2018115200-appb-000002
如上所述,在本实施例中,参数组112可以通过串流(stream)的方式传输时,藉由设置虚设参数(例如第一虚设参数、第二虚设参数及第三虚设参数)可以让取得第一参数A1、第二参数B1及第三参 数C1的时间,延迟到第一处理单元120、第二处理单元130及第三处理单元140开始对图像信号S1、S2、S3进行不同类型运算的时间,而不会让第一处理单元120、第二处理单元130及第三处理单元140取得第一参数A1、第二参数B1及第三参数C1及开始对图像信号S1、S2、S3进行算之间有时间差,造成运算错误。另外,藉由设置虚设参数也可以让图像信号处理装置300可以不具有控制单元,各个处理单元内可以不用设置参数暂存单元,进一步降低读取时间的损失,并降低成本。As described above, in this embodiment, when the parameter group 112 can be transmitted by streaming, by setting dummy parameters (such as the first dummy parameter, the second dummy parameter, and the third dummy parameter), The time of the first parameter A1, the second parameter B1, and the third parameter C1 is delayed until the first processing unit 120, the second processing unit 130, and the third processing unit 140 start different types of operations on the image signals S1, S2, S3 Time without letting the first processing unit 120, the second processing unit 130, and the third processing unit 140 obtain the first parameter A1, the second parameter B1, and the third parameter C1 and start calculating the image signals S1, S2, S3 There is a time difference between them, causing calculation errors. In addition, by setting the dummy parameters, the image signal processing device 300 may not have a control unit, and the parameter temporary storage unit may not be set in each processing unit, which further reduces the loss of reading time and reduces the cost.
图4是本发明一图像信号处理装置400的一实施例的功能方框示意图。图像信号处理装置400与图像信号处理装置100、200、300的差异在于:存储单元110可以存储另一种类型的多个参数组(包含第二参数组712)。第二参数组712与上述参数组112或612的差异在于,第二参数组712不具有某些类型运算的参数。FIG. 4 is a functional block diagram of an embodiment of an image signal processing device 400 of the present invention. The difference between the image signal processing device 400 and the image signal processing devices 100, 200, and 300 is that the storage unit 110 can store another type of multiple parameter groups (including the second parameter group 712). The difference between the second parameter group 712 and the aforementioned parameter group 112 or 612 is that the second parameter group 712 does not have parameters for certain types of operations.
举例来说,当使用者选择不需要进行第二类型运算时,第一图像信号S1输入到第一处理单元120时,第一处理单元120可以改从存储单元110取得第二参数组712。第二参数组712只有包含对应第一类型运算的第一参数A1及对应第三类型运算的第三参数C1。换句话说,参数组712不具有对应第二类型运算的第二参数B1。当然,上述选择哪种类型运算只是举例说明,本发明不限于此。For example, when the user selects that the second type of operation is not required, and the first image signal S1 is input to the first processing unit 120, the first processing unit 120 may instead obtain the second parameter set 712 from the storage unit 110. The second parameter group 712 only includes the first parameter A1 corresponding to the first type of operation and the third parameter C1 corresponding to the third type of operation. In other words, the parameter group 712 does not have the second parameter B1 corresponding to the second type of operation. Of course, the type of operation selected above is only an example, and the invention is not limited thereto.
因此,第一处理单元120可以依据第二参数组712的第一参数A1对第一图像信号S1进行第一类型运算。当第一处理单元120对第一图像信号S1进行第一类型运算后,产生的第二图像信号S2会直接输出到第三处理单元140。第三处理单元140可以依据第二参数组712的第三参数C1,直接对第二图像信号S2进行第三类型运算,并产生处理完成的第四图像信号S4。Therefore, the first processing unit 120 can perform the first type operation on the first image signal S1 according to the first parameter A1 of the second parameter group 712. After the first processing unit 120 performs the first type operation on the first image signal S1, the generated second image signal S2 is directly output to the third processing unit 140. The third processing unit 140 may directly perform the third type operation on the second image signal S2 according to the third parameter C1 of the second parameter group 712, and generate the processed fourth image signal S4.
当然,在开始第一及第三类型运算之前,都可能会有准备时间,因此有关第一处理单元120与第三处理单元140之间的时序延迟的处理方式,可以利用如图1、图2或图3A到图3D的图像信号处理装置100、200、300的处理方式,在此不再重复叙述。在某些实施例中, 图像信号处理装置400可以如图1或图3A到图3D的图像信号处理装置100、300不具有控制单元,而且各个处理单元可以不具有参数暂存单元。Of course, there may be preparation time before starting the first and third types of operations, so the processing method for the timing delay between the first processing unit 120 and the third processing unit 140 can be used as shown in FIG. 1 and FIG. 2 Or the processing methods of the image signal processing apparatuses 100, 200, and 300 of FIGS. 3A to 3D will not be repeated here. In some embodiments, the image signal processing device 400 may not have a control unit as in the image signal processing devices 100, 300 of FIGS. 1 or 3A to 3D, and each processing unit may not have a parameter temporary storage unit.
在本实施例中,藉由在存储单元存储不同类型的参数组,可以进一步增加本发明对应不同使用者需求的不同应用方式。In this embodiment, by storing different types of parameter sets in the storage unit, different application methods of the present invention corresponding to different user needs can be further increased.
图5是本发明一图像信号处理方法500的一实施例的流程图。图像信号处理方法500包含步骤502、504、506、508。步骤502是取得第一图像信号。步骤504是取得参数组。参数组包含对应第一类型运算的第一参数及对应第二类型运算的第二参数,其中第一类型运算不同于第二类型运算。步骤506是依据第一图像信号及参数组的第一参数进行第一类型运算,产生第二图像信号。步骤508是在第一类型运算之后,依据第二图像信号及第二参数进行第二类型运算,产生第三图像信号。FIG. 5 is a flowchart of an embodiment of an image signal processing method 500 of the present invention. The image signal processing method 500 includes steps 502, 504, 506, and 508. Step 502 is to obtain the first image signal. Step 504 is to obtain the parameter set. The parameter group includes a first parameter corresponding to the first type operation and a second parameter corresponding to the second type operation, where the first type operation is different from the second type operation. Step 506 is to perform a first-type operation according to the first image signal and the first parameter of the parameter group to generate a second image signal. Step 508 is to perform the second type operation according to the second image signal and the second parameter after the first type operation to generate the third image signal.
图像信号处理方法500的流程已于图1、图2、图3A至图3D及图4中详细叙述,在此不再重复叙述。The flow of the image signal processing method 500 has been described in detail in FIG. 1, FIG. 2, FIG. 3A to FIG. 3D and FIG. 4, and will not be repeated here.
图6是本发明另一图像信号处理方法600的一实施例的流程图。图像信号处理方法600包含步骤602、604、606、608、610。步骤602是取得第一图像信号。步骤604是取得第一参数组,第一参数组包括对应第一类型运算的第一参数及对应第二类型运算的第二参数。步骤606是依据第一图像信号及第一参数组的第一参数进行第一类型运算,产生第二图像信号。步骤608是在取得第一参数组之后,取得第二参数组,第二参数组包括对应第一类型运算的第三参数及对应第二类型运算的第四参数。步骤610是依据第二图像信号及第二参数组的第四参数进行上述第二类型运算,产生第三图像信号。FIG. 6 is a flowchart of an embodiment of another image signal processing method 600 of the present invention. The image signal processing method 600 includes steps 602, 604, 606, 608, and 610. Step 602 is to obtain the first image signal. Step 604 is to obtain a first parameter group. The first parameter group includes a first parameter corresponding to the first type of operation and a second parameter corresponding to the second type of operation. Step 606 is to perform a first type of operation based on the first image signal and the first parameter of the first parameter group to generate a second image signal. Step 608 is to obtain a second parameter group after obtaining the first parameter group. The second parameter group includes a third parameter corresponding to the first type operation and a fourth parameter corresponding to the second type operation. Step 610 is to perform the above-mentioned second type operation according to the second image signal and the fourth parameter of the second parameter group to generate a third image signal.
图像信号处理方法600的流程已于图3A至图3D及图4中详细叙述,在此不再重复叙述。The flow of the image signal processing method 600 has been described in detail in FIGS. 3A to 3D and FIG. 4 and will not be repeated here.
综上,在现有的图像信号处理中,会在各个处理单元需要使用到相对应参数时,才分别去读取所需要的参数。而在本实施例中,则是 藉由将不同类型处理单元(例如第一处理单元、第二处理单元及第三处理单元)所需要的参数组合为参数组一次读取出来,也就是让第一参数、第二参数及第三参数组合成为一个数据是连续序列的参数组,在某些实施例中,在存储单元中,第一参数、第二参数及第三参数即是以连续的方式储存。因此,处理单元在取得参数时,可以快速的一次取得不同类型处理单元所对应的参数。藉此,处理单元取得参数时,可减少读取的次数,而可以降低读取时间的损失。在某些实施例中,参数组可以通过串流(stream)的方式传输时,藉由设置虚设参数(例如第一虚设参数、第二虚设参数及第三虚设参数)可以让取得第一参数、第二参数及第三参数的时间,延迟到第一处理单元0、第二处理单元及第三处理单元开始对图像信号进行不同类型运算的时间,而不会让第一处理单元、第二处理单元及第三处理单元取得第一参数、第二参数及第三参数及开始对图像信号进行算之间有时间差,造成运算错误。另外,藉由设置虚设参数也可以让图像信号处理装置可以不具有控制单元,各个处理单元内可以不用设置参数暂存单元,进一步降低读取时间的损失,并降低成本。In summary, in the existing image signal processing, the corresponding parameters are only read when the corresponding parameters are required for each processing unit. In this embodiment, the parameters required by different types of processing units (such as the first processing unit, the second processing unit, and the third processing unit) are combined into a parameter group and read out at once. A parameter, a second parameter and a third parameter are combined into a parameter group whose data is a continuous sequence. In some embodiments, in the storage unit, the first parameter, the second parameter and the third parameter are in a continuous manner Save. Therefore, when the processing unit obtains the parameters, it can quickly obtain the parameters corresponding to the different types of processing units. Thereby, when the processing unit obtains the parameters, the number of readings can be reduced, and the loss of reading time can be reduced. In some embodiments, when the parameter group can be transmitted by streaming, by setting dummy parameters (such as the first dummy parameter, the second dummy parameter, and the third dummy parameter), the first parameter, The time of the second parameter and the third parameter is delayed until the time when the first processing unit 0, the second processing unit, and the third processing unit start performing different types of operations on the image signal, without letting the first processing unit, the second processing There is a time difference between the unit and the third processing unit acquiring the first parameter, the second parameter, and the third parameter and starting to calculate the image signal, causing an operation error. In addition, by setting the dummy parameters, the image signal processing device may not have a control unit, and the parameter temporary storage unit may not be set in each processing unit, which further reduces the loss of reading time and reduces the cost.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims (16)

  1. 一种图像信号处理方法,其特征在于,所述方法包括:An image signal processing method, characterized in that the method includes:
    在多个时间刻分别取得第一图像信号;Obtain the first image signal at multiple times;
    在多个时间刻分别取得参数组,其包括对应第一类型运算的第一类型参数及对应第二类型运算的第二类型参数,其中所述第一类型运算不同于所述第二类型运算;Obtaining parameter groups at multiple times, which include a first type parameter corresponding to a first type operation and a second type parameter corresponding to a second type operation, wherein the first type operation is different from the second type operation;
    依据在时间刻T所取得的参数组以及对应所述时间刻T的第一图像信号,进行所述第一类型运算,产生第二图像信号;以及Performing the first type of operation based on the parameter set obtained at time T and the first image signal corresponding to the time T to generate a second image signal; and
    依据对应时间刻T所产生的第二图像信号以及在时间刻T+1所取得的所述参数组进行所述第二类型运算,产生第三图像信号。The second type operation is performed according to the second image signal generated at the corresponding time T and the parameter set obtained at time T + 1 to generate a third image signal.
  2. 如权利要求1所述的图像信号处理方法,其特征在于,所述依据在时间刻T所取得的参数组以及对应所述时间刻T的第一图像信号,进行所述第一类型运算,产生第二图像信号的步骤包括:The image signal processing method according to claim 1, wherein the first type operation is performed according to the parameter set obtained at time T and the first image signal corresponding to the time T to generate The steps of the second image signal include:
    依据在时间刻T所取得的参数组中的第一类型参数以及对应所述时间刻T的第一图像信号,进行所述第一类型运算,产生第二图像信号。According to the first type parameter in the parameter group obtained at time T and the first image signal corresponding to the time T, the first type operation is performed to generate a second image signal.
  3. 如权利要求1所述的图像信号处理方法,其特征在于,所述依据对应时间刻T所产生的第二图像信号以及在时间刻T+1所取得的所述参数组进行所述第二类型运算,产生第三图像信号的步骤包括:The image signal processing method according to claim 1, wherein the second type is performed according to the second image signal generated at the corresponding time T and the parameter set obtained at the time T + 1 The operation to generate the third image signal includes:
    依据对应时间刻T所产生的第二图像信号以及在时间刻T+1所取得的所述参数组中的第二类型参数进行所述第二类型运算,产生第三图像信号。The second type operation is performed according to the second image signal generated at the corresponding time T and the second type parameter in the parameter group obtained at the time T + 1 to generate a third image signal.
  4. 如权利要求1所述的图像信号处理方法,其特征在于,所述在多个时间刻分别取得第一图像信号的步骤包含:The image signal processing method according to claim 1, wherein the step of obtaining the first image signal at multiple times includes:
    在多个时间刻从影像传感器分别取得第一图像信号。The first image signal is acquired from the image sensor at multiple times.
  5. 如权利要求1所述的图像信号处理方法,其特征在于,所述第一 类型参数包括第一虚设参数。The image signal processing method according to claim 1, wherein the first type parameter includes a first dummy parameter.
  6. 如权利要求1所述的图像信号处理方法,其特征在于,所述第二类型参数包括第二虚设参数。The image signal processing method according to claim 1, wherein the second type parameter includes a second dummy parameter.
  7. 如权利要求1所述的图像信号处理方法,其特征在于,所述第一类型运算包括图像平坦度运算。The image signal processing method according to claim 1, wherein the first type of operation includes image flatness operation.
  8. 如权利要求1所述的图像信号处理方法,其特征在于,所述第二类型运算包括像素缺陷运算。The image signal processing method of claim 1, wherein the second type of operation includes pixel defect operation.
  9. 如权利要求1所述的图像信号处理方法,其特征在于,所述参数组进一步包括用于第三类型运算的第三类型参数,所述方法进一步包括:The image signal processing method of claim 1, wherein the parameter group further includes a third type parameter used for a third type operation, and the method further includes:
    依据对应时间刻T+1所产生的第二图像信号以及在时间刻T+2所取得的所述参数组中的第三类型参数进行所述第三类型运算,产生第三图像信号。The third type operation is performed according to the second image signal generated at the corresponding time T + 1 and the third type parameter in the parameter group obtained at the time T + 2 to generate a third image signal.
  10. 如权利要求9所述的图像信号处理方法,其特征在于,所述第三类型运算包括变形运算。The image signal processing method according to claim 9, wherein the third type of operation includes a deformation operation.
  11. 如权利要求1-10中任意一项所述的图像信号处理方法,其特征在于,所述参数组以连续的序列被输出。The image signal processing method according to any one of claims 1-10, wherein the parameter groups are output in a continuous sequence.
  12. 一种图像信号处理装置,其特征在于,包含:An image signal processing device, characterized by comprising:
    存储单元,存储第一参数组,所述第一参数组包含对应第一类型运算的第一参数及对应第二类型运算的第二参数,其中所述第一类型运算不同于所述第二类型运算;A storage unit that stores a first parameter group, the first parameter group including a first parameter corresponding to a first type operation and a second parameter corresponding to a second type operation, wherein the first type operation is different from the second type Operation
    第一处理单元,接收所述第一参数组及第一图像信号,并依据所述第一参数及所述第一图像信号进行所述第一类型运算,产生第二图像信号;以及The first processing unit receives the first parameter group and the first image signal, and performs the first type operation according to the first parameter and the first image signal to generate a second image signal; and
    第二处理单元,从所述第一处理单元接收所述第一参数组的所述第二参数及所述第二图像信号,并依据所述第二参数及所述第二图像信号进行所述第二类型运算,产生第三图像信号。The second processing unit receives the second parameter and the second image signal of the first parameter group from the first processing unit, and performs the process according to the second parameter and the second image signal The second type of operation generates a third image signal.
  13. 如权利要求12所述的图像信号处理装置,其特征在于,所述第一参数组更包括多个虚设参数分别对应所述第一类型运算及所述第二类型运算。The image signal processing device according to claim 12, wherein the first parameter group further includes a plurality of dummy parameters corresponding to the first-type operation and the second-type operation, respectively.
  14. 如权利要求12所述的图像信号处理装置,其特征在于,所述第二处理单元具有参数暂存单元,所述参数暂存单元接收并存储所述第二参数。The image signal processing device according to claim 12, wherein the second processing unit has a parameter temporary storage unit, and the parameter temporary storage unit receives and stores the second parameter.
  15. 如权利要求12所述的图像信号处理装置,其特征在于,另包含第三处理单元,所述第一参数组更包含对应第三类型运算的第三参数,所述第三处理单元从所述第二处理单元接收所述第一参数组的所述第三参数及第三图像信号,并依据所述第三参数及所述第三图像信号进行所述第三类型运算。The image signal processing device according to claim 12, further comprising a third processing unit, the first parameter group further includes a third parameter corresponding to a third type of operation, and the third processing unit selects from The second processing unit receives the third parameter and the third image signal of the first parameter group, and performs the third type operation according to the third parameter and the third image signal.
  16. 如权利要求15所述的图像信号处理装置,其特征在于,存储单元更存储第二参数组,所述第二参数组包含对应所述第一类型运算的所述第一参数及对应所述第三类型运算的所述第三参数,且不包含对应所述第二类型运算的所述第二参数。The image signal processing device according to claim 15, wherein the storage unit further stores a second parameter group, the second parameter group including the first parameter corresponding to the first type operation and the corresponding The third parameter of the three types of operations, and does not include the second parameter corresponding to the second type of operations.
PCT/CN2018/115200 2018-11-13 2018-11-13 Image signal processing device and method WO2020097788A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/115200 WO2020097788A1 (en) 2018-11-13 2018-11-13 Image signal processing device and method
CN201880002189.4A CN111436214B (en) 2018-11-13 2018-11-13 Image signal processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/115200 WO2020097788A1 (en) 2018-11-13 2018-11-13 Image signal processing device and method

Publications (1)

Publication Number Publication Date
WO2020097788A1 true WO2020097788A1 (en) 2020-05-22

Family

ID=70730210

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/115200 WO2020097788A1 (en) 2018-11-13 2018-11-13 Image signal processing device and method

Country Status (2)

Country Link
CN (1) CN111436214B (en)
WO (1) WO2020097788A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050046884A1 (en) * 2003-08-28 2005-03-03 Fuji Photo Film Co., Ltd. Image processing apparatus, and image processing program storage medium
CN103748884A (en) * 2011-08-30 2014-04-23 索尼公司 Image processing device and image processing method
CN108230230A (en) * 2017-12-29 2018-06-29 深圳开立生物医疗科技股份有限公司 A kind of partition method of image parameter, device and computer readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4092921B2 (en) * 2002-01-30 2008-05-28 ソニー株式会社 Information signal processing apparatus, information signal processing method and image display apparatus, coefficient seed data generating apparatus and generating method used therefor, coefficient data generating apparatus and generating method, program for executing each method, and program thereof Recorded computer-readable medium
JP4723313B2 (en) * 2005-08-24 2011-07-13 パナソニック株式会社 Image processing device
US20070171308A1 (en) * 2006-01-25 2007-07-26 Chih-Lin Hsuan Methods of color index searching
TWI366181B (en) * 2007-06-12 2012-06-11 Au Optronics Corp Method and apparatus for image enlargement and enhancement
JP6189240B2 (en) * 2014-03-26 2017-08-30 株式会社東芝 Image processing apparatus, treatment system, and image processing method
JP6613699B2 (en) * 2015-08-10 2019-12-04 株式会社リコー Image processing device
WO2018058695A1 (en) * 2016-10-01 2018-04-05 深圳市汇顶科技股份有限公司 Fingerprint image processing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050046884A1 (en) * 2003-08-28 2005-03-03 Fuji Photo Film Co., Ltd. Image processing apparatus, and image processing program storage medium
CN103748884A (en) * 2011-08-30 2014-04-23 索尼公司 Image processing device and image processing method
CN108230230A (en) * 2017-12-29 2018-06-29 深圳开立生物医疗科技股份有限公司 A kind of partition method of image parameter, device and computer readable storage medium

Also Published As

Publication number Publication date
CN111436214B (en) 2023-06-27
CN111436214A (en) 2020-07-21

Similar Documents

Publication Publication Date Title
US8581913B2 (en) Data processing apparatus and image processing apparatus
WO2023029936A1 (en) Audio and video synchronization method and apparatus based on different reference clocks, and computer device
US10346323B2 (en) Data transfer device and data transfer method for smoothing data to a common bus
WO2020097788A1 (en) Image signal processing device and method
US9367496B2 (en) DMA transfer device and method
US20080049120A1 (en) Video frame buffer
CN104378583A (en) Apparatus and method for composition image for avm system
CN114449178A (en) Video signal transmission control method and video signal transmission system
US10452583B2 (en) Data transfer device and data transfer method having a shorter time interval between pieces of final transfer data in a frame image
US8178847B2 (en) Data processing using reduced onboard memory
US20120144150A1 (en) Data processing apparatus
JP4343484B2 (en) Image data processing apparatus and imaging system
CN114071038B (en) Image processing system and method
US20070195086A1 (en) Scene change determination device/method and data transfer device/method
US10672107B2 (en) Image processing apparatus and method of controlling the same
JP4759628B2 (en) Image data processing apparatus, imaging system, image data processing method, computer program, and computer-readable storage medium
US7193928B2 (en) Signal output device and method for the same
JP2000059800A (en) Image signal processing circuit
JP2010245664A (en) Image processor, method of adjusting sampling position, and a/d converter
JP4987957B2 (en) Head-separated imaging apparatus, control unit thereof, and signal processing method
US20080291211A1 (en) Pixel data transfer controller and pixel data transfer control method
JP6205980B2 (en) Image transfer apparatus and image transfer method
JP6026001B2 (en) Data transfer apparatus and data transfer method
JP2007020019A (en) Memory controller and synchronization device of signal string
JPH10326258A (en) Data arithmetic system and method therefor

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: 18940204

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: 18940204

Country of ref document: EP

Kind code of ref document: A1