CN103795928B - A kind of raw data format photo processing method and system - Google Patents

A kind of raw data format photo processing method and system Download PDF

Info

Publication number
CN103795928B
CN103795928B CN201410048672.XA CN201410048672A CN103795928B CN 103795928 B CN103795928 B CN 103795928B CN 201410048672 A CN201410048672 A CN 201410048672A CN 103795928 B CN103795928 B CN 103795928B
Authority
CN
China
Prior art keywords
row
data
region
image
compression
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
CN201410048672.XA
Other languages
Chinese (zh)
Other versions
CN103795928A (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.)
HUNAN QINHAI DIGITAL CO Ltd
Original Assignee
TCL Communication Ningbo Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN201410048672.XA priority Critical patent/CN103795928B/en
Publication of CN103795928A publication Critical patent/CN103795928A/en
Application granted granted Critical
Publication of CN103795928B publication Critical patent/CN103795928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

A kind of raw data format photo processing method provided by the invention and system, compression and decompression step include:Mobile terminal receives the operational order of user, and shooting image is obtained as unit of frame;Compression processing is carried out to the shooting image of acquisition;Shooting image after compression processing is preserved to memory;When that need to check photo, when mobile terminal receives the operational order of user, processing is unziped it to the shooting image after compression processing.The raw data format picture compression of the shooting image of customer mobile terminal acquisition can be stored using the present invention, reduces the memory space that every photo occupies, while processing can be unziped it with compressed photo, go back the initial data of original picture completely.

Description

