US20160119621A1 - Image processing method and display apparatus - Google Patents
Image processing method and display apparatus Download PDFInfo
- Publication number
- US20160119621A1 US20160119621A1 US14/121,857 US201414121857A US2016119621A1 US 20160119621 A1 US20160119621 A1 US 20160119621A1 US 201414121857 A US201414121857 A US 201414121857A US 2016119621 A1 US2016119621 A1 US 2016119621A1
- Authority
- US
- United States
- Prior art keywords
- pixel group
- pixel
- color components
- compressed data
- image
- 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.)
- Abandoned
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
- G09G5/39—Control of the bit-mapped memory
- G09G5/393—Arrangements for updating the contents of the bit-mapped memory
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/12—Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1415—Digital output to display device ; Cooperation and interconnection of the display device with other functional units with means for detecting differences between the image stored in the host and the images displayed on the displays
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
- G06F3/1462—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay with means for detecting differences between the image stored in the host and the images displayed on the remote displays
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/20—Processor architectures; Processor configuration, e.g. pipelining
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/60—Memory management
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
- G09G5/39—Control of the bit-mapped memory
- G09G5/395—Arrangements specially adapted for transferring the contents of the bit-mapped memory to the screen
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/164—Feedback from the receiver or from the transmission channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/172—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2200/00—Indexing scheme for image data processing or generation, in general
- G06T2200/28—Indexing scheme for image data processing or generation, in general involving image processing hardware
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2310/00—Command of the display device
- G09G2310/04—Partial updating of the display screen
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2330/00—Aspects of power supply; Aspects of display protection and defect management
- G09G2330/02—Details of power systems and of start or stop of display operation
- G09G2330/021—Power management, e.g. power saving
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2340/00—Aspects of display data processing
- G09G2340/02—Handling of images in compressed format, e.g. JPEG, MPEG
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2340/00—Aspects of display data processing
- G09G2340/06—Colour space transformation
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2360/00—Aspects of the architecture of display systems
- G09G2360/08—Power processing, i.e. workload management for processors involved in display operations, such as CPUs or GPUs
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2360/00—Aspects of the architecture of display systems
- G09G2360/12—Frame memory handling
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2360/00—Aspects of the architecture of display systems
- G09G2360/18—Use of a frame buffer in a display terminal, inclusive of the display panel
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2370/00—Aspects of data communication
- G09G2370/04—Exchange of auxiliary data, i.e. other than image data, between monitor and graphics controller
Definitions
- the present invention relates to an image processing method and a display apparatus and more particularly relates to an image processing method and a display apparatus that saves processing resource.
- Portable devices are more and more popular today. For example, various mobile phones, tablets like iPad and laptop computers like Ultrabook computers, have become daily tools for many people. In these portable devices, a display is common for providing information to users and is a major power consuming component. Because battery capacity is still a bottleneck for designing portable devices, energy saving is still a critical issue to consider.
- a method for processing an image includes the following steps.
- a buffer is provided and separated into a series of storage units.
- Each storage unit has a fixed size.
- the image is divided into a plurality of pixel groups, each pixel group corresponding to one of the storage units.
- Each pixel group is compressed by one of candidate compression methods to obtain first compressed data so that the first compressed data of each pixel group fitting the corresponding storage unit.
- a display apparatus includes a mapping device and a compressor.
- the mapping device divides the image into a plurality of pixel groups, each pixel group corresponding to one of storage units with a fixed size in a buffer.
- the compressor device compresses each pixel group by one of candidate compression methods to obtain first compressed data so that the first compressed data of each pixel group fitting the corresponding storage unit.
- FIG. 1 illustrates an electronic apparatus as an embodiment according to the present invention
- FIG. 2A illustrates an image being divided into a series of pixel groups
- FIG. 2B illustrates a pixel group that has four pixels
- FIG. 2C illustrates color components of a pixel group
- FIG. 3 illustrates color space conversion
- FIG. 4 illustrates relation between pixel groups and storage units
- FIG. 5 illustrates only a portion of image is to be updated
- FIG. 6 illustrates a flowchart for updating the image.
- FIG. 1 illustrates an embodiment according to the present invention.
- an electronic apparatus includes a host device 14 , a display device 12 and a panel 16 .
- the host device 14 supplies image data to the display device 12 via a transmission link.
- the display device 12 renders output image on the panel 16 according to the image data.
- FIG. 1 is used for explaining the embodiment, and persons of ordinary skilled in the art may apply the illustrated structure to various applications, like a mobile phone, a tablet computer, a notepad, a video recorder, a camera, a notebook computer, a multimedia player, a television, a settop box, or any electronic apparatuses that show images on an inner display or an external display.
- the transmission link may be a mini-LVDS (low-voltage different signaling), a serial bus, a parallel bus or even a wireless link for sending image data to the display device 12 from the host device 14 .
- mini-LVDS low-voltage different signaling
- serial bus serial bus
- parallel bus parallel bus
- wireless link for sending image data to the display device 12 from the host device 14 .
- the display device 12 may have different forms.
- the display device 12 may be combined with the panel 16 to form a panel module.
- a manufacturer may produce and sell the panel module to another manufacturer who assemblies the panel module to a host device, e.g. the motherboard of a mobile phone, to produce an end product, e.g. a mobile phone.
- the display device 12 may be integrated with the host device 14 as an integrated chip.
- the display device 12 has a compressor 122 , a mapping device 124 , a buffer 126 and a decompressor 128 .
- the image data from the host device 14 is compressed by the compressor 128 and compressed data are stored in the buffer to addresses determined by the mapping device 124 .
- the decompressor 128 decompresses the compressed data so as to supply data to the panel 16 to display output image.
- FIGS. 2A, 2B and 2C Please refer to FIGS. 2A, 2B and 2C .
- FIG. 2A illustrates a two dimension panel.
- the pixels on the panel are divided into 360 (24 ⁇ 15) pixel groups, and each pixel group has four (2 ⁇ 2) pixels.
- each pixel group has four (2 ⁇ 2) pixels.
- the number of pixels in each pixel group and the number of pixel groups may be adjusted for different requirements.
- FIG. 2B illustrates an enlarged diagram of a pixel group that is marked with shadow lines in FIG. 1 .
- the pixel group in FIG. 2B includes four pixels, i.e. P1, P2, P3 and P4.
- FIG. 2C illustrates three color components for the four pixel in the pixel groups of FIG. 2B .
- color information of each pixel is represented in red, green and blue color space. Therefore, each pixel, e.g. P1, has a red component, e.g. R1, a green component, e.g. G1, and a blue component, e.g. B1.
- the resolutions may be different and different bits are needed to store color information.
- each color component for a pixel may take 8 bits to represent strength in an associated color component. In such arrangement, there are 24 bits in total for a pixel and 96 (24 ⁇ 4) bits in total for a pixel group.
- FIG. 3 illustrates conversion between the color space of Red, Green and Blue and the color space of Y, Cb, Cr, where Y is the brightness (luma), Cb is blue minus luma (B ⁇ Y) and Cr is red minus luma (R ⁇ Y).
- Y is the brightness (luma)
- Cb is blue minus luma (B ⁇ Y)
- Cr is red minus luma (R ⁇ Y).
- the image data sent from the host device 14 in FIG. 1 may be encoded in Red, Green and Blue color space, but the display device 12 may convert the image data into the color space of Y, Cb and Cr before compression is performed.
- FIG. 4 illustrates relations between pixel groups 40 and storage units in the buffer 126 of FIG. 1 .
- compressed data of each pixel group 40 are stored in a corresponding storage unit 42 in the buffer 126 of FIG. 1 .
- the size of each storage unit is fixed. In other words, it is easy and fast to calculate an address of the buffer associated to a specific pixel group.
- the fixed size for storing each pixel group may be adjusted according to different design requirements. Generally, higher compression ratio decreases the fixed size necessary for storing compressed data of each pixel group.
- each pixel group may even be compressed by different compression methods.
- a mode indicator needs to be stored along with the compressed data for each pixel group.
- the size for storing the mode indicator depends on how many candidate compression methods are used. Theoretically, various compression methods, including lossless and lossy compression methods, may be chosen as the candidate compression methods. Persons of ordinary skilled in the art may find lots of information from books to choose data compression methods for their needs.
- the pattern for color components in a pixel group may be analyzed to find similarity between pixels to obtain compressed result. For example illustrated in FIG. 2C , if R1 equals to G1 and equals to B1, R2 equals to G2 and equals to B2, R3 equals to G3 and equals to B3 and R4 equals to G4 and equals to B4, only R1, R2, R3 and R4 need to be stored or to be further compressed to obtain the compressed data for the pixel group if a mode indicator indicating such pattern exists is stored at the same time.
- R1 equals to G3 and equals to B2
- R2 equals to G4 and equals to B3
- R3 equals to G1 and equals to B4
- R4 equals to G2 and equals to B1
- G1, G2, G3 and G4 may be stored and a mode indicator indicating such pattern exists is stored along with G1, G2, G3 and G4.
- compression methods may be combined with conventional compression methods.
- R1, R2, R3 and R4 need to be stored because G1, G2, G3, G4, B1, B2, B3 and B4 may be generated by reference to R1, R2, R3 and R4 according to an associated mode indicator, R1, R2, R3 and R4 may be further compressed to save space.
- a compression method is applied to compress a pixel group and the size of the compressed data is larger than the fixed size of a storage unit, i.e. not fit to the storage unit, certain information may be discarded. For example, certain bits of LSB (least significant bits) may be discarded before compression is applied.
- LSB least significant bits
- multiple compression methods may be tested under a priority order to pick the compression method to compress a pixel group.
- a compression method A may provide best image quality but due to pixel information characteristic, applying the compression method A cannot achieve a predetermined compression ratio, a compression method B providing less image quality may be tested next.
- complexity or processing resource needed to perform a compression or other parameter may also be used to determine the priority order among candidate compression methods.
- the candidate compression methods may be tested in serial or in parallel depending on hardware capacity.
- the number of candidate compression methods supported may also be considered because mode indicator may also occupy storage space.
- the mode indicators may be stored directly with compressed data, e.g. as headers.
- the mode indicators may also be stored separately in a different buffer.
- FIG. 5 illustrates a case that only a portion of the image is updated.
- FIG. 6 illustrates what happens when the display device 12 receives the updated image data (step 602 ).
- the updated image data are divided into pixel groups as explained above (step 604 ). Because the storage unit of the buffer has a fixed size, it is easy and fast to identify addresses of corresponding storage units (step 606 ). Because compression method is picked on pixel group basis, a proper compression method is selected for compressing each pixel group that needs to be updated (step 608 ). Finally, the pixel groups are compressed (step 610 ) and the updated compressed result are stored in corresponding storage units of the buffer.
- mapping device 124 may be composed of certain firmware codes running by a controller or be implemented as associated hardware logic circuit.
- Each of the compression methods may be implemented as software instructions running on hardware of the host device or of the display device or their combination.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Discrete Mathematics (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
A method and an apparatus for processing an image are provided. A buffer is provided and separated into a series of storage units. Each storage unit has a fixed size. The image is divided into pixel groups, and each pixel group corresponds to one storage unit. Each pixel group is compressed by one of candidate compression methods to obtain compressed data so that the compressed data of each pixel group fits the corresponding storage unit.
Description
- The present application is a continuation application of U.S. patent application Ser. No. 13/507,726 filed Jul. 25, 2012. The content of the identified parent application is incorporated herein by reference in its entirety.
- The present invention relates to an image processing method and a display apparatus and more particularly relates to an image processing method and a display apparatus that saves processing resource.
- Portable devices are more and more popular today. For example, various mobile phones, tablets like iPad and laptop computers like Ultrabook computers, have become daily tools for many people. In these portable devices, a display is common for providing information to users and is a major power consuming component. Because battery capacity is still a bottleneck for designing portable devices, energy saving is still a critical issue to consider.
- According to one embodiment of the present invention, a method for processing an image includes the following steps. A buffer is provided and separated into a series of storage units. Each storage unit has a fixed size. The image is divided into a plurality of pixel groups, each pixel group corresponding to one of the storage units. Each pixel group is compressed by one of candidate compression methods to obtain first compressed data so that the first compressed data of each pixel group fitting the corresponding storage unit.
- According to another embodiment of the present invention, a display apparatus includes a mapping device and a compressor. The mapping device divides the image into a plurality of pixel groups, each pixel group corresponding to one of storage units with a fixed size in a buffer. The compressor device compresses each pixel group by one of candidate compression methods to obtain first compressed data so that the first compressed data of each pixel group fitting the corresponding storage unit.
-
FIG. 1 illustrates an electronic apparatus as an embodiment according to the present invention; -
FIG. 2A illustrates an image being divided into a series of pixel groups; -
FIG. 2B illustrates a pixel group that has four pixels; -
FIG. 2C illustrates color components of a pixel group; -
FIG. 3 illustrates color space conversion; -
FIG. 4 illustrates relation between pixel groups and storage units; -
FIG. 5 illustrates only a portion of image is to be updated; and -
FIG. 6 illustrates a flowchart for updating the image. - Please refer to
FIG. 1 , which illustrates an embodiment according to the present invention. - In
FIG. 1 , an electronic apparatus includes ahost device 14, adisplay device 12 and apanel 16. Thehost device 14 supplies image data to thedisplay device 12 via a transmission link. Thedisplay device 12 renders output image on thepanel 16 according to the image data. -
FIG. 1 is used for explaining the embodiment, and persons of ordinary skilled in the art may apply the illustrated structure to various applications, like a mobile phone, a tablet computer, a notepad, a video recorder, a camera, a notebook computer, a multimedia player, a television, a settop box, or any electronic apparatuses that show images on an inner display or an external display. - For different design requirements and applications, the transmission link may be a mini-LVDS (low-voltage different signaling), a serial bus, a parallel bus or even a wireless link for sending image data to the
display device 12 from thehost device 14. - For different design requirements and applications, the
display device 12 may have different forms. For example, thedisplay device 12 may be combined with thepanel 16 to form a panel module. In other words, a manufacturer may produce and sell the panel module to another manufacturer who assemblies the panel module to a host device, e.g. the motherboard of a mobile phone, to produce an end product, e.g. a mobile phone. For another example, thedisplay device 12 may be integrated with thehost device 14 as an integrated chip. In addition to the above mentioned examples, persons of ordinary skilled in the art should be able to practice the concept to other arrangements. - The
display device 12 has acompressor 122, amapping device 124, abuffer 126 and adecompressor 128. The image data from thehost device 14 is compressed by thecompressor 128 and compressed data are stored in the buffer to addresses determined by themapping device 124. When timing satisfies certain condition, thedecompressor 128 decompresses the compressed data so as to supply data to thepanel 16 to display output image. - Next, please refer to
FIGS. 2A, 2B and 2C . -
FIG. 2A illustrates a two dimension panel. In this example, the pixels on the panel are divided into 360 (24×15) pixel groups, and each pixel group has four (2×2) pixels. Please be noted that the number of pixels in each pixel group and the number of pixel groups may be adjusted for different requirements. -
FIG. 2B illustrates an enlarged diagram of a pixel group that is marked with shadow lines inFIG. 1 . The pixel group inFIG. 2B includes four pixels, i.e. P1, P2, P3 and P4. -
FIG. 2C illustrates three color components for the four pixel in the pixel groups ofFIG. 2B . In this example, color information of each pixel is represented in red, green and blue color space. Therefore, each pixel, e.g. P1, has a red component, e.g. R1, a green component, e.g. G1, and a blue component, e.g. B1. For different panels, the resolutions may be different and different bits are needed to store color information. For example, each color component for a pixel may take 8 bits to represent strength in an associated color component. In such arrangement, there are 24 bits in total for a pixel and 96 (24×4) bits in total for a pixel group. -
FIG. 3 illustrates conversion between the color space of Red, Green and Blue and the color space of Y, Cb, Cr, where Y is the brightness (luma), Cb is blue minus luma (B−Y) and Cr is red minus luma (R−Y). For brevity, conversion details between color spaces are not explained here, but persons of ordinary skilled in the art should know that color information may be stored as different color component combination in different color spaces. - Moreover, the image data sent from the
host device 14 inFIG. 1 may be encoded in Red, Green and Blue color space, but thedisplay device 12 may convert the image data into the color space of Y, Cb and Cr before compression is performed. - Next, please refer to
FIG. 4 , which illustrates relations betweenpixel groups 40 and storage units in thebuffer 126 ofFIG. 1 . - In
FIG. 4 , compressed data of eachpixel group 40 are stored in acorresponding storage unit 42 in thebuffer 126 ofFIG. 1 . In addition, the size of each storage unit is fixed. In other words, it is easy and fast to calculate an address of the buffer associated to a specific pixel group. Please be noted that the fixed size for storing each pixel group may be adjusted according to different design requirements. Generally, higher compression ratio decreases the fixed size necessary for storing compressed data of each pixel group. - For example, if original data of a pixel group have 12 bytes (8 bits/color component×3 color components×4 pixels/pixel group) and the compression ratio is set as 50%, at least 6 bytes are necessary for storing compressed data of each pixel group. The address for accessing 7th pixel group would therefore be 6×7 bytes from the beginning of the buffer.
- In the embodiment, each pixel group may even be compressed by different compression methods. When such approach is applied, a mode indicator needs to be stored along with the compressed data for each pixel group. The size for storing the mode indicator depends on how many candidate compression methods are used. Theoretically, various compression methods, including lossless and lossy compression methods, may be chosen as the candidate compression methods. Persons of ordinary skilled in the art may find lots of information from books to choose data compression methods for their needs.
- Several compression methods are provided here as examples but are not used as limitations for the present invention. First, the pattern for color components in a pixel group may be analyzed to find similarity between pixels to obtain compressed result. For example illustrated in
FIG. 2C , if R1 equals to G1 and equals to B1, R2 equals to G2 and equals to B2, R3 equals to G3 and equals to B3 and R4 equals to G4 and equals to B4, only R1, R2, R3 and R4 need to be stored or to be further compressed to obtain the compressed data for the pixel group if a mode indicator indicating such pattern exists is stored at the same time. - For another example illustrated in
FIG. 2C , if R1 equals to G3 and equals to B2, R2 equals to G4 and equals to B3, R3 equals to G1 and equals to B4, and R4 equals to G2 and equals to B1, still only R1, R2, R3 and R4 need to be stored or to be further compressed to obtain the compressed data for the pixel group if a mode indicator indicating such pattern exists is stored at the same time. - Yet for another example illustrated in
FIG. 2C , if R1 is near G1 that equals to B1, and R2, R3, R4 equal to G2, G3, G4 that further equal to B2, B3, B4, in such case, G1, G2, G3 and G4 may be stored and a mode indicator indicating such pattern exists is stored along with G1, G2, G3 and G4. - It is therefore clear to understand that to categorize patterns of pixel groups itself is a type of compression, because storing a mode indicator indicating what pattern occurs is sufficient to restore original information instead of storing all redundant data.
- Moreover, such compression methods may be combined with conventional compression methods. In other words, if only R1, R2, R3 and R4 need to be stored because G1, G2, G3, G4, B1, B2, B3 and B4 may be generated by reference to R1, R2, R3 and R4 according to an associated mode indicator, R1, R2, R3 and R4 may be further compressed to save space.
- In addition, if a compression method is applied to compress a pixel group and the size of the compressed data is larger than the fixed size of a storage unit, i.e. not fit to the storage unit, certain information may be discarded. For example, certain bits of LSB (least significant bits) may be discarded before compression is applied.
- Depending on different design requirements, e.g. hardware cost or complexity, multiple compression methods may be tested under a priority order to pick the compression method to compress a pixel group. In other words, a compression method A may provide best image quality but due to pixel information characteristic, applying the compression method A cannot achieve a predetermined compression ratio, a compression method B providing less image quality may be tested next. Please be noted that in addition to reference to the parameter of image quality, complexity or processing resource needed to perform a compression or other parameter may also be used to determine the priority order among candidate compression methods.
- Besides, the candidate compression methods may be tested in serial or in parallel depending on hardware capacity. The number of candidate compression methods supported may also be considered because mode indicator may also occupy storage space. The mode indicators may be stored directly with compressed data, e.g. as headers. The mode indicators may also be stored separately in a different buffer.
- Next, please refer to
FIG. 5 , which illustrates a case that only a portion of the image is updated. - In the example of
FIG. 5 , only eight pixel groups of the image, instead of the whole image, are changed. It often happens in a mobile phone that a portion of image indicating a battery status or an incoming message needs to be changed. If such case happens, thehost device 14 ofFIG. 1 may only need to send updated image data of the eight pixel groups and their coordinates to thedisplay device 12 ofFIG. 1 . -
FIG. 6 illustrates what happens when thedisplay device 12 receives the updated image data (step 602). The updated image data are divided into pixel groups as explained above (step 604). Because the storage unit of the buffer has a fixed size, it is easy and fast to identify addresses of corresponding storage units (step 606). Because compression method is picked on pixel group basis, a proper compression method is selected for compressing each pixel group that needs to be updated (step 608). Finally, the pixel groups are compressed (step 610) and the updated compressed result are stored in corresponding storage units of the buffer. - By using the above mentioned approach, only a portion of the image needs to be updated. Bandwidth between the display device and the host device is saved. In addition, computation resource is also saved and that usually save more precious energy to keep an electronic apparatus to keep alive longer under limited battery capacity.
- Please be noted that the above mention methods and devices may be implemented by firmware, software, hardware or their various combination based on different design requirements. For example, the
mapping device 124 may be composed of certain firmware codes running by a controller or be implemented as associated hardware logic circuit. Each of the compression methods may be implemented as software instructions running on hardware of the host device or of the display device or their combination. For various approaches who follow the spirit of the invention based on disclosure of the present invention should be regarded falling within the scope of the present invention. - The foregoing descriptions of embodiments of the present invention have been presented only for purposes of illustration and description. They are not intended to be exhaustive or to limit the present invention to the forms disclosed. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art. Additionally, the above disclosure is not intended to limit the present invention. The scope of the present invention is defined by the appended claims.
Claims (18)
1. A method for processing an image from an image processor with a fixed size compression system in a mobile phone, comprising:
providing a buffer separated into a series of storage units, each storage unit having a fixed size;
dividing the image into a plurality of pixel groups by a processor, each pixel group corresponding to one of the storage units, each pixel group is composed of four (2×2) pixel;
calculating the pixel group into color components for further compression process with the color components with fixed sizes;
compressing each pixel group by one of candidate compression methods by analyzing a pixel pattern with color components of the pixel group to obtain first a compressed data so that the first compressed data of each pixel group fitting the corresponding storage unit; and,
decompressing the compressed data by using a mapping device to supply data to display output image.
2. The method of claim 1 , wherein pixel pattern of each pixel group are analyzed to pick said one of the candidate compression methods by analyzing the fixed size pattern with the fixed size color components of the pixel group.
3. The method of claim 2 , wherein color components of the pixel pattern of each pixel group are examined to determine whether similarity exists among color components to pick said one compression method for each pixel group.
4. The method of claim 3 , wherein if similarity among color components is found existed, redundant bits in color components are not stored repeatedly to fit in the fixed size storage unit.
5. The method of claim 1 , wherein a plurality of the candidate compression methods are tested for each pixel group to find said one compression method to obtained the compressed data for each pixel group, the candidate compression methods are tested with a fixed order, when a compression method fits in the compression ratio, the compression method is said the one compression method to obtained the compressed data for each pixel group.
6. The method of claim 1 , wherein a mode indicator for each pixel group is stored to indicate said one corresponding compression method applied to each pixel group to generate the compressed data stored in the corresponding storage unit.
7. The method of claim 1 , wherein pixel groups not corresponding to the portion of the image to be updated are not processed to save processing resource.
8. The method of claim 1 , wherein the steps of processing the image are performed in a display panel module.
9. The method of claim 8 , wherein the display panel module receives an updated portion of the image from a host device via a transmission link.
10. A mobile phone, comprising:
a mapping device dividing the image into a plurality of pixel groups, each pixel group corresponding to one of storage units with a fixed size in a buffer, each pixel group is composed of four (2×2) pixels;
a color component in the buffer to store the separated color components from the pixel group;
a compressor device for compressing each pixel group by one of candidate compression methods by analyzing a pixel pattern with color components of the pixel group to obtain a compressed data so that the compressed data of each pixel group fitting the corresponding storage unit; and
a decompressor to decompress the compressed data and send the decompressed data into a display device to output a display data.
11. The display apparatus of claim 10 , wherein pixel pattern of each pixel group are analyzed to pick said one of the candidate compression methods.
12. The display apparatus of claim 11 , wherein color components of the pixel pattern of each pixel group are examined to determine whether similarity exists among color components to pick said one compression method for each pixel group.
13. The display apparatus of claim 12 , wherein if similarity among color components is found existed, redundant bits in color components are not stored repeatedly.
14. The display apparatus of claim 10 , wherein a plurality of the candidate compression methods are tested for each pixel group to find said one compression method to obtained the compressed data for each pixel group.
15. The display apparatus of claim 10 , wherein a mode indicator for each pixel group is stored to indicate said one corresponding compression method applied to each pixel group to generate the compressed data stored in the corresponding storage unit.
16. The display apparatus of claim 10 , wherein pixel groups not corresponding to the portion of the image to be updated are not processed to save processing resource.
17. The display apparatus of claim 10 , wherein the display apparatus is a display panel connected to a host device.
18. The display apparatus of claim 10 , wherein the display apparatus is a portable electronic device with a fixed size display system to fit a fixed size display process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/121,857 US20160119621A1 (en) | 2012-07-25 | 2014-10-27 | Image processing method and display apparatus |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/507,726 US8942473B2 (en) | 2012-07-25 | 2012-07-25 | Image processing method and display apparatus |
US14/121,857 US20160119621A1 (en) | 2012-07-25 | 2014-10-27 | Image processing method and display apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
US20160119621A1 true US20160119621A1 (en) | 2016-04-28 |
Family
ID=49994949
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/507,726 Active 2032-10-28 US8942473B2 (en) | 2012-07-25 | 2012-07-25 | Image processing method and display apparatus |
US14/121,857 Abandoned US20160119621A1 (en) | 2012-07-25 | 2014-10-27 | Image processing method and display apparatus |
US14/121,934 Abandoned US20160133232A1 (en) | 2012-07-25 | 2014-11-06 | Image processing method and display apparatus |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/507,726 Active 2032-10-28 US8942473B2 (en) | 2012-07-25 | 2012-07-25 | Image processing method and display apparatus |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/121,934 Abandoned US20160133232A1 (en) | 2012-07-25 | 2014-11-06 | Image processing method and display apparatus |
Country Status (1)
Country | Link |
---|---|
US (3) | US8942473B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10304155B2 (en) * | 2017-02-24 | 2019-05-28 | Advanced Micro Devices, Inc. | Delta color compression application to video |
US11153578B2 (en) | 2018-04-27 | 2021-10-19 | Ati Technologies Ulc | Gradient texturing compression codec |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8942473B2 (en) * | 2012-07-25 | 2015-01-27 | Ko Hung Lin | Image processing method and display apparatus |
US9807117B2 (en) * | 2015-03-17 | 2017-10-31 | Solarflare Communications, Inc. | System and apparatus for providing network security |
US10673616B2 (en) * | 2017-01-11 | 2020-06-02 | Qualcomm Incorporated | Lightweight mitigation against first-order probing side-channel attacks on block ciphers |
US11038889B2 (en) * | 2018-11-20 | 2021-06-15 | Cisco Technology, Inc. | System and method for migrating existing access control list policies to intent based policies and vice versa |
US20230334028A1 (en) * | 2022-03-29 | 2023-10-19 | Imagination Technologies Limited | Data compression and decompression |
Family Cites Families (32)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2575595B2 (en) * | 1992-10-20 | 1997-01-29 | インターナショナル・ビジネス・マシーンズ・コーポレイション | Image frame compression method and data processing system |
US5466918A (en) * | 1993-10-29 | 1995-11-14 | Eastman Kodak Company | Method and apparatus for image compression, storage, and retrieval on magnetic transaction cards |
GB9915012D0 (en) * | 1999-06-29 | 1999-08-25 | Koninkl Philips Electronics Nv | Z-buffering graphics system |
JP3289712B2 (en) * | 1999-09-24 | 2002-06-10 | 日本電気株式会社 | Method and apparatus for compressing digital image data |
US6636223B1 (en) * | 2000-08-02 | 2003-10-21 | Ati International. Srl | Graphics processing system with logic enhanced memory and method therefore |
US6636221B1 (en) * | 2000-08-02 | 2003-10-21 | Ati International, Srl | Graphics processing system with enhanced bus bandwidth utilization and method therefore |
JP2003323339A (en) * | 2002-03-01 | 2003-11-14 | Sony Computer Entertainment Inc | Memory access device, semiconductor device, memory access control method, computer program and recording medium |
US20060061822A1 (en) * | 2004-09-22 | 2006-03-23 | Sung Chih-Ta S | Method and device for temporarily storing image data |
US20070296822A1 (en) * | 2006-06-09 | 2007-12-27 | Yin-Chun Blue Lan | Method and device for wireless video communication |
US20080165859A1 (en) * | 2007-01-10 | 2008-07-10 | Chih-Ta Star Sung | Method of digital video frame buffer compression |
US8503521B2 (en) * | 2007-01-16 | 2013-08-06 | Chih-Ta Star SUNG | Method of digital video reference frame compression |
US8270716B2 (en) * | 2007-12-04 | 2012-09-18 | Ricoh Company, Limited | Selectively compressing picture and text areas of an image to maintain highest quality and effective compaction |
US8428120B2 (en) * | 2007-12-11 | 2013-04-23 | Taiwan Imagingtek Corporation | Method and apparatus of Bayer pattern direct video compression |
WO2010001433A1 (en) * | 2008-06-30 | 2010-01-07 | 富士通マイクロエレクトロニクス株式会社 | Memory device and memory controller for controlling the same |
US8654135B1 (en) * | 2008-09-10 | 2014-02-18 | Nvidia Corporation | A-Buffer compression for different compression formats |
US8553041B1 (en) * | 2008-09-10 | 2013-10-08 | Nvidia Corporation | System and method for structuring an A-buffer to support multi-sample anti-aliasing |
JP5029560B2 (en) * | 2008-10-01 | 2012-09-19 | コニカミノルタビジネステクノロジーズ株式会社 | Image processing apparatus, compression method and decompression method |
JP5233897B2 (en) * | 2009-07-31 | 2013-07-10 | ソニー株式会社 | Image processing apparatus and method |
LT2955918T (en) * | 2010-08-17 | 2018-08-10 | Samsung Electronics Co., Ltd. | Video decoding using transformation unit of variable tree structure |
US8890903B2 (en) * | 2010-12-21 | 2014-11-18 | Syndiant, Inc. | Spatial light modulator with storage reducer |
JP5668530B2 (en) * | 2011-03-04 | 2015-02-12 | コニカミノルタ株式会社 | Image processing method and image processing apparatus |
JP5777398B2 (en) * | 2011-05-13 | 2015-09-09 | キヤノン株式会社 | Image processing apparatus, image processing method and program for image processing apparatus |
US8612491B2 (en) * | 2011-10-25 | 2013-12-17 | The United States Of America, As Represented By The Secretary Of The Navy | System and method for storing a dataset of image tiles |
JP2013183240A (en) * | 2012-02-29 | 2013-09-12 | Brother Ind Ltd | Image processor and image processing program |
CN108650516A (en) * | 2012-07-09 | 2018-10-12 | 株式会社尼康 | Compression set, image compressing device and filming apparatus |
US8942473B2 (en) * | 2012-07-25 | 2015-01-27 | Ko Hung Lin | Image processing method and display apparatus |
JP2014082639A (en) * | 2012-10-16 | 2014-05-08 | Canon Inc | Image encoder and method of the same |
KR101835316B1 (en) * | 2013-04-02 | 2018-03-08 | 주식회사 칩스앤미디어 | Method and apparatus for processing video |
CN104125463A (en) * | 2013-04-26 | 2014-10-29 | 华为技术有限公司 | Image predictive coding method and image encoder |
EP2814253B1 (en) * | 2013-06-05 | 2015-09-16 | Axis AB | Method for encoding digital video data |
US9449362B2 (en) * | 2013-09-06 | 2016-09-20 | Intel Corporation | Techniques for reducing accesses for retrieving texture images |
JP6361965B2 (en) * | 2013-10-24 | 2018-07-25 | パナソニックIpマネジメント株式会社 | Imaging system, imaging apparatus, encoding apparatus, and imaging method |
-
2012
- 2012-07-25 US US13/507,726 patent/US8942473B2/en active Active
-
2014
- 2014-10-27 US US14/121,857 patent/US20160119621A1/en not_active Abandoned
- 2014-11-06 US US14/121,934 patent/US20160133232A1/en not_active Abandoned
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10304155B2 (en) * | 2017-02-24 | 2019-05-28 | Advanced Micro Devices, Inc. | Delta color compression application to video |
US11153578B2 (en) | 2018-04-27 | 2021-10-19 | Ati Technologies Ulc | Gradient texturing compression codec |
Also Published As
Publication number | Publication date |
---|---|
US20140029845A1 (en) | 2014-01-30 |
US20160133232A1 (en) | 2016-05-12 |
US8942473B2 (en) | 2015-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20160119621A1 (en) | Image processing method and display apparatus | |
US9516335B2 (en) | Wireless display encoder architecture | |
US8866646B2 (en) | Memory compression technique with low latency per pixel | |
US11954889B2 (en) | Method for processing data, and system, system controller and mudure controller | |
US10621691B2 (en) | Subset based compression and decompression of graphics data | |
CN102289829A (en) | Method and device for storing and restoring image and system for processing image | |
CN107277399A (en) | Television terminal and HDR image switch to SDR method and computer-readable recording medium | |
US7701466B2 (en) | Method and system for providing accelerated video processing in a communication device | |
CN100410868C (en) | Video data compression method | |
US20100103183A1 (en) | Remote multiple image processing apparatus | |
CN114222129A (en) | Image compression encoding method, image compression encoding device, computer equipment and storage medium | |
US7903894B2 (en) | Color image coding using inter-color correlation | |
US20130202219A1 (en) | Image compression device, image expansion device, and image processing apparatus | |
KR100834439B1 (en) | Graphic data compression and decompression device and method | |
US5351133A (en) | Color video display with built-in color decompression system | |
CN101919248A (en) | Byte representation for enhanced image compression | |
US20170221447A1 (en) | Data transmission method, data transmission system and portable display device | |
US7003165B2 (en) | Image processor and image processing method for decompressing progressive-coded compressed image data | |
CN114493983A (en) | Character data compression method, device, storage medium and electronic device | |
CN101083765A (en) | System and method for video data compression | |
CN114285914B (en) | Video data processing system, method and device based on power safety | |
KR101082869B1 (en) | Method and apparatus for compressing data and displaying data by using the same | |
CN112073726B (en) | Compression method and device, computer readable storage medium and electronic device | |
US8223232B2 (en) | Image processing device and image processing method | |
CN113556540A (en) | Fixed ratio compression method and system for image display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |