CN100550969C - Handle method, mobile communication and image processing apparatus that multi-layer image picture coincides - Google Patents

Handle method, mobile communication and image processing apparatus that multi-layer image picture coincides Download PDF

Info

Publication number
CN100550969C
CN100550969C CNB2005100821470A CN200510082147A CN100550969C CN 100550969 C CN100550969 C CN 100550969C CN B2005100821470 A CNB2005100821470 A CN B2005100821470A CN 200510082147 A CN200510082147 A CN 200510082147A CN 100550969 C CN100550969 C CN 100550969C
Authority
CN
China
Prior art keywords
picture data
image frame
masking value
picture
color values
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CNB2005100821470A
Other languages
Chinese (zh)
Other versions
CN1893531A (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.)
Asustek Computer Inc
Original Assignee
Asustek Computer Inc
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 Asustek Computer Inc filed Critical Asustek Computer Inc
Priority to CNB2005100821470A priority Critical patent/CN100550969C/en
Publication of CN1893531A publication Critical patent/CN1893531A/en
Application granted granted Critical
Publication of CN100550969C publication Critical patent/CN100550969C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A kind of method of handling image frame, this method comprises the following step: whether the masking value that detects one first picture data is between a preset range; And when the masking value of this first picture data be in this preset range the time, the masking value according to this first picture data, one second picture data and this second picture data produces three-picture data.

Description