A kind of raw data format photo processing method and system
Technical field
The present invention relates to image processing field more particularly to a kind of raw data format photo processing method and it is System.
Background technology
As mobile terminal is more and more universal, takes pictures and have become the essential function of mobile terminal, and through shooting To picture generally all stored with raw data format.Raw data format can be understood as:CMOS or ccd image inductor Convert the light signal captured to the initial data of digital signal.Initial data is a kind of original having recorded camera sensor Beginning information, while having recorded some former data caused by camera shooting.Raw data format is unprocessed, also without pressure Its image can be known as " original image coded data " or " digital negative " by the format of contracting.But photo is with initial data lattice Formula storage can occupy very big memory space, therefore storage can reduce the storage size of every photo occupancy after compressing it.
Therefore, the existing technology needs to be improved and developed.
Invention content
In view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide a kind of raw data format photo disposal sides Method and system, it is intended to solve mobile terminal in the prior art and take pictures that raw data format photo committed memory is excessive asks for storage Topic.
Technical scheme is as follows:
A kind of raw data format photo processing method, wherein the described method comprises the following steps:
A, mobile terminal receives the operational order of user, and shooting image is obtained as unit of frame;
B, compression processing is carried out to the shooting image of acquisition;
C, the shooting image after compression processing is preserved to memory.
The raw data format photo processing method, wherein it further includes:
D is when that need to check photo, when mobile terminal receives the operational order of user, to the shooting after compression processing Image unzips it processing.
The raw data format photo processing method, wherein the step B is specifically included:
B1, the x*y blocks region that y rows x row will be divided by the shooting image of acquisition for mobile terminal, wherein x, y are just Integer;
The original image data in the region of the i-th row first row of B2, acquisition in x*y blocks region, keeps its size constant, The original image data size that the image data size in every piece of region after the i-th row first row is compressed to the region subtracts it With the original image data size in the region of a line previous column, i.e. A(i,1)=Q(i,1), S(i,1)=W(i,1), A (i, m)=Q (i, m)-Q (i, m-1), S (i, m)=W (i, m)-W (i, m-1);Wherein Q (i, m), W (i, m) are the i-th row m column regions Original image data size, A (i, m), S (i, m) are the image data size after the compression of images of the i-th row m column regions, and i is Natural number more than or equal to 1 and less than or equal to y, m are the natural number more than 1 and less than or equal to x.
The raw data format photo processing method, wherein the step D is specifically included:
D1, when mobile terminal receive user decompression operation instruction when, from memory obtain have been compressed from The image of reason;
D2, the x*y blocks region that the image for having been compressed processing is divided into y rows x row, wherein x, y are just whole Number;
The original image data in the region of the i-th row first row of D3, acquisition in x*y blocks region, keeps its size constant, The image data in every piece of region after the i-th row first row is urined and is compressed to the image compression data size in the region and adds It is the same as the image compression data size in the region of all row before a line, i.e. Q(i,1)=A(i,1), W(i,1)=S(i,1), Q (i, m)= A(i,m)+A(i,m-1)+...+ A(i,1), W (i, m)=S (i, m)+S (i, m-1)+...+S(i,1);Wherein Q (i, m), W (i, m) is the original image data size of the i-th row m column regions, and A (i, m), S (i, m) are the image of the i-th row m column regions Compressed image data size, i are the natural number more than or equal to 1 and less than or equal to y, m be more than 1 and less than or equal to x from So number.
The raw data format photo processing method, wherein the x*y blocks region in the step B1 is all every piece The all equal rectangular area of area.
The raw data format photo processing method, wherein the x*y blocks region in the step D2 is all every piece The all equal rectangular area of area.
The raw data format photo processing method, wherein the mobile terminal is smart mobile phone, tablet computer sum number Code camera in any one.
A kind of raw data format photo processing system, wherein including:
Initial data acquisition module is received the operational order of user for mobile terminal, shooting figure is obtained as unit of frame Picture;
Compression module carries out compression processing for the shooting image to acquisition;
Memory module, for preserve by compression module treated shooting image.
The raw data format photo processing system, wherein further include:
Decompression module, for when that need to check photo, when mobile terminal receives the operational order of user, to through overvoltage Shooting image after contracting resume module unzips it processing.
The raw data format photo processing system, wherein the compression module specifically includes:
First division unit, the x*y blocks region for y rows x row will to be divided by the shooting image of acquisition for mobile terminal, Wherein x, y are positive integer;
Compression unit, the original image data in the region for obtaining the i-th row first row in x*y blocks region, keeps Its size is constant, and the image data size in every piece of region after the i-th row first row is compressed to the image original number in the region Its original image data size with the region of a line previous column, i.e. A are subtracted according to size(i,1)=Q(i,1), S(i,1)=W(i, 1), A (i, m)=Q (i, m)-Q (i, m-1), S (i, m)=W (i, m)-W (i, m-1);Wherein Q (i, m), W (i, m) are the i-th row The original image data size of m column regions, A (i, m), S (i, m) are the picture number after the compression of images of the i-th row m column regions According to size, i is the natural number more than or equal to 1 and less than or equal to y, and m is the natural number more than 1 and less than or equal to x.
The raw data format photo processing system, wherein the decompression module specifically includes:
Image acquisition unit is compressed, when the decompression operation for receiving user when mobile terminal instructs, from storage mould The image for having been compressed resume module is obtained in block;
Second division unit, the x*y blocks area for the image for having been compressed resume module to be divided into y rows x row Domain, wherein x, y are positive integer;
Decompression unit, the original image data in the region for obtaining the i-th row first row in x*y blocks region, is protected It holds that its size is constant, the image data in every piece of region after the i-th row first row is urined and is compressed to the image pressure in the region Contracting size of data is plus it with the image compression data size in the region of all row before a line, i.e. Q(i,1)=A(i,1), W(i, 1)=S(i,1), Q (i, m)=A (i, m)+A (i, m-1)+...+A(i,1), W (i, m)=S (i, m)+S (i, m-1)+...+S(i, 1);Wherein Q (i, m), W (i, m) are the original image data size of the i-th row m column regions, and A (i, m), S (i, m) are the i-th row the Image data size after the compression of images of m column regions, i be more than or equal to 1 and less than or equal to y natural number, m be more than 1 and Natural number less than or equal to x.
A kind of raw data format photo processing method provided by the invention and system, compression and decompression step include: Mobile terminal receives the operational order of user, and shooting image is obtained as unit of frame;The shooting image of acquisition is carried out at compression Reason;Shooting image after compression processing is preserved to memory;When that need to check photo, mobile terminal receives user's When operational order, processing is unziped it to the shooting image after compression processing.User can be moved using the present invention The raw data format picture compression storage for the shooting image that terminal obtains, reduces the memory space that every photo occupies, simultaneously Processing can be unziped it with compressed photo, go back the initial data of original picture completely.
Description of the drawings
Fig. 1 is a kind of preferred embodiment flow chart of steps of raw data format photo processing method provided by the invention.
Fig. 2 is the particular flow sheet of compression process in method shown in Fig. 1.
Fig. 3 is the original of image in a kind of preferred embodiment of raw data format photo processing method provided by the invention The data content of data.
Fig. 4 is data content of the photo after compression processing in Fig. 3.
Fig. 5 is the particular flow sheet of decompression process in method shown in Fig. 1.
Fig. 6 is a kind of structure diagram of raw data format photo processing system preferred embodiment provided by the invention.
Fig. 7 is the concrete structure block diagram of compression module in Fig. 6.
Fig. 8 is the concrete structure block diagram of decompression module in Fig. 6.
Specific implementation mode
A kind of raw data format photo processing method of present invention offer and system, to make the purpose of the present invention, technical side Case and effect are clearer, clear, and the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.It should be appreciated that The specific embodiments described herein are merely illustrative of the present invention, is not intended to limit the present invention.
It elaborates to raw data format photo processing method of the present invention below in conjunction with Fig. 1, wherein Fig. 1 is this hair A kind of preferred embodiment flow chart of steps of raw data format photo processing method of bright offer.
Step S101, mobile terminal receives the operational order of user, and shooting image is obtained as unit of frame;
Step S102, compression processing is carried out to the shooting image of acquisition;
Step S103, the shooting image after compression processing is preserved to memory.
Example is further carried out, as shown in Figure 1, further including after step S103:
Step S104, when that need to check photo, when mobile terminal receives the operational order of user, to passing through compression processing Shooting image afterwards unzips it processing.
In step s 102, mobile terminal needs to carry out compression processing to picture, as shown in Figure 2 comprising step:
Step S201, the x*y blocks region of y rows x row, wherein x, y will be divided by the shooting image of acquisition for mobile terminal All it is positive integer;
Step S202, the original image data for obtaining the region of the i-th row first row in x*y blocks region keeps it big Small constant, the original image data that the image data size in every piece of region after the i-th row first row is compressed to the region is big It is small to subtract its original image data size with the region of a line previous column, i.e. A(i,1)=Q(i,1), S(i,1)=W(i,1), A (i, m)=Q (i, m)-Q (i, m-1), S (i, m)=W (i, m)-W (i, m-1);Wherein Q (i, m), W (i, m) are the i-th row m The original image data size of column region, A (i, m), S (i, m) are the image data after the compression of images of the i-th row m column regions Size, i are the natural number more than or equal to 1 and less than or equal to y, and m is the natural number more than 1 and less than or equal to x.
In step s 201, the image of the raw data format obtained by the shooting of acquisition for mobile terminal is divided into y The x*y blocks region of row x row, as shown in figure 3, by taking raw data format is QW, photo size is x*y as an example, then in the 1st data It is Q (1,1) W (1,1) to hold, then for i-th(1≤i≤y)Row jth arranges(1≤j≤x)Data content be Q(I, j)W(I, j).
In step S202, for i-th(1≤i≤y)Capable data, then the 1st data of the row be recorded as in initial data It is Q (i, 1) to hold, W (i, 1), and the 2nd data are recorded as Q (i, 2)-Q (i, 1), W (i, 2)-W (i, 1), the 3rd data record For Q (i, 3)-Q (i, 2), W (i, 3)-W (i, 2) ... ..., x-th of data record is Q (i, x)-Q (i, x-1), W (i, x)- W (i, x-1), this season A (i, 1)=Q (i, 1), S (i, 1)=W (i, 1);A (i, 2)=Q (i, 2)-Q (i, 1), S (i, 2)=W (i,2)- W(i,1);A (i, 3)=Q (i, 3)-Q (i, 2), S (i, 3)=W (i, 3)-W (i, 2);……A(i,x)= Q(i, X)-Q (i, x-1), S (i, x)=W (i, x)-W (i, x-1);As shown in figure 4, then A(I, j)S(I, j)To be in the i-th row jth Data content after the area compresses of row, A(X, y)S(X, y)For the data content after the area compresses that y row xth arranges. Picture compression is stored by step S202, the memory space of every photo can be saved, in the case of memory gross space inconvenience, More photos can be stored.
In step S104, when mobile terminal needs to unzip it processing to compressed picture, as shown in Figure 5 comprising Step:
Step S301, it when mobile terminal receives the decompression operation instruction of user, obtains and has been subjected to from memory The image of compression processing;
Step S302, the image for having been compressed processing is divided into the x*y blocks region of y rows x row, wherein x, y are For positive integer;
Step S303, the original image data for obtaining the region of the i-th row first row in x*y blocks region keeps it big It is small constant, the image data in every piece of region after the i-th row first row is urined and is compressed to the image compression data in the region Size is plus it with the image compression data size in the region of all row before a line, i.e. Q(i,1)=A(i,1), W(i,1)=S (i,1), Q (i, m)=A (i, m)+A (i, m-1)+...+A(i,1), W (i, m)=S (i, m)+S (i, m-1)+...+S(i,1); Wherein Q (i, m), W (i, m) are the original image data size of the i-th row m column regions, and A (i, m), S (i, m) are the i-th row m row Image data size after the compression of images in region, i are the natural number more than or equal to 1 and less than or equal to y, and m is more than 1 and to be less than Natural number equal to x.
In step s 302, dividing mode is consistent in step S201, and such dividing mode ensures that photo is decompressing Restore the initial data of photo during contracting with full symmetric inverse process.
In step S303, for i-th(1≤i≤y)Capable data, the 1st data content of this journey be A (i, 1), S (i, 1), then Q (i, 1)=A (i, 1), W (i, 1)=S (i, 1);Second data content of this journey is Q (i, 2)=A (i, 1)+A (i, 2), W(i,2)= S(i,1)+S(i,2);..., x-th of data content of this journey be Q (i, x)=A (i, 1)+A (i, 2)+...+A (i, X), W (i, x)=S (i, 1)+S (i, 2)+...+S (i, x);If user need to use the photo of raw data format to carry out its elsewhere Reason, can be by recovery of the photo without information loss by being stored through overcompression in step S202, for user by step S303 It is handled.
Example is further carried out, it is described mobile whole for any of which one in smart mobile phone, tablet computer and digital camera Kind.
Based on above-described embodiment, the present invention also provides a kind of raw data format photo processing systems, as shown in fig. 6, For a kind of structure diagram of raw data format photo processing system preferred embodiment provided by the invention.
As shown in fig. 6, the raw data format photo processing system includes:
Initial data acquisition module 100 receives the operational order of user for mobile terminal, and shooting is obtained as unit of frame Image;
Compression module 200 carries out compression processing for the shooting image to acquisition;
Memory module 300, for preserve by compression module 200 treated shooting image.
Example is further carried out, as shown in fig. 6, the raw data format photo processing system further includes:
Decompression module 400, for when that need to check photo, when mobile terminal receives the operational order of user, to warp Overcompression module 200 treated shooting image unzip it processing.
Example is further carried out, as shown in fig. 7, compression module 200 specifically includes:
First division unit 210, the x*y blocks area for y rows x row will to be divided by the shooting image of acquisition for mobile terminal Domain, wherein x, y are positive integer;
Compression unit 220, the original image data in the region for obtaining the i-th row first row in x*y blocks region, is protected Hold that its size is constant, the image that the image data size in every piece of region after the i-th row first row is compressed to the region is original Size of data subtracts its original image data size with the region of a line previous column, i.e. A(i,1)=Q(i,1), S(i,1)=W (i,1), A (i, m)=Q (i, m)-Q (i, m-1), S (i, m)=W (i, m)-W (i, m-1);Wherein Q (i, m), W (i, m) are the The original image data size of i row m column regions, A (i, m), S (i, m) are the figure after the compression of images of the i-th row m column regions As size of data, i is the natural number more than or equal to 1 and less than or equal to y, and m is the natural number more than 1 and less than or equal to x.
Example is further carried out, as shown in figure 8, decompression module 400 specifically includes:
Image acquisition unit 410 is compressed, when the decompression operation for receiving user when mobile terminal instructs, from storage The image for having been compressed the processing of module 200 is obtained in module 300;
Second division unit 420, for by the x*y for having been compressed the image that module 200 handles and dividing y rows x row Block region, wherein x, y are positive integer;
Decompression unit 430, the original image data in the region for obtaining the i-th row first row in x*y blocks region, It keeps its size constant, the image data in every piece of region after the i-th row first row is urined and is compressed to the image in the region Compressed data size is plus it with the image compression data size in the region of all row before a line, i.e. Q(i,1)=A(i,1), W (i,1)=S(i,1), Q (i, m)=A (i, m)+A (i, m-1)+...+A(i,1), W (i, m)=S (i, m)+S (i, m-1)+...+S (i,1);Wherein Q (i, m), W (i, m) are the original image data size of the i-th row m column regions, and A (i, m), S (i, m) are i-th Image data size after the compression of images of row m column regions, i be more than or equal to 1 and less than or equal to y natural number, m be more than 1 and less than or equal to x natural number.
In conclusion a kind of raw data format photo processing method provided by the invention and system, compression and decompression Step includes:Mobile terminal receives the operational order of user, and shooting image is obtained as unit of frame;To the shooting image of acquisition into Row compression processing;Shooting image after compression processing is preserved to memory;When that need to check photo, mobile terminal receives To user operational order when, processing is unziped it to the shooting image after compression processing.It can be incited somebody to action using the present invention The raw data format picture compression storage for the shooting image that customer mobile terminal obtains, it is empty to reduce the storage that every photo occupies Between, while processing can be unziped it with compressed photo, the initial data of original picture is gone back completely.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can With improvement or transformation based on the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Protect range.

