CN1892807A - Image lattice displaying-format changing method and system - Google Patents
Image lattice displaying-format changing method and system Download PDFInfo
- Publication number
- CN1892807A CN1892807A CN 200510035670 CN200510035670A CN1892807A CN 1892807 A CN1892807 A CN 1892807A CN 200510035670 CN200510035670 CN 200510035670 CN 200510035670 A CN200510035670 A CN 200510035670A CN 1892807 A CN1892807 A CN 1892807A
- Authority
- CN
- China
- Prior art keywords
- value
- storage unit
- address
- pixel
- frame memory
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 15
- 239000011159 matrix material Substances 0.000 claims abstract description 21
- 238000006243 chemical reaction Methods 0.000 claims abstract description 20
- 238000010586 diagram Methods 0.000 description 7
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
Images
Landscapes
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The present invention refers to image dot matrix display format conversion method. It contains 1, judging whether frame buffer line number or column number concordance with displayed picture lattice, If discordance then executing step 2; 2, reading frame buffer each pixel address line and column value; 3, subtracting one from displayed picture lattice column number and storing in first memory unit; subtracting one from displayed picture lattice line number and storing in second memory unit; 4, frame buffer pixel column number divided by first memory unit value and storing in first memory unit; frame buffer pixel line number divided by second memory unit value and storing in second memory unit; 5, step 2 column value multiplied by first memory unit value and storing in first memory unit; step 2 line value multiplied by second memory unit value and storing in second memory unit.
Description
Technical field
The present invention relates to the video display technology field, be specifically related to a kind of method and system of image lattice displaying-format changing.
Background technology
Development along with novel dot matrix display techniques such as digitizing technique and flat pannel display, little demonstration, Projection Display, in carrying out processes such as image capture, making, transmission, owing to the resolution requirement to the different brackets of image adopts different picture signal forms, promptly adopt different " image lattice number " or " pixel count ", and different reception display terminals is also owing to its different display resolution grade has different display formats.But for a reception display terminal, the picture signal form of its reception or input may be also inequality with the image lattice display format of itself, this inconsistent picture signal that display terminal can not show normally that institute receives or imports that causes receiving.Therefore, for the terminal that makes a kind of display format can the corresponding picture signal that shows multiple different-format, just must there be a kind of method to carry out image lattice displaying-format changing, and in receiving display terminal, adds the image lattice displaying-format changing Circuits System.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of method and system of image lattice displaying-format changing.
The present invention adopts following technical scheme:
A kind of method of image lattice displaying-format changing is characterized in that, comprises step:
Whether the line number of pixel or columns be consistent with the line number or the columns of display image dot matrix in a1, the judgment frame storer, if inconsistent then execution in step a2;
A2, read the row value and the train value of pixel address in the frame memory;
A3, the mode that foundation is certain change described row value and train value among the step a2, the frame memory that obtains after the conversion reads address and pixel explicit address, this frame memory is read the address deposit in and read addressed memory, deposit this pixel explicit address in the explicit address storer.
Described method, wherein: described step a3 may further comprise the steps:
A31, the columns of display image dot matrix is subtracted 1 and deposit first storage unit in, the line number of display image dot matrix is subtracted 1 and deposit second storage unit in;
A32, with the columns of pixel in the frame memory divided by the value of first storage unit and deposit first storage unit in, with the line number of pixel in the frame memory divided by the value of second storage unit and deposit second storage unit in;
A33, the train value among the step a2 be multiply by the value of first storage unit and deposits first storage unit in, with the row among the step a2 on duty with second storage unit value and deposit second storage unit in;
A34, with the value of the train value among the step a2 and first storage unit mutually adduction deposit first storage unit in, with the value of the row value among the step a2 and second storage unit mutually adduction deposit second storage unit in;
A35, the value of first storage unit is rounded operation, obtain the row value of the address in the new display format;
A36, the value of second storage unit is rounded operation, obtain the train value of the address in the new display format.
Described method, wherein: the operation that rounds of described step a35 and a36 adopts the mode that rounds up to carry out.
A kind of system of image lattice displaying-format changing, comprise microprocessor, clock generator, signal processor, display driver, it is characterized in that: also comprise the frame memory that is used to store the picture signal that receives, be used for the addressed memory that writes that the control chart image signal writes frame memory, be used to store the addressed memory of reading of frame memory addresses after the display format conversion, the explicit address storer that is used for the storage pixel explicit address, write addressed memory and read addressed memory and link to each other with frame memory by address bus, the explicit address storer links to each other with display driver by address bus, microprocessor is by control bus and write addressed memory, read addressed memory, explicit address storer and signal processor link to each other, output end of microprocessor has the write control signal line to be connected to frame memory and write addressed memory, and reads control signal wire and be connected to frame memory and read addressed memory.
Adopt technical solution of the present invention, can carry out conversion and demonstration to the different images dot matrix format effectively.
Description of drawings
Fig. 1 is the pixel-matrix synoptic diagram of initial pictures display format;
Fig. 2 is through the pixel-matrix synoptic diagram after the display format conversion;
Fig. 3 is an image lattice displaying-format changing system architecture synoptic diagram of the present invention.
Embodiment
Below in conjunction with drawings and Examples the present invention is described in further detail:
Fig. 1 is the pixel-matrix synoptic diagram of initial pictures display format, as shown in Figure 1, the pixel-matrix of initial pictures display format is the capable and N row of M, total pixel number is M*N, frame memory is under the control of the driving of time clock and Input Address generator, by this picture element matrix with the corresponding address unit in each pixel content write store, for the pixel aij of the capable j row of i wherein
aij=a[j,i] 1-1
(square bracket are the memory address of aij in frame memory)
Fig. 2 is through the pixel-matrix synoptic diagram after the display format conversion, as shown in Figure 2, be the capable L row of F through the format pixel-matrix after the display format conversion, total pixel number is F*L, but F ≠ M, L ≠ N, corresponding diagram 2 is established the format conversion of being carried out and is " down conversion ", be that the display pixel number has reduced than former form after the format conversion, and the format after the conversion compares with former form that to have reduced pixel count in the horizontal direction be Δ H, has reduced pixel count in vertical direction and has been Δ V then, then
ΔH=N-L 1-2
ΔV=M-F 1-3
If L>N, F>M, promptly Δ H, Δ V are negative value, show that then establishing the format conversion of being carried out is " up conversion ", promptly the display pixel number has increased than former form after the format conversion.
For the later scan format of conversion, because variation has taken place in the dot matrix number, the address of reading pixel value in each frame of pixels storer also may change, promptly may be a ' ij=≠ a[j, i] relation, for each row, each pixel average column address variable quantity of reading of data from frame memory is
ΔaH=ΔH/(L-1)≈ΔH/L=(N-L)/L=N/L-1 1-4
Equally, for each row, each pixel average row address change of reading of data from frame memory is
ΔaV=ΔV/(F-1)≈ΔV/F=(M-F)/F=M/F-1 1-5
So, for the address of any one pixel after the format conversion (be made as i capable j row) read pixel value in the frame memory, establishing aH is column address, and aV is a row address, then should be respectively
aV=INT(i+(i-1)*ΔaV)≈INT(i+i*ΔaV)=INT(i+i*(M-F)/F)=INT(i+i*(M/F-1) 1-6
aH=INT(j+(j-1)*ΔaH)≈INT(j+j*ΔaH)=INT(j+j*(N-L)/L)=INT(j+j*(N/L-1)) 1-7
Because memory address must be an integer, so aV and aH press " rounding up " round numbers with result of calculation.
Therefore, for any pixel a ' ij, have
a′ij=a[aH,aV]=a[INT(j+j*(N/L-1)),INT(i+i*(M/F-1))]
1-8
Promptly for the capable j row of the i pixel of format, should be in [INT (j+j* (N/L-1)), INT (i+i* (M/F-1))] address of frame memory the read pixel value, adopt this operation result to carry out reading of memory images data.Because the new number of addresses to each pixel of calculating rounds according to " rounding up ", its error can not surpass a pixel.
Concrete image lattice displaying-format changing is taked following steps:
Whether the line number of pixel or columns be consistent with the line number or the columns of display image dot matrix in a1, the judgment frame storer, if inconsistent then execution in step a2;
A2, read the row value and the train value of pixel address in the frame memory;
A3, the mode that foundation is certain change described row value and train value among the step a2, the frame memory that obtains after the conversion reads address and pixel explicit address, this frame memory is read the address deposit in and read addressed memory, deposit this pixel explicit address in the explicit address storer.
Described step a3 may further comprise the steps:
A31, the columns of display image dot matrix is subtracted 1 and deposit first storage unit in, the line number of display image dot matrix is subtracted 1 and deposit second storage unit in;
A32, with the columns of pixel in the frame memory divided by the value of first storage unit and deposit first storage unit in, with the line number of pixel in the frame memory divided by the value of second storage unit and deposit second storage unit in;
A33, the train value among the step a2 be multiply by the value of first storage unit and deposits first storage unit in, with the row among the step a2 on duty with second storage unit value and deposit second storage unit in;
A34, with the value of the train value among the step a2 and first storage unit mutually adduction deposit first storage unit in, with the value of the row value among the step a2 and second storage unit mutually adduction deposit second storage unit in;
A35, the value of first storage unit is rounded operation, obtain the row value of the address in the new display format;
A36, the value of second storage unit is rounded operation, obtain the train value of the address in the new display format.
Fig. 3 is an image lattice displaying-format changing system architecture synoptic diagram of the present invention, as shown in Figure 3, described system comprises microprocessor, clock generator, signal processor, display driver, also comprise the frame memory that is used to store the picture signal that receives, be used for the addressed memory that writes that the control chart image signal writes frame memory, be used to store the addressed memory of reading of frame memory addresses after the display format conversion, the explicit address storer that is used for the storage pixel explicit address, write addressed memory and read addressed memory and link to each other with frame memory by address bus, the explicit address storer links to each other with display driver by address bus, microprocessor is by control bus and write addressed memory, read addressed memory, explicit address storer and signal processor link to each other, output end of microprocessor has the write control signal line to be connected to frame memory and write addressed memory, and reads control signal wire and be connected to frame memory and read addressed memory.
Microprocessor is judged input signal dot matrix format (as 1024 * 768 or 1280 * 720,1920 * 1080 etc.) according to the frame, line synchronizing signal of input, and deposit in and write addressed memory according to the address information that writes that formula 1-1 produces each pixel, the input digital image signal writes each pixel value the respective memory unit of frame memory one by one according to the address that writes addressed memory and provide under the control of microprocessor 1.
Microprocessor 1 according to the screen display format of reality (as 1024 * 768 or 1280 * 720,1920 * 1080 etc.), calculate in the display format make new advances the frame memory of each pixel value reads the address and deposits in and read in the addressed memory according to formula 1-8, again under the control of microprocessor 1, read each pixel value one by one according to the memory address of reading addressed memory and providing, the data image signal of reading carries out various image quality through signal processor under the control of microprocessor handles and contrast, saturation degree, send into display driving part after the control of image parameters such as brightness, microprocessor is according to the frame of input, line synchronizing signal and new display format produce corresponding pixel explicit address and deposit in the explicit address storer, and the address that treated data image signal provides according to the explicit address storer is carried out image and shown on display screen (or display light chip).
Although with reference to embodiment the present invention is illustrated and describes, those skilled in the art can understand, and under the situation that does not depart from scope and spirit of the present invention, can carry out all conspicuous modification of form and details to it.Under the situation that does not break away from the spirit and scope of the present invention, all variations and modification are all within appended claims institute restricted portion.
Claims (4)
1, a kind of method of image lattice displaying-format changing is characterized in that, comprises step:
Whether the line number of pixel or columns be consistent with the line number or the columns of display image dot matrix in a1, the judgment frame storer, if inconsistent then execution in step a2;
A2, read the row value and the train value of pixel address in the frame memory;
A3, the mode that foundation is certain change described row value and train value among the step a2, the frame memory that obtains after the conversion reads address and pixel explicit address, this frame memory is read the address deposit in and read addressed memory, deposit this pixel explicit address in the explicit address storer.
2, the method for image lattice displaying-format changing according to claim 1 is characterized in that: described step a3 may further comprise the steps:
A31, the columns of display image dot matrix is subtracted 1 and deposit first storage unit in, the line number of display image dot matrix is subtracted 1 and deposit second storage unit in;
A32, with the columns of pixel in the frame memory divided by the value of first storage unit and deposit first storage unit in, with the line number of pixel in the frame memory divided by the value of second storage unit and deposit second storage unit in;
A33, the train value among the step a2 be multiply by the value of first storage unit and deposits first storage unit in, with the row among the step a2 on duty with second storage unit value and deposit second storage unit in;
A34, with the value of the train value among the step a2 and first storage unit mutually adduction deposit first storage unit in, with the value of the row value among the step a2 and second storage unit mutually adduction deposit second storage unit in;
A35, the value of first storage unit is rounded operation, obtain the row value of the address in the new display format;
A36, the value of second storage unit is rounded operation, obtain the train value of the address in the new display format.
3, the method for image lattice displaying-format changing according to claim 2 is characterized in that: the operation that rounds of described step a35 and a36 adopts the mode that rounds up to carry out.
4, a kind of system of image lattice displaying-format changing, comprise microprocessor, clock generator, signal processor, display driver, it is characterized in that: also comprise the frame memory that is used to store the picture signal that receives, be used for the addressed memory that writes that the control chart image signal writes frame memory, be used to store the addressed memory of reading of frame memory addresses after the display format conversion, the explicit address storer that is used for the storage pixel explicit address, write addressed memory and read addressed memory and link to each other with frame memory by address bus, the explicit address storer links to each other with display driver by address bus, microprocessor is by control bus and write addressed memory, read addressed memory, explicit address storer and signal processor link to each other, output end of microprocessor has the write control signal line to be connected to frame memory and write addressed memory, and reads control signal wire and be connected to frame memory and read addressed memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200510035670A CN100580765C (en) | 2005-06-30 | 2005-06-30 | Image lattice displaying-format changing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200510035670A CN100580765C (en) | 2005-06-30 | 2005-06-30 | Image lattice displaying-format changing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1892807A true CN1892807A (en) | 2007-01-10 |
CN100580765C CN100580765C (en) | 2010-01-13 |
Family
ID=37597602
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200510035670A Expired - Fee Related CN100580765C (en) | 2005-06-30 | 2005-06-30 | Image lattice displaying-format changing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100580765C (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB9012326D0 (en) * | 1990-06-01 | 1990-07-18 | Thomson Consumer Electronics | Wide screen television |
US5473381A (en) * | 1993-08-07 | 1995-12-05 | Goldstar Co., Ltd. | Apparatus for converting frame format of a television signal to a display format for a high definition television (HDTV) receiver |
KR0147209B1 (en) * | 1994-10-20 | 1998-09-15 | 이헌조 | A device for converting video format of hdtv |
US6353460B1 (en) * | 1997-09-30 | 2002-03-05 | Matsushita Electric Industrial Co., Ltd. | Television receiver, video signal processing device, image processing device and image processing method |
CN1595972A (en) * | 2003-09-11 | 2005-03-16 | 乐金电子(沈阳)有限公司 | Format conversion device |
-
2005
- 2005-06-30 CN CN200510035670A patent/CN100580765C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN100580765C (en) | 2010-01-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1300755C (en) | Device and method for displaying grey scale grade of plasma display screen | |
CN1928700A (en) | Projection type display device and method for controlling the same | |
CN1737897A (en) | Display device and drive unit thereof and driving method | |
CN101080741A (en) | Device and method for composing image | |
CN1697490A (en) | Video apparatus and image pickup apparatus | |
CN1120623C (en) | Image recording and reproduction apparatus | |
CN1941062A (en) | Liquid crystal display having improved image quality | |
CN1263282C (en) | Apparatus for and method of interfacing between an image sensor and an image processor | |
CN1925545A (en) | Image processor | |
CN1950877A (en) | Error accumulation dithering of image data | |
CN1531825A (en) | Monitor | |
CN1794796A (en) | Displaying apparatus and control method thereof | |
CN1719888A (en) | Apparatus for implementing video frequency sequential to interlaced conversion and converting method | |
CN101038732A (en) | Integration-type image control chip group | |
CN1893548A (en) | Image processing apparatus, image processing method and program | |
CN101064816A (en) | Image processing apparatus and method for preventing degradation of image quality when bit format of image is converted | |
CN1892807A (en) | Image lattice displaying-format changing method and system | |
CN1920935A (en) | Image display method, system and unit | |
CN116862814A (en) | Image processing method, image processing apparatus, and computer-readable storage medium | |
CN1578393A (en) | Method and apparatus for image frame synchronization | |
CN1210951C (en) | Projection display device with distortion correction function | |
CN1717922A (en) | Server and a server system | |
CN1746965A (en) | Apparatus for controlling color liquid crystal display and method thereof | |
CN1154048C (en) | Address processing method | |
CN1779770A (en) | Planar displaying device and grid driving circuit and driving 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100113 Termination date: 20130630 |