Handle method, mobile communication and image processing apparatus that multi-layer image picture coincides
Technical field
The present invention relates to a kind of method that multi-layer image picture coincides of handling, particularly a kind of method that coincides with translucent Processing Algorithm (alpha blending algorithm) the processing multi-layer image picture of improveing.
Background technology
In the modernized information-intensive society of information communication system high development, electronic installation is widely used in the every field, for example convenient and light and handy hand-held device (comprising digital camera, PDA, mobile phone etc.) is applied in the daily life widely, and the function on the present hand-held device is more and more diversified, has the situation of built-in digital camera also more and more on PDA or the mobile phone.Preview screen on these devices becomes big, and resolution improves, and the CPU ability is stronger.Therefore the image processing or the special efficacy that just have in computer of many scripts can appear in the hand-held device.Yet, because operational capability, memory size and the electric power of hand-held device provide, and is still very limited compared to computer, therefore, providing diversified visual effect to the user in Limited resources as how optimized algorithm is next, is a major challenge.
Under the camera preview mode of hand-held device, except the picture of preview, the user can often need to use user's interface (menu or setting picture etc.), adds special efficacy, frame or other pattern.See also Fig. 1 to Fig. 4, Fig. 1 has now in next camera preview screen 10 of camera preview mode of hand-held device picture view in conjunction with an opaque diagram 12, Fig. 2 is the picture view of the picture of Fig. 1 in conjunction with an opaque menu 14 of non-full screen, Fig. 3 has under the camera preview mode of hand-held device camera preview screen 10 now in conjunction with the picture view of an opaque frame 16, and Fig. 4 has under the camera preview mode of hand-held device camera preview screen 10 now in conjunction with the picture view of opaque diagram 12, opaque menu 14, opaque frame 16.Generally speaking; under the camera preview mode of hand-held device with camera; usually above-mentioned camera preview scene can occur, that is to say, also have extra menu, diagram, special efficacy or background and add all in whole preview screen except by the camera preview screen 10 that camera captured into.Yet owing to camera preview screen 10, opaque diagram 12, opaque menu 14, and wherein one image frame only can appear in opaque frame 16 overlapping parts, therefore except in limited display frame, causing the preview image scope that can watch dwindles because extra menu, diagram, special efficacy or background can cover camera preview screen 10, existing preview screen also can thereby seem dull and lacks diversified visual effect, really is the shortcoming of a blemish in an otherwise perfect thing in the application of the technology hand-held device that improves with rapid changepl. never-ending changes and improvements.
Summary of the invention
The present invention provides a kind of method that coincides with the translucent Processing Algorithm processing multi-layer image picture of improveing, to solve the above problems.
The present invention discloses a kind of method that multi-layer image picture coincides of handling, and this method comprises the following step: whether the masking value that detects one first picture data is between a preset range; And when the masking value of this first picture data be in this preset range the time, masking value according to this first picture data, one second picture data and this second picture data, produce three-picture data, wherein, the pixel color values of these three-picture data is to be (pixel color values of this second picture data) * (masking value of this second picture data)+(pixel color values of this first picture data) * (masking value of this second picture data of 1-).
The present invention discloses a kind of method that multi-layer image picture coincides of handling, and this method comprises the following step: whether the masking value that detects one first picture data is between a preset range; And when the masking value of this first picture data be outside this preset range the time, masking value according to this first picture data, one second picture data and this first picture data, produce three-picture data, wherein, the pixel color values of these three-picture data is to be (pixel color values of this first picture data) * (masking value of this first picture data)+(pixel color values of this second picture data) * (masking value of this first picture data of 1-).
The present invention discloses a kind of mobile communications device that multi-layer image picture coincides of handling, it comprises a logical block, logical block comprises judge module and data generating module, and judge module is used for judging that whether the masking value of this first picture data is between a preset range.Data generating module is used for masking value when this first picture data in this preset range the time, and the masking value according to this first picture data, this second picture data and this second picture data produces three-picture data.Wherein, the pixel color values of these three-picture data is to be (pixel color values of this second picture data) * (masking value of this second picture data)+(pixel color values of this first picture data) * (masking value of this second picture data of 1-).
The present invention discloses a kind of mobile communications device that multi-layer image picture coincides of handling, it comprises a logical block, logical block comprises judge module and data generating module, and judge module is used for judging that whether the masking value of this first picture data is between a preset range.Data generating module is used for masking value when this first picture data outside this preset range the time, and the masking value according to this first picture data, this second picture data and this first picture data produces three-picture data.Wherein, the pixel color values of these three-picture data is to be (pixel color values of this first picture data) * (masking value of this first picture data)+(pixel color values of this second picture data) * (masking value of this first picture data of 1-).
The present invention discloses a kind of image processing apparatus that multi-layer image picture coincides of handling, it comprises a logical block, logical block comprises judge module and data generating module, and judge module is used for judging that whether the masking value of this first picture data is between a preset range.Data generating module is used for masking value when this first picture data in this preset range the time, and the masking value according to this first picture data, this second picture data and this second picture data produces three-picture data.Wherein, the pixel color values of these three-picture data is to be (pixel color values of this second picture data) * (masking value of this second picture data)+(pixel color values of this first picture data) * (masking value of this second picture data of 1-).
The present invention discloses a kind of image processing apparatus that multi-layer image picture coincides of handling, it comprises a logical block, logical block comprises judge module and data generating module, and judge module is used for judging that whether the masking value of this first picture data is between a preset range.Data generating module is used for masking value when this first picture data outside this preset range the time, and the masking value according to this first picture data, this second picture data and this first picture data produces three-picture data.Wherein, the pixel color values of these three-picture data is to be (pixel color values of this first picture data) * (masking value of this first picture data)+(pixel color values of this second picture data) * (masking value of this first picture data of 1-).
Description of drawings
Fig. 1 has under the camera preview mode of hand-held device the camera preview screen now in conjunction with the picture view of opaque diagram.
Fig. 2 is the picture view of the picture of Fig. 1 in conjunction with the opaque menu of non-full screen.
Fig. 3 is the picture view that has the transparent frame of camera preview screen combination under the camera preview mode of hand-held device now.
Fig. 4 has under the camera preview mode of hand-held device the camera preview screen now in conjunction with the picture view of opaque diagram, opaque menu, opaque frame.
Fig. 5 is the function block schematic diagram of mobile communications device of the present invention.
Fig. 6 is the picture view of the present invention's first image frame.
Fig. 7 is the picture view of the present invention's second image frame.
Fig. 8 is the picture view of the present invention's the 3rd image frame.
Fig. 9 is the picture view of the present invention's the 4th image frame.
Figure 10 is the picture view of the present invention's the 5th image frame.
Figure 11 and Figure 12 handle the flow chart that multi-layer image picture coincides for the present invention.
Figure 13 is the picture view of the present invention's the 6th image frame.
Figure 14 is the picture view of the present invention's the 7th image frame.
Figure 15 is the picture view of the present invention's the 8th image frame.
Figure 16 is the picture view of the present invention's the 9th image frame.
Figure 17 handles the Organization Chart that multi-layer image picture coincides for the present invention.
The reference numeral explanation
10 camera preview screen, 12 opaque diagrams
14 opaque menu 16 opaque frames
30 mobile communications devices, 32 housings
34 internal memories, 36 digital camera modules
38 display modules, 39 logical blocks
40 first image frame 40A backgrounds
40B illustrates 42 second image frames
42A background 42B menu
42C literal 44 the 3rd image frame
44A background 44B pattern
46 the 4th image frame 46A frames
46B shields 48 the 5th image frames
50 the 6th image frames 52 the 7th image frame
54 the 8th image frames 56 the 9th image frame
Step S100, S102, S104, S106, S108, S110, S112, S114, S116, S118, S120, S122, S124, S126, S128, S130
Embodiment
See also Fig. 5, Fig. 5 is the function block schematic diagram of the present invention's one mobile communications device 30.Mobile communications device 30 is to can be a mobile phone, mobile communications device 30 comprises a housing 32, be used for coating the intraware of mobile communications device 30, one internal memory 34, be installed in the housing 32, be used for the stored picture data, one digital camera module 36, be used for capturing the image frame of desiring photographed, one display module 38 is used for display picture data, and this display module 38 can be a LCD (liquid crystaldisplay, LCD), and a logical block 39, be installed in the housing 32, be used for calculating the output picture that is presented on display module 38 at last according to the picture data that is stored in internal memory 34, this logical block 39 can comprise a program code, and being used for provides an algorithm computation to go out final output picture with software mode.
See also Fig. 6, Fig. 6 is the picture view of the present invention's one first image frame 40, the background 40A of first image frame 40 can be a solid color, for example be blue, it is set at Transparent color, the background 40A that is to say this solid color be can by after the camera preview screen replace the part fallen, and first image frame 40 comprises a plurality of icon 40B with opacity in addition, icon 40B can be the combination of any nontransparent look (in the present embodiment for blue), that is to say icon 40B not can by after the camera preview screen replace to fall, in addition, diagram 40B can be the state that shows mobile communications device 30 existing places, for example battery electric quantity or signal receiving strength etc.
See also Fig. 7, Fig. 7 is the picture view of the present invention's one second image frame 42, the background 42A of second image frame 42 can be a solid color, for example be blue, it is set at Transparent color, the background 42A that is to say this solid color be can by after the camera preview screen replace the part fallen, and second image frame 42 comprises a menu 42B with transparency in addition, it can be used as the interface of choosing the function of desire execution for the user, the shielding of menu 42B (mask) value can be certain value, and its transparency can have literal 42C by the decision of its masking value in menu 42B, literal 42C be can be set at opaque.
See also Fig. 8, Fig. 8 is the picture view of the present invention 1 the 3rd image frame 44, the background 44A of the 3rd image frame 44 can be a solid color, for example be blue, it is set at Transparent color, the background 44A that is to say this solid color be can by after the camera preview screen replace the part fallen, and the 3rd image frame 44 comprises a plurality of little pattern 44B with opacity in addition, seal designs for example, it can be used as the decoration of image frame.
See also Fig. 9, Fig. 9 is the picture view of the present invention 1 the 4th image frame 46, the 4th image frame 46 is one to have the frame of shielding, the frame 46A of the 4th image frame 46 one has the pattern of opacity, the shielding 46B part of the 4th image frame 46 is then for having the gradually shielding of layer effect, shield 46B and can be approaching zero the transparent block of masking value near middle body, shielding 46B keeps to the side masking value partly then along with increasing with approaching opaque degree away from central authorities.
See also Figure 10, Figure 10 is the picture view of the present invention 1 the 5th image frame 48, the image frame of the 5th image frame 48 for being captured by digital camera module 36, it can be dynamic previewing picture (preview image), or the static state acquisition picture that gets off for being taken.
See also Figure 11 and Figure 12, Figure 11 and Figure 12 handle the flow chart that multi-layer image picture coincides for the present invention, and this method comprises the following step:
Step S100: beginning.
Step S102: see also Figure 13, Figure 13 is the picture view of the present invention 1 the 6th image frame 50, the pixel of the 4th image frame 46 and the pixel of the 3rd image frame 44 of coinciding is the 6th image frame 50, the color of the pixel that is comprised when the 3rd image frame 44 is during for the Transparent color set, execution in step S104; The color of the pixel that is comprised when the 3rd image frame 44 is non-during for the Transparent color set, execution in step S106.
Step S104: the color-values (RGB value) of the pixel that the 6th image frame 50 is comprised is set at the color-values of the pixel of the 4th image frame 46 opposite positions, and the masking value of the pixel that comprised of the 6th image frame 50 is set at the masking value of the pixel of the 4th image frame 46 opposite positions.
Step S106: the color-values of the pixel that the 6th image frame 50 is comprised is set at the color-values of the pixel of the 3rd image frame 44 opposite positions, and the masking value of the pixel that comprised of the 6th image frame 50 is set at complete opaque weights.
Step S108: see also Figure 14, Figure 14 is the picture view of the present invention 1 the 7th image frame 52, the pixel of the 6th image frame 50 and the pixel of second image frame 42 of coinciding is the 7th image frame 52, the color of the pixel that is comprised when second image frame 42 is during for the Transparent color set, execution in step S110; The color of the pixel that is comprised when second image frame 42 is during for the body color set, execution in step S112; The masking value of the pixel that is comprised when the 6th image frame 50 is during greater than a predetermined value, execution in step S114; The masking value of the pixel that is comprised when the 6th image frame 50 is during less than this predetermined value, execution in step S116.
Step S110: the color-values of the pixel that the 7th image frame 52 is comprised is set at the color-values of the pixel of the 6th image frame 50 opposite positions, and the masking value of the pixel that comprised of the 7th image frame 52 is set at the masking value of the pixel of the 6th image frame 50 opposite positions.
Step S112: the color-values of the pixel that the 7th image frame 52 is comprised is set at the color-values of the pixel of second image frame, 42 opposite positions, and the masking value of the pixel that comprised of the 7th image frame 52 is set at complete opaque weights.
Step S114: the color-values of the pixel that the 7th image frame 52 is comprised is set at (color-values of the pixel of second image frame, 42 opposite positions) * (masking value of the pixel of second image frame, 42 opposite positions)+(color-values of the pixel of the 6th image frame 50 opposite positions) * (masking value of the pixel of 1-second image frame 42 opposite positions), and the masking value of the pixel that comprised of the 7th image frame 52 is set at the masking value of the pixel of the 6th image frame 50 opposite positions.
Step S116: the color-values of the pixel that the 7th image frame 52 comprises is set as (color-values of the pixel of the 6th image frame 50 opposite positions) * (masking value of the pixel of the 6th image frame 50 opposite positions)+(color-values of the pixel of the second image frame 42 opposite positions) * (masking value of the pixel of 1-the 6th image frame 50 opposite positions), and the masking value of the pixel that comprises of the 7th image frame 52 is set as larger masking value in the masking value of pixel of the masking value of pixel of the 6th image frame 50 opposite positions and the second image frame 42 opposite positions.
Step S118: see also Figure 15, Figure 15 is the picture view of the present invention 1 the 8th image frame 54, the pixel of the 7th image frame 52 and the pixel of first image frame 40 of coinciding is the 8th image frame 54, the color of the pixel that is comprised when first image frame 40 is during for the Transparent color set, execution in step S120; The color of the pixel that is comprised when first image frame 40 is non-during for the Transparent color set, execution in step S122.
Step S120: the color-values of the pixel that the 8th image frame 54 is comprised is set at the color-values of the pixel of the 7th image frame 52 opposite positions, and the masking value of the pixel that comprised of the 8th image frame 54 is set at the masking value of the pixel of the 7th image frame 52 opposite positions.
Step S122: the color-values of the pixel that the 8th image frame 54 is comprised is set at the color-values of the pixel of first image frame, 40 opposite positions, and the masking value of the pixel that comprised of the 8th image frame 54 is set at complete opaque weights.
Step S124: digital camera module 36 acquisitions the 5th image frame 48.
Step S126: the pixel of the 8th image frame 54 that coincides and the pixel of the 5th image frame 48 are one the 9th image frame 56, see also Figure 16, Figure 16 is the picture view of the present invention's the 9th image frame 56, and the color-values of the pixel that the 9th image frame 56 is comprised is set at (color-values of the pixel of the 8th image frame 54 opposite positions) * (masking value of the pixel of the 8th image frame 54 opposite positions)+(color-values of the pixel of the 5th image frame 48 opposite positions) * (masking value of the pixel of 1-the 8th image frame 54 opposite positions).
Step S128: export the 9th image frame 56 to display module 38.
Step S130: finish.
At this above-mentioned steps is done an explanation, see also Figure 17, Figure 17 handles the Organization Chart that multi-layer image picture coincides for the present invention, first image frame 40, second image frame 42, the 3rd image frame 44, the 4th image frame 46 can synthesize the 8th image frame 54, and the 8th image frame 54 is the foreground picture (foreground image) of final output image picture, and the computing of foreground picture is from bottom to top, that is to say that making up the 4th image frame 46 and the 3rd image frame 44 earlier is the 6th image frame 50, recombinant the 6th image frame 50 and second image frame 42 are the 7th image frame 52, and recombinant the 7th image frame 52 and first image frame 40 are the 8th image frame 54 of foreground picture.
In the pixel of the 4th image frame 46 that coincides and the pixel of the 3rd image frame 44 is in the process of the 6th image frame 50, the color of the pixel that is comprised when the 3rd image frame 44 is during for the Transparent color set, for example be blue, can be covered by the picture that is coincided after also just representing this part, and the i.e. part for this reason of the background 44A of the 3rd image frame 44 shown in Figure 8, the pixel of background 44A just can continue the computing of execution in step S104, this moment is because background 44A is made as transparent, so just can be set in the 4th image frame 46 color-values with respect to the color-values of the pixel of background 44A position in the 6th image frame 50 that produced, and just can be set in the 4th image frame 46 masking value with respect to the masking value of the pixel of background 44A position in the 6th image frame 50 with respect to the pixel of background 44A position with respect to the pixel of background 44A position; The color of the pixel that is comprised when the 3rd image frame 44 is non-during for the Transparent color set, can do not covered after just representing this part by the picture that is coincided yet, and the i.e. part for this reason of the pattern 44B of the 3rd image frame 44 shown in Figure 8, the pixel of pattern 44B just can continue the computing of execution in step S106, this moment is because pattern 44B is made as opaque, just can be set in the 3rd image frame 44 color-values with respect to the color-values of the pixel of pattern 44B position in the 6th image frame 50, and the masking value with respect to the pixel of pattern 44B position is set at complete opaque weights in the 6th image frame 50 with respect to the pixel of pattern 44B position.
In like manner, in the pixel of the 6th image frame 50 that coincides and the pixel of second image frame 42 is in the process of the 7th image frame 52, the color of the pixel that is comprised when second image frame 42 is during for the Transparent color set, for example be blue, can be covered by the picture that is coincided after also just representing this part, and the i.e. part for this reason of the background 42A of second image frame 42 shown in Figure 7, the pixel of background 42A just can continue the computing of execution in step S110, this moment is because background 42A is made as transparent, so just can be set in the 6th image frame 50 color-values with respect to the color-values of the pixel of background 42A position in the 7th image frame 52 that produced, and just can be set in the 6th image frame 50 masking value with respect to the masking value of the pixel of background 42A position in the 7th image frame 52 with respect to the pixel of background 42A position with respect to the pixel of background 42A position; The color of the pixel that is comprised when the 3rd image frame 44 is during for the body color set, can do not covered after just representing this part by the picture that is coincided yet, and the i.e. part for this reason of the literal 42C among the menu 42B of second image frame 42 shown in Figure 7, the pixel of literal 42C just can continue the computing of execution in step S112, this moment is because literal 42C is made as opaque, just can be set in second image frame 42 color-values with respect to the color-values of the pixel of literal 42C position in the 7th image frame 52, and the masking value with respect to the pixel of literal 42C position is set at complete opaque weights in the 7th image frame 52 with respect to the pixel of literal 42C position; And second image frame; 42 left remainders just are to have the pixel of partially transparent degree; Promptly be in translucent state; And the i.e. part for this reason of the menu 42B (not comprising literal 42C) of second image frame 42 shown in Figure 7; This moment if in the 6th image frame 50 with respect to the masking value of the pixel of menu 42B position during (represent transparency lower) greater than this predetermined value; then the 7th image frame 52 just is set at ( second image frame 42 is with respect to the color-values of the pixel of menu 42B position ) * ( second image frame 42 is with respect to the masking value of the pixel of menu 42B position ) + ( the 6th image frame 50 is with respect to the color-values of the pixel of menu 42B position ) * ( 1-second image frame 42 is with respect to the masking value of the pixel of menu 42B position ) with respect to the color-values of the pixel of menu 42B ( not comprising literal 42C ) position, and the 7th image frame 52 is set at the masking value of the 6th image frame 50 with respect to the pixel of menu 42B position with respect to the masking value of the pixel of menu 42B position.5042B ( ) ; Then the 7th image frame 52 just is set as ( the 6th image frame 50 is with respect to the color-values of the pixel of menu 42B position ) * ( the 6th image frame 50 is with respect to the masking value of the pixel of menu 42B position ) + ( the second image frame 42 is with respect to the color-values of the pixel of menu 42B position ) * ( 1-the 6th image frame 50 is with respect to the masking value of the pixel of menu 42B position ) with respect to the color-values of the pixel of menu 42B ( not comprising literal 42C ) position, and the 7th image frame 52 is set as the 6th image frame 50 with respect to masking value larger in the masking value of the pixel of menu 42B position and the masking value of the second image frame 42 with respect to the pixel of menu 42B position with respect to the masking value of the pixel of menu 42B position.
Coming pixel at the pixel of the 7th image frame 52 that coincides and first image frame 40 again is in the process of the 8th image frame 54 of foreground picture, the pixel of its action principle and the 4th image frame 46 that coincides and the pixel of the 3rd image frame 44 are that the process of the 6th image frame 50 is identical, the color of the pixel that is comprised when first image frame 40 is during for the Transparent color set, for example be blue, can be covered by the picture that is coincided after also just representing this part, and the i.e. part for this reason of the background 40A of first image frame 40 shown in Figure 6, the pixel of background 40A just can continue the computing of execution in step S120, this moment is because background 40A is made as transparent, so just can be set in the 7th image frame 52 color-values with respect to the color-values of the pixel of background 40A position in the 8th image frame 54 that produced, and just can be set in the 7th image frame 52 masking value with respect to the masking value of the pixel of background 40A position in the 8th image frame 54 with respect to the pixel of background 40A position with respect to the pixel of background 40A position; The color of the pixel that is comprised when first image frame 40 is non-during for the Transparent color set, can do not covered after just representing this part by the picture that is coincided yet, and the i.e. part for this reason of the icon 40B of first image frame 40 shown in Figure 6, the pixel of diagram 40B just can continue the computing of execution in step S122, this moment is because diagram 40B is made as opaque, just can be set in first image frame 40 color-values with respect to the color-values of the pixel of icon 40B position in the 8th image frame 54, and the masking value with respect to the pixel of icon 40B position is set at complete opaque weights in the 8th image frame 54 with respect to the pixel of icon 40B position.
Be exactly at last the 8th image frame 54 of foreground picture is coincided with the 5th image frame 48 that digital camera module 36 is captured into, and the color-values of the pixel that the 9th image frame 56 is comprised is set at (color-values of the pixel of the 8th image frame 54 opposite positions) * (masking value of the pixel of the 8th image frame 54 opposite positions)+(color-values of the pixel of the 5th image frame 48 opposite positions) * (masking value of the pixel of 1-the 8th image frame 54 opposite positions), and the 9th image frame 56 that so generates just becomes the picture that finally is presented on the display module 38.And above-mentioned steps S100 to S130 can repeat, for instance, if frame updating speed is 30fps (frame/per second), then logical block 39 just can calculate one the 9th image frame 56 at per 1/30 second, and it is presented on display module 38, and the user just can dynamically see the picture that camera preview screen and foreground picture coincide and produced at display module 38.
And enforcement spirit of the present invention also can be applicable to an image processing apparatus, for example digital camera, PDA or other hand-hold electronic device etc., and the 5th image frame of non-composition foreground picture also is not limited to the image that digital camera module 36 is captured in the foregoing description, it can be the image of importing via any input interface, carries out image with the stored foreground picture of apparatus of the present invention itself again and coincides.
Compared to the existing multi-layer image picture processing method that coincides, method of the present invention is to handle multi-layer image picture with the translucent Processing Algorithm that improved to coincide, just can utilize simple computed in software to make the scene that never occurs in the conventional practice thus, for example can make the camera preview screen add shielded diagram or frame, or the camera preview screen adds shielded diagram, frame, and the picture that changes mutually of multilayer such as translucent menu, thus just can be in limited display frame display menu simultaneously, diagram, special efficacy or background and camera preview screen, and the user is provided diversified visual effect, to promote the surcharge of product.
The above only is preferred embodiment of the present invention, and all equalizations of being done according to the present patent application claim change and modify, and all should belong to the covering scope of patent of the present invention.