Claims (5)

1. a kind of raw data format photo processing method, which is characterized in that the described method comprises the following steps:
A, mobile terminal receives the operational order of user, and shooting image is obtained as unit of frame;
B, compression processing is carried out to the shooting image of acquisition;
C, the shooting image after compression processing is preserved to memory;
It further includes:
D, when that need to check photo, when mobile terminal receives the operational order of user, to the shooting figure after compression processing As unziping it processing;
The step B is specifically included:
B1, the x*y blocks region that y rows x row will be divided by the shooting image of acquisition for mobile terminal, wherein x, y are positive integer;
B2, obtain the i-th row first row in x*y blocks region region original image data, keep its size constant, by the The image data size in every piece of region after i row first rows is compressed to the original image data size in the region, and to subtract its same The original image data size in the region of row previous column, i.e. A(i,1)=Q(i,1), S(i,1)=W(i,1), A (i, m)=Q (i, M)-Q (i, m-1), S (i, m)=W (i, m)-W (i, m-1);Wherein Q (i, m), W (i, m) are the image of the i-th row m column regions Initial data size, A (i, m), S (i, m) be the i-th row m column regions compression of images after image data size, i be more than Natural number equal to 1 and less than or equal to y, m are the natural number more than 1 and less than or equal to x;
If raw data format is QW, photo size x*y, the 1st data content is Q (1,1) W (1,1), for i-th(1 ≤i≤y)Row jth arranges(1≤j≤x)Data content be Q(I, j)W(I, j);
For i-th(1≤i≤y)Capable data, then the 1st data of the row be recorded as original data content i.e. Q (i, 1), W (i, 1), the 2nd data are recorded as Q (i, 2)-Q (i, 1), W (i, 2)-W (i, 1), the 3rd data be recorded as Q (i, 3)-Q (i, 2), W (i, 3)-W (i, 2) ... ..., x-th data record are Q (i, x)-Q (i, x-1), W (i, x)-W (i, x-1), at this time Enable A (i, 1)=Q (i, 1), S (i, 1)=W (i, 1);A (i, 2)=Q (i, 2)-Q (i, 1), S (i, 2)=W (i, 2)-W (i, 1);A (i, 3)=Q (i, 3)-Q (i, 2), S (i, 3)=W (i, 3)-W (i, 2);……A(i,x)= Q(i,x)- Q(i,x- 1), S (i, x)=W (i, x)-W (i, x-1), then A(I, j)S(I, j)For the data after the area compresses that the i-th row jth arranges Content, A(X, y)S(X, y)For the data content after the area compresses that y row xth arranges;
Without information loss when the photo of the compressed storage restores;
The step D is specifically included:
D1, when mobile terminal receive user decompression operation instruction when, from memory obtain have been compressed processing Image;
D2, the x*y blocks region that the image for having been compressed processing is divided into y rows x row, wherein x, y are positive integer;
D3, obtain the i-th row first row in x*y blocks region region original image data, keep its size constant, by the The image data in every piece of region after i row first rows urines, and to be compressed to the image compression data size in the region same plus it The image compression data size in the region of all row, i.e. Q before a line(i,1)=A(i,1), W(i,1)=S(i,1), Q (i, m)= A(i,m)+A(i,m-1)+...+ A(i,1), W (i, m)=S (i, m)+S (i, m-1)+...+S(i,1);Wherein Q (i, m), W (i, M) it is the original image data size of the i-th row m column regions, A (i, m), S (i, m) are the compression of images of the i-th row m column regions Image data size afterwards, i are the natural number more than or equal to 1 and less than or equal to y, and m is the natural number more than 1 and less than or equal to x;
In step d 2, dividing mode is consistent in step B1, the dividing mode ensure photo decompression process In restore the initial data of photo with full symmetric inverse process;
In step D3, for i-th(1≤i≤y)Capable data, the 1st data content of this journey are A (i, 1), S (i, 1), then Q (i, 1)=A (i, 1), W (i, 1)=S (i, 1);Second data content of this journey is Q (i, 2)=A (i, 1)+A (i, 2), W (i, 2) = S(i,1)+S(i,2);..., x-th of data content of this journey be Q (i, x)=A (i, 1)+A (i, 2)+...+A (i, x), W (i,x)= S(i,1)+S(i,2)+……+S(i,x)。
2. raw data format photo processing method according to claim 1, which is characterized in that described in the step B1 X*y blocks region is all all equal rectangular area of every piece of area.
3. raw data format photo processing method according to claim 1, which is characterized in that described in the step D2 X*y blocks region is all all equal rectangular area of every piece of area.
4. according to any one of the claim 1-3 raw data format photo processing methods, which is characterized in that described mobile whole End is any one in smart mobile phone, tablet computer and digital camera.
5. a kind of raw data format photo processing system, which is characterized in that including:
Initial data acquisition module receives the operational order of user for mobile terminal, and shooting image is obtained as unit of frame;
Compression module carries out compression processing for the shooting image to acquisition;
Memory module, for preserve by compression module treated shooting image;
Further include:
Decompression module, for when that need to check photo, when mobile terminal receives the operational order of user, to through overcompression mould Block treated shooting image unzip it processing;
The compression module specifically includes:
First division unit, the x*y blocks region for y rows x row will to be divided by the shooting image of acquisition for mobile terminal, wherein X, y are positive integer;
Compression unit, the original image data in the region for obtaining the i-th row first row in x*y blocks region keep it big Small constant, the original image data that the image data size in every piece of region after the i-th row first row is compressed to the region is big It is small to subtract its original image data size with the region of a line previous column, i.e. A(i,1)=Q(i,1), S(i,1)=W(i,1), A (i, m)=Q (i, m)-Q (i, m-1), S (i, m)=W (i, m)-W (i, m-1);Wherein Q (i, m), W (i, m) are the i-th row m The original image data size of column region, A (i, m), S (i, m) are the image data after the compression of images of the i-th row m column regions Size, i are the natural number more than or equal to 1 and less than or equal to y, and m is the natural number more than 1 and less than or equal to x;
If raw data format is QW, photo size x*y, the 1st data content is Q (1,1) W (1,1), for i-th(1 ≤i≤y)Row jth arranges(1≤j≤x)Data content be Q(I, j)W(I, j);
For i-th(1≤i≤y)Capable data, then the 1st data of the row be recorded as original data content i.e. Q (i, 1), W (i, 1), the 2nd data are recorded as Q (i, 2)-Q (i, 1), W (i, 2)-W (i, 1), the 3rd data be recorded as Q (i, 3)-Q (i, 2), W (i, 3)-W (i, 2) ... ..., x-th data record are Q (i, x)-Q (i, x-1), W (i, x)-W (i, x-1), at this time Enable A (i, 1)=Q (i, 1), S (i, 1)=W (i, 1);A (i, 2)=Q (i, 2)-Q (i, 1), S (i, 2)=W (i, 2)-W (i, 1);A (i, 3)=Q (i, 3)-Q (i, 2), S (i, 3)=W (i, 3)-W (i, 2);……A(i,x)= Q(i,x)- Q(i,x- 1), S (i, x)=W (i, x)-W (i, x-1), then A(I, j)S(I, j)For the data after the area compresses that the i-th row jth arranges Content, A(X, y)S(X, y)For the data content after the area compresses that y row xth arranges;
Without information loss when the photo of the compressed storage restores;
The decompression module specifically includes:
Image acquisition unit is compressed, when the decompression operation for receiving user when mobile terminal instructs, from memory module Obtain the image for having been compressed resume module;
Second division unit, the x*y blocks region for the image for having been compressed resume module to be divided into y rows x row, Middle x, y are positive integer;
Decompression unit, the original image data in the region for obtaining the i-th row first row in x*y blocks region, keeps it Size is constant, and the image data in every piece of region after the i-th row first row is urined and is compressed to the compression of images number in the region According to size plus it with the image compression data size in the region of all row before a line, i.e. Q(i,1)=A(i,1), W(i,1)=S (i,1), Q (i, m)=A (i, m)+A (i, m-1)+...+A(i,1), W (i, m)=S (i, m)+S (i, m-1)+...+S(i,1); Wherein Q (i, m), W (i, m) are the original image data size of the i-th row m column regions, and A (i, m), S (i, m) are the i-th row m row Image data size after the compression of images in region, i are the natural number more than or equal to 1 and less than or equal to y, and m is more than 1 and to be less than Natural number equal to x;
In the second division unit, dividing mode is consistent in the first division unit, and the dividing mode ensures that photo exists Restore the initial data of photo during decompression with full symmetric inverse process;
In decompression unit, for i-th(1≤i≤y)Capable data, the 1st data content of this journey be A (i, 1), S (i, 1), Then Q (i, 1)=A (i, 1), W (i, 1)=S (i, 1);Second data content of this journey is Q (i, 2)=A (i, 1)+A (i, 2), W (i,2)= S(i,1)+S(i,2);..., x-th of data content of this journey be Q (i, x)=A (i, 1)+A (i, 2)+...+A (i, X), W (i, x)=S (i, 1)+S (i, 2)+...+S (i, x).
CN201410048672.XA 2014-02-12 2014-02-12 A kind of raw data format photo processing method and system Active CN103795928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410048672.XA CN103795928B (en) 2014-02-12 2014-02-12 A kind of raw data format photo processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410048672.XA CN103795928B (en) 2014-02-12 2014-02-12 A kind of raw data format photo processing method and system

