CN102118550B - Reference table updating method - Google Patents

Reference table updating method Download PDF

Info

Publication number
CN102118550B
CN102118550B CN 200910258892 CN200910258892A CN102118550B CN 102118550 B CN102118550 B CN 102118550B CN 200910258892 CN200910258892 CN 200910258892 CN 200910258892 A CN200910258892 A CN 200910258892A CN 102118550 B CN102118550 B CN 102118550B
Authority
CN
China
Prior art keywords
comparisons
contrast
execution
interpolation
sublist
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 200910258892
Other languages
Chinese (zh)
Other versions
CN102118550A (en
Inventor
林伯荣
张达铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Altek Corp
Original Assignee
Altek Corp
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 Altek Corp filed Critical Altek Corp
Priority to CN 200910258892 priority Critical patent/CN102118550B/en
Publication of CN102118550A publication Critical patent/CN102118550A/en
Application granted granted Critical
Publication of CN102118550B publication Critical patent/CN102118550B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a reference table updating method which is applicable to an image processing device. The image processing device comprises multiple inserted table lookup devices containing an execution reference table. The reference table updating method is used for updating the multiple inserted table lookup devices according to a source reference table. The reference table updating method comprises the following steps of: dividing the source reference table into a plurality of reference sub-tables; and updating the content of the execution reference table respectively in a plurality of vertical blanking intervals by using the reference sub-tables. By using the reference table updating method provided by the invention, the execution reference table of the multiple inserted table lookup devices is gradually updated in the vertical blanking intervals. When the parameters of the shooting environment are changed, the multiple inserted table lookup devices can provide the result of the execution reference table by using the N-point insertion method in real time. Along with the gradual updating of the execution reference table, the multiple inserted table lookup devices can provide more accurate insertion result. In addition, the reference table updating method provided by the invention does not need to add a cache or memory, so that cost and power consumption are reduced in comparison with the traditional updating method.

Description

The update method of the table of comparisons
Technical field
The present invention relates to a kind of update method of the table of comparisons, particularly a kind of update method of the table of comparisons of image processor.
Background technology
The user can use pick-up image (image) or the videos (video) such as digital camera or video camera, and obtains play-overing the image viewed and admired/video output file.Yet the devices such as digital camera are initial data (raw data) by the getable data of transducer (sensor) at first, and initial data need be carried out many processing through image processor and just can be offered the user and view and admire.In the process of carrying out image processing; image processor can be consulted the various tables of comparisons (look up table usually; LUT) to improve the speed of processing; this be because of LUT quite be a memory body; with array kenel store results; just can find corresponding result according to index afterwards, therefore can exempt numerous and diverse calculating, save time, develop efficiency.
The content of the table of comparisons can be because of the change of user's shooting environmental parameter, and its content update need to be become corresponding content.And along with the progress of science and technology, the user also increases for the requirement of the quality of image, so needs to be received in more meticulousr contents in the table of comparisons.Need to spend the longer time when in other words, upgrading the table of comparisons inserts more data.Thus, when processing video, just may occur because of can't be in real time (real time) with table of comparisons renewal, and cause mistake in the image processing.
Existing table of comparisons update method is to upgrade the table of comparisons in the vertical blank interval (verticalblanking interval, VBI) of adopting when the scan video frame, and namely the neutral gear when switch frame upgrades the table of comparisons.But because the system of image processor is tending towards complicated, when environmental parameter changes, still needs and process many renewal tables of comparisons thing in addition.Therefore but the table of comparisons just is difficult in the vertical blank interval real-time update and finishes, and makes a mistake when causing processing next frame.Add the required frame frequency of user (frame rate) more and more higher, this also so that the vertical blank interlude significantly reduced, so more easily make mistakes.
Another kind of existing table of comparisons update method then is the one group of shadow table (shadow table) that increase more, when processing present frame just in advance the content of the table of comparisons that next frame is required deposit in the shadow table, afterwards with regard to changeable so far the shadow table of update content come for next frame.Yet, this way is still needed increases by one group of buffer or memory body, therefore meeting and is organized the required additional buffered device of the table of comparisons or memory body may reach 10kb (kilobytes) so that hardware and power consumption increase more, this is sizable cost burden for image processor.
Summary of the invention
For addressing the above problem, the invention provides a kind of update method of the table of comparisons, it is suitable for an image processor.Image processor comprises the multiple interpolation table look-up device with an execution table of comparisons (look up table, LUT), and the update method of the table of comparisons is upgraded multiple interpolation table look-up device according to a source table of comparisons.The update method of the table of comparisons mainly is the table of comparisons content with required renewal, be distributed to different a plurality of vertical blanks interval (vertical blanking interval, VBI) go to fill in, not only can overcome the existing disappearance that needs to increase additional buffered device or memory body, can make again table look-up device have multiple interpolation precision.
The update method of the table of comparisons of the present invention comprises: cutting apart the source table of comparisons is a plurality of contrast sublists; And utilize these contrast sublists respectively in a plurality of vertical blanks interval, upgrade the content of carrying out the table of comparisons.
According to an enforcement example of the present invention, the contrast sublist is to distinguish corresponding N point interpolation method.The execution table of comparisons is contrasted sublist and is upgraded, and then can be so that the corresponding N point of multiple interpolation table look-up device interpolation method.Wherein N can be 2m, and m is the integer more than or equal to 1.
According to an enforcement example of the present invention, the execution table of comparisons still can be cut into a plurality of index sections, and respectively corresponding these index sections of these contrast sublists, with the index section respectively at renewal correspondence in these vertical blank intervals.
Wherein, the contrast sublist also can be distinguished corresponding N point interpolation method.The index section is contrasted sublist and is upgraded, and then can be so that the index section of multiple interpolation table look-up device is corresponding N point interpolation method, and wherein N can be 2m, and m is the integer more than or equal to 1.
In addition, after the execution table of comparisons was contrasted the sublist renewal, these index sections of carrying out the table of comparisons can N point interpolation method corresponding to while.
In sum, the invention provides the update method of the table of comparisons, in a plurality of vertical blanks interval, little by little upgrade the execution table of comparisons of multiple interpolation table look-up device.When the shooting environmental parameter change, multiple interpolation table look-up device can provide the result who carries out the table of comparisons with N point interpolation method in real time.And be updated step by step along with carrying out the table of comparisons, multiple interpolation table look-up device can provide better accurately interpolation result.In addition, the update method of the table of comparisons provided by the invention does not need to increase buffer or memory body, and therefore more existing update method is saved cost and power consumption.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 is the block diagram of the image processor of one enforcement example according to the present invention;
Fig. 2 is the schematic diagram for the vertical blank interval of one enforcement example according to the present invention;
Fig. 3 is the schematic flow sheet of the update method of the table of comparisons of one enforcement example according to the present invention;
Fig. 4 is the schematic diagram of the source table of comparisons of one enforcement example according to the present invention;
Fig. 5 A is one index value and the desired value schematic diagram of implementing the execution table of comparisons after the renewal of example according to the present invention;
Fig. 5 B is one index value and the desired value schematic diagram of implementing the execution table of comparisons after the renewal of example according to the present invention;
Fig. 5 C is one index value and the desired value schematic diagram of implementing the execution table of comparisons after the renewal of example according to the present invention;
Fig. 5 D is one index value and the desired value schematic diagram of implementing the execution table of comparisons after the renewal of example according to the present invention;
Fig. 5 E is one index value and the desired value schematic diagram of implementing the execution table of comparisons after the renewal of example according to the present invention;
Fig. 6 is the renewal schematic flow sheet of the execution table of comparisons of one enforcement example according to the present invention;
Fig. 7 is the schematic flow sheet of the update method of another table of comparisons of implementing example according to the present invention;
Fig. 8 is the renewal schematic flow sheet of the execution table of comparisons of one enforcement example according to the present invention; And
Fig. 9 is another index value and desired value schematic diagram of implementing the execution table of comparisons after the renewal of example according to the present invention.
Wherein, Reference numeral
20 image processors
21 image sensors
22 sensor controllers
23 microprocessors
24 image processors
25 coders
26 holders
27 buffers
28 display engine unit
29 I/O units
30 display unit
40 multiple interpolation table look-up devices
The 42 source tables of comparisons
44 carry out the table of comparisons
50 image datas
52 horizontal blank spaces
VBI-1, VBI-2, VBI-3, VBI-4, VBI-5 vertical blank interval
VBI-1 ', VBI-2 ', VBI-3 ' vertical blank interval
Embodiment
Below in execution mode, be described in detail detailed features of the present invention and advantage, its content is enough to make those skilled in the art to understand technology contents of the present invention and implements according to this, and according to the disclosed content of this specification, claim scope and graphic, those skilled in the art can understand purpose and the advantage that the present invention is correlated with easily.
The invention provides a kind of update method of the table of comparisons, it is applicable to an image processor, and image processor comprises the multiple interpolation table look-up device with an execution table of comparisons (look up table, LUT).Wherein image processor can be the mobile phone of digital camera, video camera, tool camera function or other device with IPF etc.Certainly also be fit to have the system of IPF, calculator systems such as desktop computer or server according to the update method of the table of comparisons of the present invention.
Fig. 1 is the block diagram for the image processor of one enforcement example according to the present invention.About the image processor 20 that the present invention was suitable for to be but to be not limited to the framework that Fig. 1 illustrates.Image processor 20 can comprise an image sensor (image sensor) 21, one sensor controller (sensorcontroller) 22, one microprocessor (micro processor) 23, one image processor (ImageSignal Processor, ISP) 24, one coder (codec) 25, one holder (external storage) 26, one buffer (buffer) 27, one display engine unit (display engine unit), 28 and one I/O unit (Input/Output unit, IO unit) 29.
Image sensor 21 is for sensing image, such as image acquisition unit or the image photosensory assembly that can be the devices such as digital camera, mobile phone or video camera.For example, image sensor 21 can be Charged Coupled Device (Charge Coupled Device, CCD), or complementary metal oxide semiconductors (CMOS) (Complementary Metal-Oxide-Semiconductor, CMOS) photosensory assembly.
Sensor controller 22 can produce high-speed control signal and control image sensor 21.Microprocessor 23 can be used for controlling the running of image processor 20 and the start of each assembly.Buffer 27 is for temporal data, can directly call from buffer 27 when microprocessor 23 is wanted usage data, to improve the execution usefulness of microprocessor 23.
Image processor 24 can be processed signal of video signal according to many programs, and the image of processing can be stored in the holder 26, afterwards can via display engine unit 28 with image display in the display unit 30 of image processor 20 electric connections on.And image processor 24 of the present invention and display engine unit 28 all have the multiple interpolation table look-up device 40 of carrying out the table of comparisons.Wherein multiple interpolation table look-up device 40 can have multiple interpolation precision, that is to say that multiple interpolation table look-up device 40 can corresponding N point interpolation method.Can support 2 interpolation methods, 4 interpolation methods, 8 interpolation methods or 16 interpolation methods etc. such as multiple interpolation table look-up device 40, come to obtain a desired value corresponding to index value according to an index value of carrying out the table of comparisons to utilize interpolation method.Having in addition a source table of comparisons in holder 26, is be used to providing multiple interpolation table look-up device 40 to upgrade the content that it carries out the table of comparisons.
Take digital camera as example, when the user will change environmental parameter when taking, for example switching to the video recording pattern from shooting static images pattern just can cause the execution table of comparisons to be updated, change in addition (the International Organization for Standardization of International Standards Organization of camera as the user, ISO, the photosensitivity that is called again camera), when white balance (Auto White Balance) or scene mode (scene mode), again or when the user changes with image processor 20 links to each other display unit 30, all may cause needs to upgrade the execution table of comparisons.
Implement example according to of the present invention one, the source table of comparisons can be that a three primary colors table of comparisons (RGB table), a YC concentration table of comparisons (YUV table), an Automatic white balance table of comparisons (Auto White Balance table, AWB table), a linearity turn the non-linear table of comparisons (linear tonon-linear table), the non-linear linear table of comparisons (non-linear to linear table) or the lens shade table of comparisons (lens shading table) of turning with carrying out the table of comparisons.
Moreover display unit 30 can be to be installed on the image processor 20, or external with image processor 20, such as video screen.But holder 26 1 external storages, it also still can store untreated image data except can storing the image data of processing.Preferably, holder 26 is Dynamic Random Access Memory (Dynamic Random Access Memory, DRAM) or Double Data Rate synchronous dynamic random-access memory body (Double Data Rate Synchronous DynamicRandom Access Memory, DDR SDRAM is also referred to as DDR).
25 of coders are for signal of video signal being encoded and compressing, for example can be Audio Video Interleaved form (Audio Video Interleave format with video conversion, AVI format) or the video format such as Motion Picture Expert Group form (Moving Picture Experts Group, MPEG format).
I/O unit 29 can be such as the memory external card control units, is used for processing video data later and is stored to memory card.Wherein memory card can be safe digital card (SECURED DIGITALCARD, the SD card), memory body storehouse memory card (MEMORY STICK MEMORY CARD, MS) or compact flash memory card (COMPACT FLASH MEMORY CARD, CF) etc.
The aforesaid image processor 20 of please arranging in pairs or groups simultaneously below is the update method that further discloses according to the table of comparisons of the present invention.The update method of the table of comparisons mainly is that the content to the required renewal of the execution table of comparisons of multiple interpolation table look-up device 40 is dispersed in different vertical blank interval (vertical blanking interval, VBI) and goes to upgrade:
Please refer to Fig. 2, it is the schematic diagram for the vertical blank interval of one enforcement example according to the present invention.The image that image sensor 21 captures has a plurality of frames, such as frame 1, frame 2, frame 3, frame 4 and frame 5 etc.Each frame has into a plurality of image datas 50 of row, therefore when reading frame, be sequentially to scan and read this a little image datas 50 by column.With frame 1 for instance, read from the beginning to the end completely at the image data 50 of row of frame 1, before the head of image data 50 of wanting the migration next column, had an of short duration blanking time.Be exactly so-called one horizontal blank spaces (horizontal blanking interval, HBI) 52 this blanking time.The vertical blank interval is then for after all image datas 50 all are read in a frame of video, to first row image data 50 interval before of wanting the next frame of migration.When for example switching to next frame 2 from frame 1, the time difference of two interframe is exactly vertical blank interval VBI-2.
Then please refer to Fig. 3, it is the schematic flow sheet for the update method of the table of comparisons of one enforcement example according to the present invention.Update method in the table of comparisons can comprise step S70: cutting apart the source table of comparisons is a plurality of contrast sublists; Step S80: utilize these contrast sublists respectively in a plurality of vertical blanks interval, upgrade the content of carrying out the table of comparisons; And, step S90: judge whether to carry out the table of comparisons and upgraded by all contrast sublists.
The source table of comparisons that uses among the update method of the table of comparisons can exist in the holder 26.When the user utilized the operation-interface of image processor 20 to change the shooting environmental parameter, the execution table of comparisons content of multiple interpolation table look-up device 40 need to be updated thereupon.This moment, microprocessor 23 can send a update command to image processor 24, further upgraded the content of the execution table of comparisons in the multiple interpolation table look-up device 40 with the source table of comparisons content of being deposited according to holder 26.Perhaps, when the user changes with image processor 20 links to each other display unit 30, may cause display engine unit 28 interior multiple interpolation table look-up devices 40 to be updated.At this moment, microprocessor 23 also can send update command to display engine unit 28, goes the content of the execution table of comparisons of the multiple interpolation table look-up device 40 in the update displayed engine unit 28 with the source table of comparisons that is had according to holder 26.
According to an enforcement example of the present invention, the source table of comparisons can be that the above-mentioned three primary colors table of comparisons, the YC concentration table of comparisons, the Automatic white balance table of comparisons, linearity turns the non-linear table of comparisons, the non-linear linear table of comparisons, the lens shade table of comparisons, the liquid crystal display gal code accent table of comparisons (LCD gamma tone table) or the TV gal code of turning transferred the table of comparisons (TV gamma tone table).
Please be simultaneously with reference to Fig. 4, it is the schematic diagram for the source table of comparisons of one enforcement example according to the present invention.Fig. 4 represents the source index value (x value) of the table of comparisons 42 and desired value (y value) mode with described point, and wherein the meaning that physically represents of x axle and y axle is to comply with the content of the table of comparisons 42 of originating and decide.Turn the non-linear table of comparisons as example take linearity, the x value is the expression linear image, and the y value is the non-linear image of expression.In this enforcement example, the storage volume of the source table of comparisons 42 is 4, then has altogether 17 group index value and desired values, comprises that namely index value x is the data of 0~16 desired value.
In step S70, the source table of comparisons 42 can be divided into a plurality of contrast sublists, upgrades one by one the execution table of comparisons to use these contrast sublists.
Then in step S80, owing to having a plurality of vertical blank intervals in a plurality of interframe, frame 1 as shown in Figure 2, frame 2, frame 3, frame 4, frame 5, vertical blank interval VBI-1, VBI-2, VBI-3, VBI-4 and VBI-5.And image processor 24 is the contents with the execution table of comparisons of wish renewal, is distributed to the different vertical blank spaces and goes to upgrade.Namely sequentially upgrade gradually the content of carrying out the table of comparisons according to the contrast sublist at different vertical blank intervals respectively.
In more detail, each contrast sublist is once to upgrade the full content of carrying out the table of comparisons when upgrading the execution table of comparisons, is about to contrast the sublist content replication to the execution table of comparisons of multiple interpolation table look-up device 40.And, when the corresponding N point of employed contrast sublist in this vertical blank interval interpolation method (also can say this contrast sublist support N point interpolation method), then carry out the table of comparisons and upgraded by the contrast sublist of corresponding N point interpolation method, and so that also corresponding N point interpolation method of multiple interpolation table look-up device 40.That is to say, multiple interpolation table look-up device 40 has N point interpolation precision, and then to make multiple interpolation table look-up device 40 be for supporting the table look-up device of N point interpolation method.Thus, can obtain not yet being contrasted according to N point interpolation method the desired value of sublist renewal.Wherein N is 2m, and m is the integer more than or equal to 1.
For example when employed contrast sublist is supported 2 interpolation methods in this vertical blank interval, carry out the table of comparisons and be subjected to this contrast sublist renewal of supporting 2 interpolation methods and have 2 interpolation precisions.This moment, multiple interpolation table look-up device 40 was the table look-up devices that can support 2 interpolation methods, can utilize 2 interpolation methods to obtain desired value.In like manner, when employed contrast sublist in this vertical blank interval is when supporting 4 interpolation methods, carry out the table of comparisons and be subjected to this contrast sublist renewal of supporting 4 interpolation methods and have 4 interpolation precisions.This moment, multiple interpolation table look-up device 40 was the table look-up devices that can support 4 interpolation methods, can utilize 4 interpolation methods to obtain desired value, and the rest may be inferred.
Moreover, can be according to the length at vertical blank interval, or in the vertical blank interval, need the quantity of the execution table of comparisons that upgrades to cut apart the source table of comparisons 42.For example, when the vertical blank interval was longer, representative can be carried out more computing in the vertical blank interval, therefore the source table of comparisons 42 can be divided into less part contrast sublist.And if when image processor 24 or display engine unit 28 etc. has a plurality of execution tables of comparisons to be updated simultaneously, representing each, to carry out the operation time that table of comparisons can assign to less, upgrades gradually and the source table of comparisons 42 need to be divided into more part contrast sublist.
In step S90, judge whether to carry out the table of comparisons and upgraded by all contrast sublists at last.If the execution table of comparisons of multiple interpolation table look-up device 40 has upgraded fully (content of the table of comparisons 42 of namely originating has copied to fully and carried out the table of comparisons), carrying out the table of comparisons before receiving new update command does not just need to be updated again.Give the contrast sublist of carrying out the table of comparisons if still have not copy fully in the table of comparisons 42 of source, be convenient to continue in the next vertical blank interval to upgrade carry out the table of comparisons until multiple interpolation table look-up device 40 is upgraded by all contrast sublists.
Should be noted, complete even the execution table of comparisons is not yet upgraded fully, if when receiving new update command, still need again to upgrade multiple interpolation table look-up device 40 with the source table of comparisons 42 of new appointment according to new update command.
Next please refer to Fig. 5 A, Fig. 5 B, Fig. 5 C, Fig. 5 D and Fig. 5 E, it is respectively according to of the present invention one index value and the desired value schematic diagram of implementing the execution table of comparisons after the renewal of example.And please be simultaneously with reference to Fig. 6, it be the flow chart of implementing the renewal execution table of comparisons content of example according to of the present invention one, in order to be described in more detail step S70, and the situation that is updated of the execution table of comparisons 44 of the multiple interpolation table look-up device 40 among the step S80.
In this enforcement example, suppose in the vertical blank interval, can only upgrade at most four a group index values target value data separately, and 17 group index values of the source table of comparisons 42 and desired value are split into 5 contrast sublists, the first contrast sublist, the second contrast sublist, the 3rd contrast sublist, the 4th contrast sublist and the 5th contrast sublist.These contrast sublists are upgraded the content of carrying out the table of comparisons 44 respectively at five vertical blank VBI-1 blanking time to VBI-5, as shown in Figure 6.
The first contrast sublist comprises that index value x is 0,8 and 16 target value data, is the contrast sublist that can support 8 interpolation methods, upgrades when being used for vertical blank interval VBI-1 and carries out the table of comparisons 44.Shown in Fig. 5 A, carry out the table of comparisons 44 and be updated three points, namely have index value x and be 0,8 and 16 target value data.Process images when image processor 24 and need consult when carrying out the table of comparisons 44, just can obtain index value x and be 0,8 and 16 correct desired value (y value), and the execution table of comparisons 44 has 8 interpolation precisions.When to need index value x be 1 to 7 or 9 to 15 desired value, multiple interpolation table look-up device 40 namely was 0,8 and 16 target value data according to index value x, obtains desired value with 8 interpolation methods.
The second contrast sublist comprises that index value x is 0,4,8,12 and 16 target value data, is the contrast sublist that can support 4 interpolations, is used for vertical blank interval VBI-2 and upgrades the execution table of comparisons 44.Shown in Fig. 5 B, carry out the table of comparisons more than 44 and be updated two points, namely newly-increased index value x is 4 and 12 target value data.Therefore, present multiple interpolation table look-up device 40 common tool index value x are five groups of target value datas of 0,4,8,12 and 16, and the execution table of comparisons 44 has 4 interpolation precisions.When needs index value x was 1 to 3,5 to 7,9 to 11 or 13 to 15 desired value, multiple interpolation table look-up device 40 can be 0,4,8,12 and 16 target value data according to index value x, obtains desired value with 4 interpolation methods.
The 3rd index value x of comprising of contrast sublist is 0,2,4,6,8,10,12,14 and 16 target value data, is the contrast sublist that can support 2 interpolations, upgrades when being used for vertical blank interval VBI-3 and carries out the table of comparisons 44.Similarly, shown in Fig. 5 C, carry out the table of comparisons more than 44 and be updated four points, increase index value x more newly and be 2,6,10 and 14 desired value.The multiple interpolation table look-up device 40 common tool index values 0,2,4,6,8,10,12 of this moment, nine groups of target value datas of 14 and 16, and the execution table of comparisons 44 has 2 interpolation precisions.When to need index value x be 1,3,5,7,9,11,13 and 15 desired value, 40 of multiple interpolation table look-up devices were 0,2,4,6,8,10,12,14 and 16 target value data according to index value x, obtain desired value with 2 interpolation methods.
After having passed through three renewals, the execution table of comparisons 44 of this moment has had the 9 group index values target value data corresponding with it.And surplus 8 groups of data are unknown, and namely index value x is that 8 groups of target value datas of 1,3,5,7,9,11,13 and 15 are unknown.But in a vertical blank interval, can only upgrade at most the target value data of 4 group index values, so two vertical blank interludes of minimum needs upgrade.Therefore, utilize the 4th contrast sublist and the 5th contrast sublist to upgrade to carry out the table of comparisons 44 at vertical blank interval VBI-4 and VBI-5, wherein the 4th contrast sublist comprises that index value x is 1,3,5 and 7 target value data, and the 5th contrast sublist comprises that index value x is 9,11,13 and 15 target value data.
Shown in Fig. 5 D, carry out the table of comparisons 44 and be updated four points in vertical blank interval VBI-4 according to the 4th contrast sublist, the index value x of newly-increased the 4th contrast sublist is 1,3,5 and 7 target value data.The multiple interpolation table look-up device 40 common tool index values 0,1,2,3,4,5,6,7,8,10,12 of this moment, 14 and 16 data, and when to need index value x be 9,11,13 and 15 desired value, 40 of multiple interpolation table look-up devices are 8,10,12,14 and 16 target value data according to index value x, obtain desired value with 2 interpolation methods.
At last, such as Fig. 5 E, carry out the table of comparisons 44 and be updated four points according to the 5th contrast sublist, the index value x that namely obtains the 5th contrast sublist is 9,11,13 and 15 desired value, just obtains the content such as the complete source table of comparisons 42 of Fig. 4.The multiple interpolation table look-up device 40 of this moment is with regard to the target value data of all index values 0~16 of tool, thus can directly obtain the corresponding desired value of arbitrary index value, and do not need to carry out interpolation.
It should be noted that the content of interpolation table look-up device 40 can be more and more accurate at the above-mentioned interpolation precision of carrying out the table of comparisons 44 and changing multiple interpolation table look-up device 40 that progressively upgrades, resulting desired value also can more and more be approached real desired value.
In addition, though the above-mentioned example of respectively implementing all upgrades in continuous vertical blank interval, in fact carrying out the table of comparisons 44 does not need to be updated in continuous vertical blank interval.
The present invention also proposes the update method of the another kind of table of comparisons, except being to be dispersed in the concept of going to upgrade in different vertical blank intervals in line with the content of carrying out the table of comparisons 44 required renewals, also disclose how to make multiple interpolation table look-up device 40 have the table lookup function of a Multi sectional interpolation method.
Please refer to Fig. 7, is for implementing the schematic flow sheet of update method of the table of comparisons of example according to of the present invention another.Update method in the table of comparisons can comprise step S110: cutting apart the execution table of comparisons is a plurality of index sections; Step S120: cutting apart the source table of comparisons is a plurality of contrast sublists, and the contrast sublist is corresponding with the index section respectively; Step S130: utilize these contrast sublists respectively in a plurality of vertical blanks interval, upgrade and carry out corresponding index section in the table of comparisons; And, step S140: judge whether to carry out the table of comparisons and upgraded by all contrast sublists.
For example when the user utilized the operation-interface of image processor 20 to change the shooting environmental parameter, the content of the execution table of comparisons 44 of multiple interpolation table look-up device 40 need to be updated thereupon.This moment, microprocessor 23 can send update command to image processor 24, further upgraded the content of the execution table of comparisons 44 in the multiple interpolation table look-up device 40 with the content of the source table of comparisons 42 deposited according to holder 26.
Perhaps, when the user changes with image processor 20 links to each other display unit 30, also may cause display engine unit 28 interior multiple interpolation table look-up devices 40 to be updated.At this moment, microprocessor 23 also can send update command to display engine unit 28, goes the content of the execution table of comparisons 44 of the multiple interpolation table look-up device 40 in the update displayed engine unit 28 with the source table of comparisons 42 that is had according to holder 26.
And as shown in Figure 4, the source table of comparisons 42 is to have 17 group index values and its desired value, and more detailed content is as in the aforementioned content that discloses, and then repeats no more.
At step S110, be to cut apart the execution table of comparisons 44 to be a plurality of index sections.For example 17 index values can be divided into three index sections, index section 0≤x≤4, index section 4≤x≤8 and index section 8≤x≤16.
At step S120, be to cut apart the source table of comparisons 42 to be a plurality of contrast sublists.For example the aforementioned execution table of comparisons 44 estimates to be divided into three index sections renewals, and the table of comparisons 42 of therefore originating just can be divided into three contrast sublists (the first contrast sublist, the second contrast sublist and the 3rd contrast sublist) are carried out the table of comparisons 44 with correspondence three index sections.
At step S130, be to utilize these contrast sublists to carry out corresponding index section in the table of comparisons 44 respectively at upgrading in a plurality of vertical blanks interval.Carry out the table of comparisons 44 and upgraded by these corresponding contrast sublists, and make multiple interpolation table look-up device 40 corresponding these N point interpolation methods.After being contrasted the sublist renewal, carry out the simultaneously different N point interpolation method of correspondence of the table of comparisons 44.
For example the first contrast sublist, the second contrast sublist and the 3rd contrast respectively three index sections of the corresponding execution table of comparisons 44 of sublist, and respectively at upgrading the manipulative indexing section in three vertical blank intervals.Moreover, when the contrast sublist is supported N point interpolation method, after the contrast sublist of the supported N point of this index section interpolation method is upgraded, just can be so that multiple interpolation table look-up device 40 can obtain desired value according to N point interpolation method in the index section.Wherein N is that 2m and m are the integer more than or equal to 1.
For ease of explanation, please cooperate the one renewal schematic flow sheet of implementing the execution table of comparisons of example according to the present invention of Fig. 8.As shown in Figure 8, the first contrast sublist to the three contrast sublists are respectively allocated to three vertical blank interval VBI-1 ', VBI-2 ' and VBI-3 ' upgrades corresponding index section in the execution table of comparisons 44, and the execution table of comparisons 44 after the renewal just as shown in Figure 9.
The first contrast sublist comprises that index value x is 0,2 and 4 target value data, is to support 2 interpolation methods, is used for renewal and carries out the index section 0≤x of the table of comparisons 44≤4.Carry out that to have index value x after the table of comparisons 44 is upgraded by the first contrast sublist be 0,2 and 4 target value data.Therefore multiple interpolation table look-up device 40 within index section 0≤x≤4, can utilize 2 interpolation methods to obtain desired value.The second contrast sublist comprises that index value x is 4 and 8 target value data, is to support 4 interpolation methods, is used for renewal and carries out the index section 4≤x of the table of comparisons 44≤8.Carry out that to have in addition index value x after the table of comparisons 44 is upgraded by the second contrast sublist be 4 and 8 target value data.Therefore multiple interpolation table look-up device 40 within index section 4≤x≤8, can utilize 4 interpolation methods to obtain desired value.And the 3rd contrast sublist comprises that index value is 8 and 16 target value data, is to support 8 interpolation methods, is used for renewal and carries out the index section 8≤x of the table of comparisons 44≤16.Carry out that to have in addition index value x after the table of comparisons 44 is upgraded by the 3rd contrast sublist be 8,16 target value data.Therefore multiple interpolation table look-up device 40 within index section 8≤x≤16, can utilize 8 interpolation methods to obtain desired value.
That is to say, after the execution table of comparisons 44 was contrasted the sublist renewal, these index sections of carrying out the table of comparisons 44 can N point interpolation method corresponding to while.So multiple interpolation table look-up device 40 is a kind of Multi sectional interpolation table look-up devices.In the different sections of multiple interpolation table look-up device 40, can utilize the interpolation method of the interpolation precision corresponding with each index section to obtain desired value, further realize gradual function of tabling look-up.
And, can determine according to demand the cutting apart number, cut apart scope of the index zone of the aforementioned execution table of comparisons 44, and the required interpolation precision in each zone, be not limited with above-mentioned enforcement example.
In step S140, judge whether to carry out the table of comparisons 44 and upgraded by all contrast sublists at last.If the execution table of comparisons 44 of multiple interpolation table look-up device 40 has upgraded fully (content of the table of comparisons 42 of namely originating has copied to fully and carried out the table of comparisons 44), just do not need to be updated again at the front execution table of comparisons 44 of receiving new update command.Give the contrast sublist of carrying out the table of comparisons 44 if still have not copy fully in the table of comparisons 42 of source, be convenient to continue in the next vertical blank interval to upgrade carry out the table of comparisons 44 until multiple interpolation table look-up device 40 is upgraded by all contrast sublists.
Should be noted, complete even the execution table of comparisons 44 is not yet upgraded fully, if when receiving new update command, still need again to upgrade multiple interpolation table look-up device 40 with the source table of comparisons 42 of new appointment according to new update command.
In addition, though the above-mentioned example of respectively implementing all upgrades in continuous vertical blank interval, in fact carrying out the table of comparisons does not need to be updated in continuous vertical blank interval.
In sum, the update method of the table of comparisons provided by the invention can little by little be upgraded the execution table of comparisons of multiple interpolation table look-up device in a plurality of vertical blanks interval, and changes the interpolation precision of multiple interpolation table look-up device.Thus, multiple interpolation table look-up device also can provide image processor to consult the result who carries out the table of comparisons in real time after scene was switched.And be updated step by step along with carrying out the table of comparisons, multiple interpolation table look-up device can provide better accurately interpolation result as output.In addition, the update method of the table of comparisons provided by the invention does not need buffer or the memory bodys that increase the execution table of comparisons that prestores more, and therefore more existing update method is saved cost and power consumption.
Certainly; the present invention also can have other various embodiments; in the situation that do not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (6)

1. update method of carrying out the table of comparisons, be suitable for an image processor, this image processor comprises the multiple interpolation table look-up device with an execution table of comparisons, and the update method of this execution table of comparisons is upgraded this multiple interpolation table look-up device according to a source table of comparisons, it is characterized in that, the update method of this execution table of comparisons comprises:
Cutting apart this source table of comparisons is a plurality of contrast sublists; And
Utilize these a plurality of contrast sublists respectively in a plurality of vertical blanks interval, upgrade the content of this execution table of comparisons;
Wherein, when each contrast sublist of these a plurality of contrast sublists is upgraded this execution table of comparisons in a vertical blank interval of correspondence, the content replication of employed this contrast sublist in this vertical blank interval is carried out the table of comparisons to this, and should contrast the corresponding N point of sublist interpolation method, N is 2m, and m is the integer more than or equal to 1; And
This execution table of comparisons is subjected to the renewal to this contrast sublist that should N point interpolation method, and makes this multiple interpolation table look-up device to should N point interpolation method.
2. the update method of the execution table of comparisons according to claim 1, it is characterized in that, comprise that also cutting apart this execution table of comparisons is a plurality of index sections, these a plurality of contrast sublists are respectively to should a plurality of index sections and respectively at upgrading these a plurality of index sections in this a plurality of vertical blanks interval.
3. the update method of the execution table of comparisons according to claim 2, it is characterized in that, when each contrast sublist of these a plurality of contrast sublists is upgraded a corresponding index section in a vertical blank interval of correspondence, the employed corresponding N point of the contrast sublist interpolation method of being somebody's turn to do in this vertical blank interval, N is 2m, and m is the integer more than or equal to 1; And
This index section is upgraded by this corresponding contrast sublist and makes this this N point interpolation method of index section correspondence of this multiple interpolation table look-up device.
4. the update method of the execution table of comparisons according to claim 1 is characterized in that, this multiple interpolation table look-up device is configured among the image processor or a display engine unit of this image processor.
5. the update method of the execution table of comparisons according to claim 1, it is characterized in that, this execution table of comparisons and this source table of comparisons are that a three primary colors table of comparisons, a YC concentration table of comparisons, a lens shade table of comparisons, the liquid crystal display gal code accent table of comparisons or a TV gal code are transferred the table of comparisons.
6. the update method of the execution table of comparisons according to claim 1 is characterized in that, this source table of comparisons is stored in the holder of this image processor.
CN 200910258892 2009-12-30 2009-12-30 Reference table updating method Expired - Fee Related CN102118550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910258892 CN102118550B (en) 2009-12-30 2009-12-30 Reference table updating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910258892 CN102118550B (en) 2009-12-30 2009-12-30 Reference table updating method

Publications (2)

Publication Number Publication Date
CN102118550A CN102118550A (en) 2011-07-06
CN102118550B true CN102118550B (en) 2013-01-09

Family

ID=44217131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910258892 Expired - Fee Related CN102118550B (en) 2009-12-30 2009-12-30 Reference table updating method

Country Status (1)

Country Link
CN (1) CN102118550B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073475A (en) * 2016-11-15 2018-05-25 广明光电股份有限公司 The method of the solid state disk backup table of comparisons

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4786968A (en) * 1987-07-16 1988-11-22 Sony Corporation Gamma correction of digital video data by calculating linearly interpolated gamma correction values
EP0862327A2 (en) * 1997-02-27 1998-09-02 Kabushiki Kaisha Toshiba Multi-function TV receiver
CN1447218A (en) * 2002-03-26 2003-10-08 精工爱普生株式会社 Projecting image displaying system, information storage media and image processing method
CN1460917A (en) * 2002-05-20 2003-12-10 精工爱普生株式会社 Image processing system, projector, information storage medium and image processing method
JP3868517B2 (en) * 1994-07-02 2007-01-17 ドイチエ トムソン−ブラント ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Teletext data storage method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4786968A (en) * 1987-07-16 1988-11-22 Sony Corporation Gamma correction of digital video data by calculating linearly interpolated gamma correction values
JP3868517B2 (en) * 1994-07-02 2007-01-17 ドイチエ トムソン−ブラント ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Teletext data storage method
EP0862327A2 (en) * 1997-02-27 1998-09-02 Kabushiki Kaisha Toshiba Multi-function TV receiver
CN1447218A (en) * 2002-03-26 2003-10-08 精工爱普生株式会社 Projecting image displaying system, information storage media and image processing method
CN1460917A (en) * 2002-05-20 2003-12-10 精工爱普生株式会社 Image processing system, projector, information storage medium and image processing method

Also Published As

Publication number Publication date
CN102118550A (en) 2011-07-06

Similar Documents

Publication Publication Date Title
CN1981519B (en) Method and system for displaying a sequence of image frames
US7630584B2 (en) Image processing apparatus, image processing system, imaging apparatus and image processing method
US20090073277A1 (en) Image processing apparatus, image processing method and image pickup apparatus
CN101489021B (en) Image processing system and camera including the same
CN1655593A (en) Camera interface and method using dma unit to flip or rotate a digital image
CN100474890C (en) Image display device
US8081228B2 (en) Apparatus and method for processing image data
US20140111672A1 (en) Image processing device and image capture device
US8269786B2 (en) Method for reading and writing image data in memory
US20110157465A1 (en) Look up table update method
CN113205779A (en) Multi-screen synchronous control method, device and system suitable for electronic ink screen
CN102118550B (en) Reference table updating method
US20110010472A1 (en) Graphic accelerator and graphic accelerating method
CN102164236A (en) Image processing method and device, and imaging apparatus using the image processing device
CN102625086A (en) DDR2 (Double Data Rate 2) storage method and system for high-definition digital matrix
CN101038732A (en) Integration-type image control chip group
US20190005924A1 (en) Data processing systems
US7889915B2 (en) Image processing device and method thereof
US20070183510A1 (en) Method and apparatus for decoding video that alternately store lines of picture in pixel units and method of storing reference picture
JP2001285644A (en) Control method for line memory
US6320594B1 (en) Circuit and method for compressing 10-bit video streams for display through an 8-bit video port
US20130162757A1 (en) Image processing apparatus and image processing method
US20080018661A1 (en) Managing multi-component data
US8913164B2 (en) Image processor, electronic device including image processor, and image processing method for performing stepped tone correction on images
KR101437021B1 (en) Image processing apparatus, image processing method, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130109

Termination date: 20141230

EXPY Termination of patent right or utility model