CN1173328C - Method for fast regulating image size - Google Patents
Method for fast regulating image size Download PDFInfo
- Publication number
- CN1173328C CN1173328C CNB011004320A CN01100432A CN1173328C CN 1173328 C CN1173328 C CN 1173328C CN B011004320 A CNB011004320 A CN B011004320A CN 01100432 A CN01100432 A CN 01100432A CN 1173328 C CN1173328 C CN 1173328C
- Authority
- CN
- China
- Prior art keywords
- pixel
- lcd
- value
- ccd
- relational expression
- 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
Links
Images
Landscapes
- Studio Devices (AREA)
Abstract
The present invention relates to a method for quickly regulating image size, which has the main step of using an absolute amplification value-Ma=1 as a boundary point to obtain the values of LCD pixels by directly corresponding by partial CCD pixels in two segments or by calculation, wherein when Ma is no greater than 1, the values of the LCD pixels are directly taken from the CCD pixels according to a relation formula; when Ma is greater than 1, the values of the LCD pixels are calculated by relative and adjacent CCD pixels according to an interpolation relation formula. The present invention can quickly and continuous regulate the image size of digital cameras and digital video cameras, and display the images on an LCD in time.
Description
Technical field
The present invention is the relevant method of adjusting the image size, the especially relevant method of adjusting the shown image size of LCD of digital camera, digital camera etc.
Background technology
General digital camera, digital camera video picture are when LCD, and the quantity of CCD pixel (Pixel) is often greater than the quantity of LCD pixel, so when full figure showed or dwindles image frame, the normal partial pixel of choosing to scale in the CCD four corner was shown on the LCD; The all or part of partial pixel of then choosing when the magnified image picture in the CCD part scope is shown on the LCD, thereby amplify, only can change when dwindling image frame with multiplying power such as 8,4,2,1/2,1/4,1/8, can't adjust multiplying power arbitrarily: though if can reach the function that method is adjusted multiplying power arbitrarily with the interpolation method computing, but need expend the time of a large amount of computings of CPU (CPU (central processing unit)), can't reach the effect of instant playback image-zooming.General digital camera, digital camera also do not have the support of the strong CPU of arithmetic capability, more can not reach the effect of instant playback image-zooming.Can not reach rapidly, continuously formula and adjust the image size for improving general digital camera, digital camera, and the disappearance of instant playback image-zooming, after the inventor studies again and again, finish the present invention eventually.
Summary of the invention
Fundamental purpose of the present invention is in the method that a kind of rapid adjustment image size is provided, but the size of rapid adjustment image, for instant playback on LCD.
Another object of the present invention is in the method that a kind of rapid adjustment image size is provided, but continous way is adjusted the size of image.
The method of a kind of rapid adjustment image of the present invention size, it is characterized in that, mainly be to utilize CPU (central processing unit) to carry out the following step, comprising: with absolute value of magnification Ma=1 is separation, divides two sections by the direct correspondence or obtain the value of LCD pixel as calculated of portion C CD pixel; When Ma≤1, the LCD pixel is directly taken from the CCD pixel according to relational expression; When Ma>1, calculate the value of LCD pixel by the value of relevant and adjacent C CD pixel according to the interpolation method relational expression;
This Ma=Mh * q/p wherein; The magnification that this Mh sets for the user; The CCD pixel that p has for CCD delegation, and the LCD pixel that q has for LCD delegation;
Wherein when Ma≤1, this relational expression is:
L (x)=C (x/Ma), x/Ma rounds numerical value, wherein 0≤x≤q;
Wherein when Ma>1, this interpolation method relational expression is:
(1) .L (0)=C (0), L (q)=C (q/Ma), x/Ma rounds numerical value,
(2) during .1≤x≤(q-1)
L (x)=[C (x/Ma+1)-C (x/Ma)] * (1/Ma)+C (x/Ma), x/Ma rounds numerical value.
Description of drawings
Other purposes of the present invention, effect and embodiment see also graphic being described in detail as follows, wherein:
Fig. 1 is LCD of the present invention and the corresponding synoptic diagram of CCD pixel when full figure shows.
Fig. 2 is LCD of the present invention and the CCD pixel corresponding synoptic diagram when the Ma=1.
Fig. 3 is LCD of the present invention and the CCD pixel corresponding synoptic diagram in Ma>1 o'clock.
Fig. 4 is a process flow diagram of the present invention.
Embodiment
See also shown in Figure 1, the corresponding relation of CCD10 of the present invention for convenience of description and LCD20 pixel, with the corresponding relation of one dimension as explanation.Suppose that CCD10 delegation has 16 CCD pixels 11, and LCD20 delegation have 4 LCD pixels 21.When full figure showed, 4 LCD pixels 21 must correspond to 4 CCD pixels 11 of uniformly-spaced disperseing in the delegation, just can make LCD20 show the same picture that CCD10 captured.
If CCD10 delegation has p CCD pixel 11, and LCD20 delegation has q LCD pixel 21, and the magnification of establishing user's setting is Mh, and absolute magnification is Ma, and its relational expression (1) is:
Ma=Mh×q/p
Its Ma=1 * 4/16=1/4 of example with Fig. 1.
See also shown in Figure 2, when LCD20 is man-to-man corresponding relation with the pixel of the identical size area of CCD10, its Mh=4, Ma=1.Be placed on Ma≤1 o'clock, the value L of pixel 21 (x) can directly take from the value C (x) of CCD pixel 11 according to Guan Shishi, and its relational expression (2) is:
L (x)=C (x/Ma), x/Ma rounds numerical value, wherein 0≤x≤q.
See also shown in Figure 3, when Mh>4, Ma>1 o'clock, CCD10 corresponds to the pixel of big area L CD20 with the pixel than the zonule, so can't all correspond to LCD pixel 21 with independent CCD pixel 11, must be according to the value L (x) of interpolation method by value C (x) the calculating LCD pixel 21 of relevant and adjacent C CD pixel 11, its interpolation method relational expression (3) is:
1.L (0)=and C (0), L (q)=C (q/Ma), q/Ma rounds numerical value,
2.1 during≤x≤(q-1)
L (x)=[C (x/Ma+1)-C (x/Ma)] * (1/Ma)+C (x/Ma), x/Ma rounds numerical value.
See also shown in Figure 4ly, the method for rapid adjustment image size of the present invention comprises the steps:
1. according to the magnification Mh of user's setting and the pixel quantity of CCD and LCD, calculating absolute magnification by relational expression (1) is Ma;
2. judge the value of Ma, if Ma≤1 o'clock, the value L of LCD pixel (x) can be obtained by calculation relational expression (2) according to the value of Ma and C (x); If Ma>1 o'clock, the value L of LCD pixel (x) can be obtained by calculation relational expression (3) according to the value of Ma and C (x);
3. all L (x) that will calculate gained are shown on the LCD.
Relational expression (1), relational expression (2) and relational expression (3) that the present invention can be suitable for above-mentioned one dimension single file are expanded the relational expression that is suitable for for the two dimensional surface row, column.It is that the 1st row are considered as delegation, and the value of LCD the 1st row pixel can directly be obtained or be obtained as calculated by the value of relevant pixel in CCD the 1st row according to relational expression (1), relational expression (2) and relational expression (3).Relational expression between the value of, 1st row pixel the 1st capable by the value of LCD the 1st row, the 1st row pixel and CCD can obtain the relational expression between the value of the value of other row, column pixel of LCD and other row, column pixel of CCD.
The present invention is via above-mentioned calculating formula adjustment rapidly, continuously image size, and the zoom state of instant playback image.
The above record only for utilizing the embodiment of the technology of the present invention content, anyly is familiar with modification, the variation that this skill person uses the present invention to do, and all belongs to the claim that the present invention advocates, and is not limited to those disclosed embodiments.
In sum, the present invention has the method that differs from known adjustment image size, and the enhancement of tool effect, has closed in the patent of invention important document, earnestly asks early to grant a patent, with Jiahui society.
Claims (1)
1. the method for a rapid adjustment image size is characterized in that, utilizes CPU (central processing unit) to carry out the following step, and comprising: with absolute value of magnification Ma=1 is separation, divides two sections by the direct correspondence or obtain the value of LCD pixel as calculated of portion C CD pixel; When Ma≤1, the LCD pixel is directly taken from the CCD pixel according to relational expression; When Ma>1, calculate the value of LCD pixel by the value of relevant and adjacent C CD pixel according to the interpolation method relational expression;
This Ma=Mh * q/p wherein; The magnification that this Mh sets for the user; The CCD pixel that p has for CCD delegation, and the LCD pixel that q has for LCD delegation;
Wherein when Ma≤1, this relational expression is:
L (x)=C (x/Ma), x/Ma rounds numerical value, wherein 0≤x≤q;
Wherein when Ma>1, this interpolation method relational expression is:
(1) .L (0)=C (0), L (q)=C (q/Ma), x/Ma rounds numerical value,
(2) during .1≤x≤(q-1)
L (x)=[C (x/Ma+1)-C (x/Ma)] * (1/Ma)+C (x/Ma), x/Ma rounds numerical value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB011004320A CN1173328C (en) | 2001-01-11 | 2001-01-11 | Method for fast regulating image size |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB011004320A CN1173328C (en) | 2001-01-11 | 2001-01-11 | Method for fast regulating image size |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1365096A CN1365096A (en) | 2002-08-21 |
CN1173328C true CN1173328C (en) | 2004-10-27 |
Family
ID=4651584
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB011004320A Expired - Fee Related CN1173328C (en) | 2001-01-11 | 2001-01-11 | Method for fast regulating image size |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1173328C (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7292235B2 (en) * | 2003-06-03 | 2007-11-06 | Nec Electronics Corporation | Controller driver and display apparatus using the same |
-
2001
- 2001-01-11 CN CNB011004320A patent/CN1173328C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1365096A (en) | 2002-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8072511B2 (en) | Noise reduction processing apparatus, noise reduction processing method, and image sensing apparatus | |
US8995792B2 (en) | Image processor, image processing method, and digital camera | |
CN1024245C (en) | Apparatus and method for automatically centering video zoom and pan dispday | |
US20060119903A1 (en) | Imaging apparatus and imaging method | |
US5253064A (en) | Video camera apparatus with electronic zoom control and method therefor | |
US20100265353A1 (en) | Image Processing Device, Image Sensing Device And Image Reproduction Device | |
US20080273098A1 (en) | Apparatus and method for recording image data, and apparatus and method for reproducing zoomed images | |
WO2000016263A1 (en) | A method and apparatus for re-sizing and cropping images by operating directly on their digital orthogonal transforms | |
EP1339224B1 (en) | Method and apparatus for improving picture sharpness | |
EP1032196A3 (en) | Method and apparatus for reducing motion artifacts and noise in video image processing | |
US20030107582A1 (en) | Noise reducing method, noise reducing device, medium, and program | |
EP0809834A2 (en) | System and method for minimizing blocking artifacts in a filtered image | |
CN102893305A (en) | Image processing device and image capturing device | |
CN1173328C (en) | Method for fast regulating image size | |
CN108335273B (en) | Real-time distortion elimination method for large wide-angle fisheye panoramic lens camera | |
US20050088531A1 (en) | Automatic stabilization control apparatus, automatic stabilization control method, and computer readable recording medium having automatic stabilization control program recorded thereon | |
CN1595954A (en) | A method of definition compensation during video image zoom | |
JP3132055B2 (en) | Image processing apparatus and image processing method | |
US20050226539A1 (en) | Zoom algorithm | |
TWI373961B (en) | Fast video enhancement method and computer device using the method | |
CN1286062C (en) | Interpolation processing method for digital image | |
EP1494465A1 (en) | Image enlarging device and method | |
TW494675B (en) | Method to adjust the image size rapidly | |
JP4694716B2 (en) | On-screen device for target image in portable electronic device and control method thereof | |
JP3265857B2 (en) | Visual recognition device |
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: 20041027 Termination date: 20150111 |
|
EXPY | Termination of patent right or utility model |