Claims (20)

1. handle the method that multi-layer image picture coincides for one kind, wherein, this method comprises the following step:
Whether the masking value that detects one first picture data is between a preset range; And
When the masking value of this first picture data is in this preset range the time, the masking value according to this first picture data, one second picture data and this second picture data produces three-picture data,
Wherein, the pixel color values of these three-picture data is to be (pixel color values of this second picture data) * (masking value of this second picture data)+(pixel color values of this first picture data) * (masking value of this second picture data of 1-).
2. the method for claim 1, wherein its masking value and one the 5th image frame that comprises in addition according to these three-picture data, this first picture data produces one the 4th picture data,
Wherein, the pixel color values of the 4th picture data is to be (pixel color values of these three-picture data) * (masking value of this first picture data)+(pixel color values of the 5th image frame) * (masking value of this first picture data of 1-).
3. method as claimed in claim 2, wherein, it comprises use one mobile communications device in addition and captures the 5th image frame.
4. handle the method that multi-layer image picture coincides for one kind, wherein, this method comprises the following step:
Whether the masking value that detects one first picture data is between a preset range; And
When the masking value of this first picture data is outside this preset range the time, the masking value according to this first picture data, one second picture data and this first picture data produces three-picture data,
Wherein, the pixel color values of these three-picture data is to be (pixel color values of this first picture data) * (masking value of this first picture data)+(pixel color values of this second picture data) * (masking value of this first picture data of 1-).
5. method as claimed in claim 4, wherein, it comprises in addition, and bigger masking value and one the 5th image frame produces one the 4th picture data in two masking values according to these three-picture data, this first and second picture data,
Wherein, the pixel color values of the 4th picture data is to be (pixel color values of these three-picture data) * (in the masking value of this first and second picture data bigger masking value)+(pixel color values of the 5th image frame) * (in the masking value of this first and second picture data of 1-bigger masking value).
6. method as claimed in claim 5, wherein, other comprises use one mobile communications device and captures the 5th image frame.
7. can handle the mobile communications device that multi-layer image picture coincides for one kind, wherein, it includes:
One logical block comprises:
Judge module is used for judging that whether the masking value of one first picture data is between a preset range; And
Data generating module is used for masking value when this first picture data in this preset range the time, and the masking value according to this first picture data, one second picture data and this second picture data produces three-picture data,
Wherein, the pixel color values of these three-picture data is to be (pixel color values of this second picture data) * (masking value of this second picture data)+(pixel color values of this first picture data) * (masking value of this second picture data of 1-).
8. mobile communications device as claimed in claim 7, wherein, this logical block is to be used for producing one the 4th picture data according to the masking value and one the 5th image frame of these three-picture data, this first picture data,
Wherein, the pixel color values of the 4th picture data is to be (pixel color values of these three-picture data) * (masking value of this first picture data)+(pixel color values of the 5th image frame) * (masking value of this first picture data of 1-).
9. mobile communications device as claimed in claim 8, wherein, other comprises a digital camera module, is used for capturing the 5th image frame.
10. mobile communications device as claimed in claim 7, wherein, this mobile communications device is a mobile phone.
11. can handle the mobile communications device that multi-layer image picture coincides for one kind, wherein, it includes:
One logical block comprises:
Judge module is used for judging that whether the masking value of one first picture data is between a preset range; And
Data generating module is used for masking value when this first picture data outside this preset range the time, and the masking value according to this first picture data, one second picture data and this first picture data produces three-picture data,
Wherein, the pixel color values of these three-picture data is to be (pixel color values of this first picture data) * (masking value of this first picture data)+(pixel color values of this second picture data) * (masking value of this first picture data of 1-).
12. mobile communications device as claimed in claim 11, wherein, this logical block is to be used for that bigger masking value and one the 5th image frame produces one the 4th picture data in two masking values according to these three-picture data, this first and second picture data,
Wherein, the pixel color values of the 4th picture data is to be (pixel color values of these three-picture data) * (bigger masking value in two masking values of this first and second picture data)+(pixel color values of the 5th image frame) * (bigger masking value in two masking values of this first and second picture data of 1-).
13. mobile communications device as claimed in claim 12, wherein, other comprises a digital camera module, is used for capturing the 5th image frame.
14. mobile communications device as claimed in claim 11, wherein, this mobile communications device is a mobile phone.
15. can handle the image processing apparatus that multi-layer image picture coincides for one kind, wherein, it includes:
One logical block comprises:
Judge module is used for judging that whether the masking value of this first picture data is between a preset range; And
Data generating module is used for masking value when this first picture data in this preset range the time, and the masking value according to this first picture data, this second picture data and this second picture data produces three-picture data,
Wherein, the pixel color values of these three-picture data is to be (pixel color values of this second picture data) * (masking value of this second picture data)+(pixel color values of this first picture data) * (masking value of this second picture data of 1-).
16. image processing apparatus as claimed in claim 15, wherein, this logical block is to be used for producing one the 4th picture data according to the masking value and one the 5th image frame of these three-picture data, this first picture data,
Wherein, the pixel color values of the 4th picture data is to be (pixel color values of these three-picture data) * (masking value of this first picture data)+(pixel color values of the 5th image frame) * (masking value of this first picture data of 1-).
17. image processing apparatus as claimed in claim 16, wherein, other comprises a digital camera module, is used for capturing the 5th image frame.
18. can handle the image processing apparatus that multi-layer image picture coincides for one kind, it includes:
One logical block comprises:
Judge module is used for judging that whether the masking value of one first picture data is between a preset range; And
Data generating module is used for masking value when this first picture data outside this preset range the time, and the masking value according to this first picture data, one second picture data and this first picture data produces three-picture data,
Wherein, the pixel color values of these three-picture data is to be (pixel color values of this first picture data) * (masking value of this first picture data)+(pixel color values of this second picture data) * (masking value of this first picture data of 1-).
19. image processing apparatus as claimed in claim 18, wherein, this logical block is to be used for that bigger masking value and one the 5th image frame produces one the 4th picture data in two masking values according to these three-picture data, this first and second picture data,
Wherein, the pixel color values of the 4th picture data is to be (pixel color values of these three-picture data) * (bigger masking value in two masking values of this first and second picture data)+(pixel color values of the 5th image frame) * (bigger masking value in two masking values of this first and second picture data of 1-).
20. image processing apparatus as claimed in claim 19, wherein, other comprises a digital camera module, is used for capturing the 5th image frame.
CNB2005100821470A 2005-07-04 2005-07-04 Handle method, mobile communication and image processing apparatus that multi-layer image picture coincides Active CN100550969C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100821470A CN100550969C (en) 2005-07-04 2005-07-04 Handle method, mobile communication and image processing apparatus that multi-layer image picture coincides

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100821470A CN100550969C (en) 2005-07-04 2005-07-04 Handle method, mobile communication and image processing apparatus that multi-layer image picture coincides