Publications (2)

Publication Number Publication Date
CN103795928A CN103795928A (en) 2014-05-14
CN103795928B true CN103795928B (en) 2018-07-17

Family

ID=50671170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410048672.XA Active CN103795928B (en) 2014-02-12 2014-02-12 A kind of raw data format photo processing method and system

Country Status (1)

Country Link
CN (1) CN103795928B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357545A (en) * 2017-07-18 2017-11-17 惠州Tcl移动通信有限公司 A kind of method, storage medium and the intelligent watch of enhancing UI display effects
CN108804610A (en) * 2018-05-30 2018-11-13 平安科技(深圳)有限公司 Picture compression display method and device, computer equipment and storage medium
CN109996004A (en) * 2019-05-14 2019-07-09 北京筑梦园科技有限公司 A kind of low power image imaging method, processor and device
CN111836052B (en) * 2020-07-06 2022-11-15 Oppo广东移动通信有限公司 Image compression method, image compression device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005611A (en) * 2006-12-31 2007-07-25 深圳市中科新业信息科技发展有限公司 Net bar video frequency monitor and real name shooting method, system and device
CN101261605A (en) * 2007-02-05 2008-09-10 三星电子株式会社 Fusion memory device and method
CN101640794A (en) * 2008-07-31 2010-02-03 鸿富锦精密工业(深圳)有限公司 Image data compression system and method thereof
CN101873421A (en) * 2009-04-22 2010-10-27 索尼公司 Imaging apparatus, imaging control method, and imaging control program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4720387B2 (en) * 2005-09-07 2011-07-13 ソニー株式会社 Imaging apparatus, image processing apparatus and method, and computer program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005611A (en) * 2006-12-31 2007-07-25 深圳市中科新业信息科技发展有限公司 Net bar video frequency monitor and real name shooting method, system and device
CN101261605A (en) * 2007-02-05 2008-09-10 三星电子株式会社 Fusion memory device and method
CN101640794A (en) * 2008-07-31 2010-02-03 鸿富锦精密工业(深圳)有限公司 Image data compression system and method thereof
CN101873421A (en) * 2009-04-22 2010-10-27 索尼公司 Imaging apparatus, imaging control method, and imaging control program

Also Published As

Publication number Publication date
CN103795928A (en) 2014-05-14

Similar Documents

Publication Publication Date Title
US20130021504A1 (en) Multiple image processing
CN103795928B (en) A kind of raw data format photo processing method and system
CN101753716B (en) Terminal and photographing method thereof
EP2364023B1 (en) Partial decoding method of encoded images and image processing apparatus
US20050117029A1 (en) Image capture apparatus and image capture method in which an image is processed by a plurality of image processing devices
US7747097B2 (en) Method for simple hardware implementation of JPEG size limiter
CN104580907A (en) Anti-shake photographing method and device
US20150334296A1 (en) Image capturing apparatus, control method of image capturing apparatus, and image processing method
KR100902419B1 (en) Apparatus and method for image processing in capable of displaying captured image without time delay, and computer readable medium stored thereon computer executable instruction for performing the method
US20140340538A1 (en) Method and Apparatus for Digital Image Capture
CN102647558A (en) Method and device for recording monitoring video
CN102209177B (en) Transporter and transfer approach
US20120033103A1 (en) Raw-Split Mode Image Capture
CN105191286A (en) Post production replication of optical processing for digital cinema cameras using metadata
US20030099404A1 (en) Image encoding apparatus and method, image display apparatus and method, image processing system and image sensing apparatus
JP6278712B2 (en) Imaging apparatus and control method thereof
CN104361559A (en) Image magnifying method and system based on small image memory
US20130051689A1 (en) Image encoding apparatus, image encoding method and program
US20080278606A9 (en) Image compositing
CN101986690A (en) Image data processing method and device for image sensor
CN202004870U (en) Image data processing device of image sensor
US8249384B2 (en) Method and system for removing date and time stamp of digital image in imaging device
US7684650B2 (en) Method for processing image frame output from an image sensor by an image processor
CN101742279B (en) Compression ratio adjustment method and electronic device of JPEG (Joint Photographic Experts Group) image
JP5486233B2 (en) Imaging apparatus and control method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211011

Address after: 271000 high end talent entrepreneurship base in the middle of Nantianmen street, high tech Zone, Tai'an City, Shandong Province

Patentee after: Taian Zhongquan Information Technology Co.,Ltd.

Address before: 315100 floor 6, No. 5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang

Patentee before: TCL COMMUNICATION (NINGBO) Co.,Ltd.

Effective date of registration: 20211011

Address after: 271000 China Taishan high-end talent entrepreneurship base in the middle of Nantianmen street, development zone, Tai'an City, Shandong Province

Patentee after: Taian Taishan Technology Co.,Ltd.

Address before: 271000 high end talent entrepreneurship base in the middle of Nantianmen street, high tech Zone, Tai'an City, Shandong Province

Patentee before: Taian Zhongquan Information Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221026

Address after: 4 / F, building 2, Hunan scientific research achievements transformation center workshop, Longping high tech park, Furong district, Changsha City, Hunan Province 410000

Patentee after: HUNAN QINHAI DIGITAL Co.,Ltd.

Address before: 271000 China Taishan high-end talent entrepreneurship base in the middle of Nantianmen street, development zone, Tai'an City, Shandong Province

Patentee before: Taian Taishan Technology Co.,Ltd.

TR01 Transfer of patent right