Publications (2)

Publication Number Publication Date
CN1893531A CN1893531A (en) 2007-01-10
CN100550969C true CN100550969C (en) 2009-10-14

Family

ID=37598010

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100821470A Active CN100550969C (en) 2005-07-04 2005-07-04 Handle method, mobile communication and image processing apparatus that multi-layer image picture coincides

Country Status (1)

Country Link
CN (1) CN100550969C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8860758B2 (en) 2010-12-15 2014-10-14 Canon Kabushiki Kaisha Display control apparatus and method for displaying overlapping windows
CN103049894A (en) * 2012-09-14 2013-04-17 深圳市万兴软件有限公司 Image processing method and device
CN106027888B (en) * 2016-05-20 2019-03-01 Oppo广东移动通信有限公司 The camera preview method and intelligent terminal of intelligent terminal

Also Published As

Publication number Publication date
CN1893531A (en) 2007-01-10

Similar Documents

Publication Publication Date Title
CN110166703A (en) Photographic method, camera arrangement and mobile terminal
CN112529775A (en) Image processing method and device
CN106297657B (en) A kind of brightness adjusting method and terminal of AMOLED display screens
CN106161967A (en) A kind of backlight scene panorama shooting method and mobile terminal
CN108989700A (en) Image formation control method, device, electronic equipment and computer readable storage medium
CN105474626B (en) Photographic device
CN107783887A (en) The control method and mobile terminal of a kind of mobile terminal
CN107846537A (en) A kind of CCD camera assembly, image acquiring method and mobile terminal
EP4156656A1 (en) Electronic device
CN111309135B (en) Photosensitive control method and photosensitive control device of display screen and display device
CN106385579A (en) Camera detection device, method and multi-camera terminal
CN100550969C (en) Handle method, mobile communication and image processing apparatus that multi-layer image picture coincides
US20230123474A1 (en) Image collection method and apparatus, and electronic device
TWI267061B (en) Method for processing multi-layered images
CN113129222A (en) Color shading correction method, terminal device and computer-readable storage medium
CN113157357A (en) Page display method, device, terminal and storage medium
CN201252575Y (en) Mobile communication device with shooting function
CN111193874B (en) Image display parameter adjusting method and mobile terminal
CN107809592B (en) Shoot method, apparatus, terminal and the storage medium of image
CN109065001A (en) A kind of down-sampled method, apparatus, terminal device and the medium of image
CN1798384A (en) Apparatus and method for enhancing image quality of a mobile communication terminal
CN110971822A (en) Picture processing method and device, terminal equipment and computer readable storage medium
CN107995425B (en) A kind of image processing method and mobile terminal
CN112634155B (en) Image processing method, device, electronic equipment and storage medium
CN113542711A (en) Image display method and terminal

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