WO2001069585A1 - System and method for efficient transmission and display of image details by re-usage of compressed data - Google Patents

System and method for efficient transmission and display of image details by re-usage of compressed data Download PDF

Info

Publication number
WO2001069585A1
WO2001069585A1 PCT/US2001/008375 US0108375W WO0169585A1 WO 2001069585 A1 WO2001069585 A1 WO 2001069585A1 US 0108375 W US0108375 W US 0108375W WO 0169585 A1 WO0169585 A1 WO 0169585A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
data
user input
resolution level
display
Prior art date
Application number
PCT/US2001/008375
Other languages
French (fr)
Inventor
Charles Chui
Original Assignee
Picsurf, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US09/687,467 external-priority patent/US6549674B1/en
Priority claimed from US09/808,476 external-priority patent/US20020021758A1/en
Application filed by Picsurf, Inc. filed Critical Picsurf, Inc.
Priority to AU2001249219A priority Critical patent/AU2001249219A1/en
Publication of WO2001069585A1 publication Critical patent/WO2001069585A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/12Selection 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
    • H04N19/122Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/17Methods 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/176Methods 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 block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/1883Methods 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 relating to sub-band structure, e.g. hierarchical level, directional tree, e.g. low-high [LH], high-low [HL], high-high [HH]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/63Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/63Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets
    • H04N19/635Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets characterised by filter definition or implementation details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/63Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets
    • H04N19/64Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets characterised by ordering of coefficients or of bits for transmission
    • H04N19/645Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets characterised by ordering of coefficients or of bits for transmission by grouping of coefficients into blocks after the transform
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0407Resolution change, inclusive of the use of different resolutions for different screen areas
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/124Quantisation

Definitions

  • the present invention relates generally to the processing, compression, communication and storage of images in computer systems, personal digital assistants, cellular phones, digital cameras and other devices, and particularly to an image management system and method in which digitally encoded images can be viewed, in full or partially, in any specified window size and at a number of resolutions.
  • An image may be stored at a number of resolution levels.
  • the encoded image data for a lower resolution level is smaller, and thus takes less bandwidth to communicate and less memory to store than the data for a higher resolution level.
  • the quantity of data in the N levels generated by wavelet compression tends to decrease more or less, depending on the quantization step, in a geometric progression.
  • the quantity of data for resolution Level 0 is typically about 80% of the quantity of data for resolution Level 1, whereas ideally it should above 25% of the quantity of data for resolution Level 1.
  • the data for Level 0 for example, contains significantly more data than is needed to display the Level 0 image.
  • the data for Level 0 gives unnecessarily high quality for the low resolution display at Level 0, and therefore gives less compression than could potentially be obtained by providing only the information needed for displaying the image at the Level 0 resolution level.
  • the low resolution image data coefficients are quantized for full resolution display, not for low resolution display, because these data coefficients are used not only for generating a low resolution representation of the image, but are also used when generating the higher resolution representations of the image.
  • the method comprises displaying a first image at a first resolution level, identifying a location in the first image, and generating a second image for display at a second resolution level different than the first resolution level in response to user input via a user input mechanism.
  • the second image represents a portion of the first image at a different second resolution level, which is dependant on the number of times the user input mechanism is utilized or activated (e.g., the number of mouse clicks made with a mouse).
  • Figure 1 is a flow diagram of one embodiment of a process for generating multiple resolutions of an image.
  • Figure 2 is a graphical illustration of the multi-resolution technique described herein.
  • Figure 3A-C is a graphical illustration of data re-use during panning.
  • Figure 4 is a block diagram of a distributed computer system, including a web server and a number of client computers, for distributing multi-resolution images to the client computers.
  • FIG. 5 is a block diagram of a computer system in accordance with an embodiment of the present invention.
  • Figure 6A schematically depicts the process of transforming a raw image into a transform image array and compressing the transform image array into a compressed image file.
  • Figure 6B depicts a mapping of spatial frequency subbands to NQS subbands used for encoding transform coefficients.
  • Figure 7 is a conceptual representation of the encoded data that represents an image, organized to facilitate multi-resolution regeneration of the image (i.e., at multiple resolution levels).
  • Figure 8A, 8B, 8C, 8D and 8E depict image storage data structures.
  • Figure 9 is a high level flow chart of an image processing process to which the present invention can be applied
  • Figure 10A, 10B andlOC graphically depict a forward and inverse wavelet-like data transformation procedure.
  • Figure 11 depicts the spatial frequency subbands of wavelet coefficients generated by applying multiple layers of a decomposition wavelet or waveletlike transform to an array of image data.
  • Figure 12 depicts a flow chart of a block classification method for selecting a set of quantization divisors for a block of an image.
  • Figures 13A and 13B depict a flow chart of a procedure for encoding the transform coefficients for a block of an image.
  • Figure 14A, 14B and 14C depict a method of encoding values, called MaxbitDepth values in a preferred embodiment, which represent the number of bits required to encode the transform coefficients in each block and subblock of an encoded image.
  • Figure 15 is a high level flow chart of a compressed image reconstruction process to which the present invention can be applied.
  • Figure 16A and 16B depict a flow chart of a procedure for decoding the transform coefficients for an image and for reconstructing an image from the coefficients.
  • Figure 17 is a block diagram of a digital camera in which one or more aspects of the present invention are implemented.
  • Figure 18 is a conceptual flow chart of a client computer downloading a thumbnail image, then zooming in on the image, and then panning to a new part of the image.
  • the method comprises displaying a first image at a first resolution level, identifying a location in the first image, and generating a second image for display at a second resolution level different than the first resolution level in response to user input via a user input mechanism.
  • the second image represents a portion of the first image at a different second resolution level, which is dependant on the number of times the use input mechanism is utilized or activated.
  • Such activation may include mouse clicks or other operations such as different keys on the keyboard of a personal computer (PC), different buttons on a personal digital assistant (PDA) or cellular phone, or touches on the display screen, when the zoom function is selected.
  • the present invention also relates to apparatus for performing the operations herein.
  • This apparatus may be specially constructed for the required purposes, or it may comprise a general purpose computer selectively activated or reconfigured by a computer program stored in the computer.
  • a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, and magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus.
  • a machine-readable medium includes any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer).
  • a machine-readable medium includes read only memory ("ROM”); random access memory (“RAM”); magnetic disk storage media; optical storage media; flash memory devices; electrical, optical, acoustical or other form of propagated signals (e.g., carrier waves, infrared signals, digital signals, etc.); etc.
  • FIG. 1 is a flow diagram of one embodiment of a process for displaying an image.
  • the process is performed by processing logic that may comprise hardware (e.g., circuitry, dedicated logic, etc.), software (such as is run on a general purpose computer system or dedicated machine), or a combination of both.
  • processing logic may comprise hardware (e.g., circuitry, dedicated logic, etc.), software (such as is run on a general purpose computer system or dedicated machine), or a combination of both.
  • the process begins with processing logic displaying a first image at one resolution level (processing block 101).
  • the first image may be a thumbnail image.
  • processing logic of a client computer system may have to download the corresponding image data from a server or other system across a network via a network connection.
  • the image data may be in compressed format when retrieved.
  • the client retrieving the image data in compressed format includes processing logic for decompressing the image data.
  • processing logic identifies a location in the first image (processing block 102).
  • the location may be identified by positioning a cursor over the location in the image.
  • the cursor may be positioned by a user selecting a particular portion of the first image to be shown at another resolution. For example, a user may wish to see a zoomed-in version of a portion of an image. The user is able to obtain a number of images representing zoomed-in versions of portions of an image. In an alternative embodiment, the user may wish to pan the image, as opposed to zooming- into/out of and image.
  • processing logic In the case of using a cursor, the user may position the cursor with a mouse or some other well-known cursor control device (e.g., control keys, trackball, trackpad, etc.) in a computer system.
  • the identification of the location of a curser such as by, for example, x,y coordinates on a display and the identification thereafter of the location in an image being displayed under the cursor is well-known in the art.
  • processing logic generates a second image for display at a second resolution level, where the second resolution level is selected by a user based on user input (processing block 103).
  • the second image comprises a portion of the first image being displayed (over which the cursor is located) with that portion displayed at a resolution level that is different than the resolution level of the first image.
  • the resolution level of the second image is selected by the user based on the number of times the user activates or engages a user input mechanism (e.g., the number of mouse clicks the user makes). For example, if the user selects a location and performs one mouse click, the second image may be displayed at a resolution level greater than that of the first image; if the user selects a location and performs two mouse click, the second image may be displayed at a resolution level greater than that which is displayed after a single mouse click; etc.
  • Other operations may also be used to provide user input to trigger presentation of an image at a higher resolution (i.e., when the zoom function is selected). For example, selection of different keys on a keyboard of a personal computer (PC), depressing different buttons on a personal digital assistant (PDA) or cellular phone, or touches on a display screen. These user input mechanisms are all activated when used.
  • PC personal computer
  • PDA personal digital assistant
  • Figure 2 illustrates a graphical overview of the teachings of the present invention.
  • an image 200 is displayed to the user.
  • image 200 is a thumbnail image.
  • the user selects a particular location on image 200 by clicking a mouse on image 200 at the desired location 250.
  • the resolution level of the image that is displayed is dependant on the number of mouse click that the user does. For example, if the user clicks on location 250 of image 200 once, image 210 is displayed. If the user clicks on location 250 of image 200 twice, image 220 is displayed. If the user clicks on location 250 of image 200 three times, image 220 is displayed.
  • the user when a user wants to see a certain point of interest from the thumbnail (such as, for example, a section of the Golden Gate Bridge) or other image, the user simply positions the cursor over the certain point in the image and clicks a predetermined number of times to obtain the resolution they desire.
  • a certain point of interest such as, for example, a section of the Golden Gate Bridge
  • the user simply positions the cursor over the certain point in the image and clicks a predetermined number of times to obtain the resolution they desire.
  • Utilization of a user input mechanism may also be used to control other operations, such as panning of an image, rotation of an image, etc.
  • Figures 3A-C illustrate use of the data reuse technique described herein for panning.
  • Figure 3 A illustrates a thumbnail image 302 being displayed in display window 301.
  • a user input mechanism e.g., single clicks a mouse
  • additional data e.g., downloaded data
  • a portion of new image 303 shown in display window 301 is data 310.
  • new image 304 is created using image 303 and additional data (e.g., downloaded data).
  • the image displayed in the display window 301 moves to the right.
  • the image data, from the lower resolution levels, that remains in the display window is re-used to generate the image before panning is used to create the new image along with data 310' that is part of the image but outside the display window.
  • all of pictures that are obtained from the predetermined number of mouse clicks or other operations are of the same high quality, and the downloading (from the internet, for example) and time to display the new image is reduced, or may be even minimal, and the display image appears progressively (i.e., continuously) from "blur" to "clear” due to data re-use and efficient data management as is described in more detail below.
  • the data in the thumbnail (or Level 0) is reused with additional downloaded data to create the image (or Level 1).
  • the Level 1 data is reused to generate the image in Level 2, etc.
  • processing logic in the system which may comprise hardware (e.g., circuitry, dedicated logic, etc.), software (such as is run on a general purpose computer system or a dedicated machine), or a combination of both, identifies the location on the image being selected by the user, determines if it has the data to generate the new image locally, and, if not, sends a request to a server over a network or other communication medium to obtain the additional data needed to create the new image.
  • the higher resolution image may be requested in response to a user indicating that a zoomed image is desired or desires some other operation to be performed in the image (e.g., panning).
  • the data may be stored on the server or client side memory and subsequently sent in a compressed format.
  • the processing logic is responsible for decompressing the data as well.
  • the processing logic downloads only the additional image data that is necessary to create an image of the size needed to display the image in the viewing window.
  • the techniques described herein are implemented as a viewer that enables a user to display images at multiple levels of detail. Such a viewer may supported using an image file and compression technology described in more detail below. Although at least one image file and compression technology are described herein, it would be apparent to those skilled in the art to employ other image file structures and /or different compression technologies.
  • the viewer enables access and manipulation of an image to provide various sizes through the use of a browser.
  • the images may be stored on the Internet and other resource accessible over a network via a network connection.
  • the browser may be a readily available Internet web browser software product, such as, for example, a browser available from Netscape, Internet Explorer, or a Java-implemented browser. In an alternate embodiment, the browser may be implemented as a stand alone Java applet.
  • the viewer uses the standard HTML language to insert an image into web pages.
  • One embodiment of such a viewer is described in U.S. Patent Application Serial No. 09/757,561 filed January 9, 2001, entitled “Multi-Image Viewer,” which is incorporated herein by reference.
  • the viewer is implemented as a client-server system.
  • the server stores images.
  • the images may be stored in a compressed format.
  • the images are compressed according to a block-based integer wavelet transform entropy coding scheme.
  • a block-based transform is described in U.S. Application Serial No. 09/358,876, entitled “Memory Saving Wavelet-Like Image Transform System and Method for Digital Camera and Other Memory Conservative Applications,” filed July 22, 1999.
  • One embodiment of scalable coding is described in U.S. Patent Application No.
  • the compressed images are stored in a file structure.
  • the file structure comprises of a series of sub-images, each one being a predetermined portion of the size of its predecessor (e.g., 1/16 of the size of its predecessor).
  • each sub-picture is made up of a series of blocks that each contains the data associated with a 64x64 pixel block.
  • each image is divided into smaller individual blocks that are 64x64 pixels.
  • Each block contains data for decoding the 64x64 block and information that can be used for extracting the data for a smaller 32x32 block. Accordingly, each sub- image contains two separate resolutions. When the image is compressed, the bit- stream is organized around these 64x64 blocks and server software extracts a variety of resolution and/or quality levels from each of these blocks.
  • the viewer allows a user to interact with an image in order to obtain versions of the image at different zoom-in levels.
  • the viewer calculates the new geometric coordinates for the new view. Based on the location of the cursor, the viewer calculates which part of which images will appear in the window and then obtains the appropriate data. Based on this determination, the client makes a simple request to the server and the server responds with the appropriate block(s) of data. Using the data, the viewer determines which part of each image is to appear.
  • the viewer keeps track of which data it already has so that it does not have to request the same data multiple times from the server. In one embodiment, the viewer keeps track of what is in the window and also what other data is in the cache. There is a pixel to pixel mapping between the image and the window, so depending on resolution level, window size, and image position within (or without) the window, the client performs the geometric calculations.
  • each image has a hypertext link so the user can click on a specific image and cause the browser to go to a new location in the image.
  • the request for data is performed using a HTTP 'GET' command that specifies the URL of each image, which resolution level, and which blocks of data are required (based on, for example, resolution level).
  • all data received from the server is cached locally and reused wherever possible.
  • Caching data locally facilitates random access to different parts of the image and allows images, or parts of images, to be loaded in a variety of resolution and quality levels.
  • the data is not be cached locally.
  • the system reuses the existing image data together with the new image data to create a high quality higher resolution view.
  • the viewer uses a file hierarchy that allows for two resolution levels to be extracted from one sub-image.
  • all the images are initially downloaded and decoded by the client. Then only that portion of each image that is to appear in the window is scaled.
  • Wavelet Wavelet like transforms generally have spatial frequency characteristics similar to those of conventional wavelet transforms and are losslessly reversible, but have shorter filters that are more computationally efficient.
  • the present invention may be implemented in a variety of devices that process images, including a variety of computer systems, ranging from high end workstations and servers to low end client computers as well as in application specific dedicated devices, such as digital cameras.
  • Figure 4 shows a distributed computer system, including a web server 140 and a number of client computers 120 for distributing, multi-resolution images 190 to the client computers via a global communications network 110, such as the Internet, or any other appropriate communications network, such as a local area network or Intranet.
  • An imaging encoding workstation 150 prepares multi-resolution image files for distribution by the web server.
  • the web server 140 may also perform the image encoding tasks of the image encoding workstation 150.
  • a typical client device 120 will be a personal digital assistant, personal computer workstation, or a computer controlled device dedicated to a particular task.
  • the client device 120 will preferably include a central processing unit 122, memory 124 (including high speed random access memory and non-volatile memory such as disk storage) and a network interface or other communications . interface 128 for connecting the client device to the web server via the communications network 110.
  • the memory 124 will typically store an operating system 132, a browser application or other image viewing application 134, an image decoder module 180, and multi-resolution image files 190 encoded in accordance with the present invention.
  • the browser application 134 includes or is coupled to a JavaTM (trademark of Sun Microsystems, Inc.) virtual machine for executing Java language programs, and the image decoder module is implemented as a JavaTM applet that is dynamically downloaded to the client device along with the image files 190, thereby enabling, the browser to decode the image tiles for viewing.
  • JavaTM trademark of Sun Microsystems, Inc.
  • the web server 140 will preferably include a central processing unit 142, memory 144 (including high speed random access memory, and non-volatile memory such as disk storage ), and a network interface or other communications interface 148 for connecting the web server to client devices and to the image encoding workstation 150 via the communications network 110.
  • the memory 141 will typically store an http server module 146 for responding to http requests, including request for multi-resolution image files 190.
  • the web server 140 may optionally include an image processing module 168 with encoding procedures 172 for encoding images as multi-resolution images.
  • the image processing workstation 150 may be implemented using a programmed general-purpose computer system.
  • Figure 5 may also represent the web server, when the web server performs image processing tasks.
  • the computer system 150 may include: one or more data processing units (CPU's) 152; memory 154 which will typically include both high speed random access memory, as well as non-volatile memory; user interface 156 including a display device 157 such as a CRT or LCD type display: a network or other communication interface 158 for communicating with other computers as well as other devices; data port 160, such as for sending and receiving images to and from a digital camera (although such image transfers might also be accomplished via the network interface 158); and one or more communication buses 161 for interconnecting the CPU(s) 152, memory 154, user interface 156, network interface 158 and data port 160.
  • CPU's data processing unit
  • memory 154 which will typically include both high speed random access memory, as well as non-volatile memory
  • user interface 156 including a display device 157 such as a C
  • the computer system's memory 154 stores procedures and data, typically including: an operating system 162 for providing basic system services; a file system 164, which may be part of the operating system; application programs 166, such as user level programs for viewing and manipulating images. an image processing module 168 for performing various image processing functions including those that are described herein; image files 190 representing various images; and temporary image data arrays 192 for intermediate results generated during image processing and image regeneration.
  • the computer 150 may also include a http server module 146 ( Figure 4) when this computer 150 is used both for image processing and distribution of multi-resolution images.
  • the image processing module 168 may include an image encoder module 170 and an image decoder module 180.
  • the image encoder module 170 produces multi-resolution image files 190, the details of which will be discussed below.
  • the image encoder module 170 may include: an encoder control program 172 which controls the process of compressing and encoding an image (starting with a raw image array 189, which in turn may be derived from the decoding of an image in another image file format), a set of wavelet-like transform procedures 174 for applying wavelet-like filters to image data representing an image; a block classifier procedure 176 for determining the quantization divisors to be applied to each block (or band) of transform coefficients for an image; a quantizer procedure 178 for quantizing the transform coefficients for an image; and a sparse data encoding procedure 179, also known as an entropy encoding procedure, for encoding the quantized transform coefficients generated by the quantizer procedure 178.
  • an encoder control program 172 which controls the process of compressing and encoding an image (starting with a raw image array 189, which in turn may be derived from the decoding of an image in another image file format), a set of wavelet-like transform procedures 174 for
  • the procedures in the image processing module 168 store partially transformed images and other temporary data in a set of temporary data arrays 192.
  • the image decoder module 180 may include: a decoder control program 182 for controlling the process of decoding an image file (or portions of the image file) and regenerating the image represented by the data in the image file; a sparse data decoding procedure 184 for decoding the encoded, quantized transform coefficients stored in an image file into a corresponding array of quantized transform coefficients; a de-quantizer procedure 186 for dequantizing a set of transform coefficients representing a tile of an image; and a set of wavelet-like inverse transform procedures 188 for applying wavelet-like inverse filters to a set of dequantized transform coefficients, representing a tile of an image, so as to regenerate that tile of the image.
  • a decoder control program 182 for controlling the process of decoding an image file (or portions of the image file) and regenerating the image represented by the data in the image file
  • a sparse data decoding procedure 184 for decoding the encoded, quantized transform coefficients stored in an image file into a corresponding
  • raw image data 200 obtained from a digital camera's image capture mechanism ( Figure 17) or from an image scanner or other device is processed by "tiling the image data.” More specifically, the raw image is treated as an array of tiles 202, each tile having a predefined size such as 64 x 64 (i.e., 64 rows by 64 columns). In other embodiments, other tile sizes, such as 32 x 32 or 16 x 32 or 128 x 128 or 64 x 128 may be used.
  • the tiles are non- overlapping portions of the image data. A sufficient number of tiles are used to cover the entire raw image that is to be processed, even if some of the tiles overhang the edges of the raw image.
  • the overhanging portions of the tiles are filled with copies of boundary data values during the wavelet transform process, or alternately are filled with null data.
  • Tile positions are specified with respect to an origin at the upper left corner of the image, with the first coordinate indicating the Y position of the tile (or a pixel or coefficient within the tile) and the second coordinate indicating the X position of the tile (or a pixel or coefficient within the tile).
  • a tile at position 0,128 is located at the top of the image and has its origin at the 128th pixel of the top row of pixels.
  • a wavelet or wavelet-like decomposition transform is successively applied to each tile of the image to convert the raw image data in the tile into a set of transform coefficients.
  • the wavelet-like decomposition transform is a one dimensional transform that is being applied to a two dimensional array of image data
  • the transform is applied to the image data first in one direction (e.g., the horizontal direction) to produce an intermediate set of coefficients, and then the transform is applied in the other direction (e.g., the vertical direction) to the intermediate set of coefficients so as to produce a final set of coefficients.
  • the final set of coefficients are the result of applying the wavelet-like decomposition transform to the image data in both the horizontal and vertical dimensions.
  • the tiles are processed in a predetermined raster scan order. For example, the tiles in a top row are processed going from one end (e.g., the left end) to the opposite end (e.g., the right end), before processing the next row of tiles immediately below it, and continuing until the bottom row of tiles of the raw image data has been processed.
  • the transform coefficients for each tile are generated by successive applications of a wavelet-like decomposition transform.
  • a first application of the wavelet decomposition transform to an initial two dimensional array of raw image data generates four sets of coefficients, labeled LL, HL1, LH1 and HH1.
  • Each succeeding application of the wavelet decomposition transform is applied only to the LL set of coefficients generated by the previous wavelet transformation step and generates four new sets of coefficients, labeled LL, HLx, LHx and HHx, where x represents the wavelet transform "layer" or iteration.
  • After the last wavelet decomposition transform iteration only one LL set remains.
  • the total number of coefficients generated is equal to the number of data samples in the original data array.
  • the different sets of coefficients generated by each transform iteration are sometimes called layers.
  • the number of wavelet transform layers generated for an image is typically a function of the resolution of the initial image. For tiles of size 64 x 64, or 32 x 32, performing five wavelet transformation layers is typical, producing 16 spatial frequency subbands of data:
  • the number of transform layers may vary from one implementation to another, depending on both the size of the tiles used and the amount of computational resources available. For larger tiles, additional transform layers would likely be used, thereby creating additional subbands of data. Performing more transform layers will often produce better data compression, at the cost of additional computation time, but may also produce additional tile edge artifacts.
  • Subband group 0 corresponds to the LL N subband, where N is the number of transform layers applied to the image (or image tile).
  • Each other subband group i contains three subbands, LH., HL., and HH,
  • LH., HL., and HH subbands
  • a pair of bitstreams is generated to represent the coefficients in each group of subbands.
  • One of the bitstreams represents the most significant bit planes of the coefficients in the group of subbands while the second bitstream represents the remaining, least significant bit planes of the coefficients for the group of subbands.
  • the wavelet coefficients produced by application of the wavelet-like transform are preferably quantized (by quantizer 178) by dividing the coefficients in each subband of the transformed tile by a respective quantization value (also called the quantization divisor).
  • a separate quantization divisor is assigned to each subband.
  • a block classifier 176 generates one or more values representative of the density of features in each tile of the image, and based on those one or more values, a table of quantization divisors is selected for quantizing the coefficients in the various subbands of the tile.
  • the quantized coefficients produced by the quantizer 178 are encoded by a sparse data encoder 179 to produce a set of encoded subimage subfiles 210 for each tile of the image.
  • circuitry for performing the wavelet-like transform of the one embodiment is very similar to the wavelet transform and data quantization methods described in U.S. Patent No. 5,909,518 entitled “System and Method for Performing Wavelet and Inverse Wavelet Like Transformations of Digital Data Using Only Add and Bit Shift Arithmetic Operations," which is hereby incorporated by reference as background information.
  • the sparse data encoding method of the preferred embodiment is called Nested Quadratic Splitting (NQS) and is described in detail below.
  • NQS Nested Quadratic Splitting
  • This sparse data encoding method is an unproved version of the NQS sparse data encoding method described in U.S. Patent No. 5,949,911, entitled “System and Method for Scalable Coding of Sparse Data Sets," which is hereby incorporated by reference as background information.
  • Figure 6B depicts a mapping of spatial frequency subbands to NQS subbands used for encoding transform coefficients.
  • seven spatial frequency subbands (LL 5 , HL 5 , LH 5 , HH 5 , HL 4 , LH 4 , and HH 4 ) are mapped to a single NQS subband (subband 0) for purposes of encoding the coefficients in these subbands.
  • the coefficients in these seven spatial frequency subbands are treated as a single top level block for purposes of NQS encoding.
  • NQS subbands 0, 1, 2 and 3 are encoded as four top level NQS blocks, the most significant bit planes of which are stored in a bitstream representing a lowest resolution level of the image in question.
  • an image is stored at a number of resolution levels 0 to N, typically with each resolution level differing from its neighbors by a resolution factor of four.
  • the highest resolution representation (at resolution level N) of the image contains X amount of information
  • the second highest resolution level representation N-l contains X/4 amount of information
  • the third highest resolution level representation contains X/16 amount of information, and so on.
  • the number of resolution levels stored in an image file will depend on the size of the highest resolution representation of the image and the minimum acceptable resolution for the thumbnail image at the lowest resolution level.
  • the full or highest resolution image is a high definition picture having about 16 million pixels (e.g., a 4096 x 4096 pixel image)
  • one feature or aspect of the present invention is that when a inulti-resolution image has more than, say, three or four resolution levels, the image is encoded and stored in multiple "base image" files, each of which contains the data for two to four of the resolution levels. Alternately, all the base images may be stored in a single file, with each base image being stored in a distinct base image subfile or subfile data structure within the image file.
  • Each base image file (or subtle) contains the data for reconstructing a "base image" and one to three subimages (lower resolution levels).
  • the image is stored in three tiles, with a first tile storing the image at three resolution levels, including the highest definition level and two lower levels, a second file stores the image at three more resolution levels (the fourth, fifth and sixth highest resolution levels) and a third file stores the image at the two lowest resolution levels, for a total of eight resolution levels.
  • each successive file will be smaller than the next larger file by a factor of about 2X, where X is the number of resolution levels in the larger file. For instance, if the first file has three resolution levels, the next file will typically be smaller by a factor of 64(2 6 ).
  • an image file representing a group of lower resolution levels will be much smaller, and thus much faster to transmit to a client computer, than the image file containing the full resolution image data.
  • a user of a client computer might initially review a set of thumbnail images, at a lowest resolution level (e.g., 32 x 32 or 64 x 64), requiring the client computer to review only the smallest of the three image files, which will typically contain about 0.024% as much data as the highest resolution image file.
  • the client computer may receive the second, somewhat larger image file, containing about 64 times as much data as the lowest resolution image file.
  • This second file may contain three resolution levels (e.g., 512 x 512, 256 x 256, and 128 x 128), which may be sufficient for the user's needs. In the event the user needs even higher resolution levels, the highest resolution file will be sent. Depending on the context in which the system is used, the vendor of the images may charge additional fees for downloading each successively higher resolution image file. It should be noted that many image files are not square, but rather are rectangular, and that the square image sizes used in the above examples are not intended to in any way to limit the scope of the invention.
  • any particular image may include an arbitrarily sized array of such tiles.
  • the image need not be an even multiple of the tile size, since the edge tiles can be truncated wherever appropriate.
  • thumbnail sent to a personal digital assistant or mobile telephone which have very small displays, may be much smaller than (for example, one sixteenth the size of) the thumbnail that is sent to a personal computer and the thumbnail sent to a device having a large, high definition screen may be much larger than the thumbnail sent to a personal computer having a display of ordinary size and definition.
  • additional base images are generated for the image so that each type of device can initially receive an appropriately sized thumbnail image.
  • the client device may specify its window size in its request for a thumbnail image or the server may determine the size of the client device's viewing window by querying the client device prior to downloading the thumbnail image data to the client device. As a result, each client device receives a minimum resolution thumbnail that is appropriately sized for that device.
  • the image file 190 includes header data 194 and a sequence of base image data structures, sometimes called base image subfiles 196.
  • Each base image subfile 196 typically includes the data for displaying the image at two or more resolution levels.
  • each base image supports a distinct range of resolution levels.
  • the multiple base images and their respective subimages together provide a full range of resolution levels for the image, as conceptually represented in Figure 4. While the resolution levels supported by the base image levels are non-overlapping in one embodiment, in an alternate embodiment the resolution levels supported by one base image may overlap with tile resolution levels supported by another base image (for the same initial full resolution image).
  • each image file 190 is an html file or similarly formatted web page that contains a link 198, such as an object tag or applet tag, to an applet 199 (e.g., a JavaTM applet) that is automatically invoked when the file is downloaded to a client computer.
  • a link 198 such as an object tag or applet tag
  • an applet 199 e.g., a JavaTM applet
  • the header 194 and a selected one of the base images 196 are used as data input to the embedded applet 199, which decodes and renders the image on the display of a user's personal digital assistant or computer.
  • the operation of the applet is transparent to the user, who simply sees the image rendered on his/her computer display.
  • the applet may present the user with a menu of options including the resolution levels available with the base image subfile or subfiles included in the image file, additional base image subfiles that may be available from the server, as well as other options such as image cropping options.
  • the client workstations include an application, such as a browser plug-in application, for decoding and rendering images in the file format of the present invention.
  • each image file 210 has an associated data type that corresponds to the plug-in application.
  • the image file 210 is downloaded along with an html or similarly formatted web page that includes an embed tag or object tag that points to the image file.
  • the plug-in application is automatically invoked and executed by the client computer's.
  • the image file is decoded and rendered and the operation of the plug-in application is transparent to the user.
  • the image file 190-A shown in Figure 8A represents one possible way of storing a multi-resolution image, and is particularly suitable for storing a multi-resolution image in a server.
  • the image file 190-B as shown in Figure 8B may contain only one base image 196.
  • the client version of the image file 190 may contain a link 201 to the image file 190-A in the server.
  • the link 201 is used to enable a user of the client computer to download other base images (at other resolution levels) of the same image.
  • the link 201 is a JavaTM (trademark of Sun Microsystems) script for requesting an image file containing any of the higher resolution base images from the web server. If there is a charge for obtaining the higher resolution image file, the script will invoke the execution of the server procedure for obtaining payment from the requesting user.
  • a multi-resolution image may be stored in the server as a set of separate base image tiles 190-B, each having the format shown in Figure 8B. This has the advantage of providing image tiles 190-B that are ready for downloading to client computers without modification.
  • the header 194 of the image tile includes the information needed to access the various base image subfiles 196.
  • the header 194 stores: an identifier or the URL of the image file in the server; a parameter value that indicates the number of base image subfiles 196 in the file (or the number of base image files in embodiments in which each base image is stored in a separate file); the size of each base image data structure; and a offset pointer to each base image data structure (or a pointer to each base image file in embodiments in which each base image is stored in a separate file).
  • Each base image subfile 196 has a header 204 and a sequence of bitstreams 206.
  • the bitstreams are labeled la, lb, to N, where N is the number of resolution levels supported by the base image in question. The meaning of the labels "la” and the like will be explained below.
  • the information in each bit stream 206 will be described in full detail below.
  • the header data 204 of each base image subfile includes fields that indicate: the size of the base image subfile (i.e., the amount of storage occupied by the base image subfile); the size of the tiles (e.g., the number of rows and columns of pixels) used to tile the base image, where each tile is separately transformed and encoded, as described below; the color channel components stored for this base image subfile; the transform filters used to decompose the base image (e.g., different sets of transform filters may be used on different images); the number of spacial frequency subbands encoded for the base image (i.e., for each tile of the base image); the number of resolution levels (else called subimages) supported by the base image; the number of bitstreams encoded for the base image (i.e., for each tile of the base image); and information for each of the bitstreams.
  • the size of the base image subfile i.e., the amount of storage occupied by the base image subfile
  • the size of the tiles e.g., the number of
  • the header information far each bitstream in the base image subfile may include: an offset pointer to the bitstream to indicate its position within the image tile (or within the base image subfile); the size of bitstream (how much data is in the bitstream); the range of spatial frequency subbands included in the bitstream; the number of color channels in the bitstream; the range of bit planes included in the bitstream, which indicates how the bit planes of the coefficients in the subbands were divided between significant, insignificant and possibly mid-significant portions; and a table of offset pointers to the tiles 208 within the bitstream.
  • Each bitstream 206 includes a sequence of tile subarrays 208, each of which captains the i* bitstream for a respective tile of the image.
  • the bitstream 206 may optionally include a header 209 having fields used to override parameters specified for the base image by the base image header 204.
  • the set of tile subarrays 208 included to the image file is limited to those needed to represent the cropped image.
  • the image file header 194 also includes parameters indicating "cropped image boundaries.” This is useful for partial copies of the image file that contain data only for a cropped portion of the image, which in turn is very useful when a client computer is being used to perform pan and zoom operations in an image. For instance, a user may have requested only a very small portion of the overall image, but at very high resolution. In this case, only the tiles of the image needed to display the cropped portion of the image will be included in the version of the image tile sent to the user's client computer, and the cropped image boundary parameters are used to convey this information to the procedures that render the image an the client computer.
  • image file header 194 Two types of image cropping information are provided by the image file header 194: cropping that applies to the entire image file, and any further cropping that applies to specific subimages. For instance, when a client computer first receives an image, it may receive just the lowest resolution level subimage of a particular base image, and that subimage will typically not be cropped (compared to the full image). When the client zooms in on a part of the image at a specified higher resolution level, only the tiles of data needed to generate the portion of the image to be viewed on the client computer are sent to the client computer, and thus new cropping parameters will be added to the header of the image file stored (or cached) in the client computer to indicate the cropping boundaries for the subimage level or levels downloaded to the client computer in response to the client's image zoom command.
  • the table of offset pointers to tiles that is included in the base image header for each bitstream in the base image is also used during zooming and panning.
  • the higher level bitstreams may be unpopulated, and thus the table of offset pointers will initially contain null values.
  • the data for various tiles of the higher level bitstreams are downloaded to the client device, as needed (242), and the table of offset pointers to tiles is updated to reflect the tiles for which data have been downloaded to the client computer.
  • the information in the headers of the image file and the base image subfiles enables quick indexing into any part of the tile, which enables a computer or other device to locate the beginning or end of any portion of the image, at any resolution level, without having to decode the contents of any other portions of the image file 190.
  • This is useful, for example, when truncating the image file 190 so as to generate a lower image quality version of the file, or a cropped image version of the file, such as for transmission over a communications network to another computer or device.
  • any subimage of a base image will include all the bitstreams from bitstream la through a particular last bitstream, such as bitstream 3.
  • This group of contiguous bitstreams constitute the data needed to reconstruct the image at a particular resolution level, herein called a subimage.
  • a “differential subimage” consists of the additional bitstreams needed to increase the image resolution from one subimage level to the next. For instance, bitstreams lc, 2b and 3 might together be called a differential subimage because these bitstreams contain the data needed to double the resolution of the subimage generated from bitstreams la through 2a.
  • each tile subfile 220 contains a header 224 denoting the quantization table used to encode the tile, offset pointers to the bitstreams within the subfile, and other information.
  • the title subfile 220 for each tile also contains a set of bitstream subarrays 226.
  • Each tile bitstream subarray 226 contains encoded data representing either the most significant bit planes, least significant bit planes or a middle set of bit planes or a respective set of NQS subbands (see Figure 6B) of the tile.
  • the following table shows an example of bit plan mappings to bitstream subarrays:
  • bit planes corresponding to S, MS and IS differ for each NQS subband. These bit plane ranges are specified in the header of the base image subfile. For instance, for NQS subbands 0 to 3, S may corresponding to bit planes 16 to 7, MS may correspond to bit planes 6 to 4, and IS may correspond to bit planes 3 to 0, while for NQS subbands 4 to 6, S may corresponding to bit planes 16 to 5, and IS may correspond to bit planes 4 to 0.
  • Bitstreams la, lb and lc contain the encoded data representing the most significant, middle and least significant bit planes of NQS subbands 0, 1, 2 and 3, respectively.
  • Bitstreams 2a and 2b contain the encoded data representing the most significant and least significant bit planes, respectively, of NQS subbands 4, 5 and 6, which correspond to the LH 2 , HL 2 and HH 2 subbands.
  • Bitstream 3 contains all the bit planes of the encoded data representing NQS subbands 7, 8 and 9, which correspond to the LH., HL. and HH L subbands, respectively.
  • the tile subfiles 220 may be considered to be "temporary" files, because the encoded tile data is later reorganized from the file format of Figsures 8C and 8D into the file format shown in Figure 8A.
  • Figure 8E shows a specific example of a base image subfile 196, labeled 196A.
  • the base image subfile contains twelve bitstreams 206, which are used to generate the base image and two lower resolution subimages.
  • the base image has been transformed with five layers of wavelet transforms, providing sixteen spatial frequency subbands of data, which have been encoded and organized into three subimages, including the base image.
  • the number of subimages is somewhat arbitrary, since the subbands generated by five transform layers could be used to generate as many as six subimages.
  • using this base image subfile to generate very small subimages is not efficient in terms of memory or storage utilization, and therefore it will be preferred to use a smaller base image subfile to generate smaller subimages.
  • the base image has been processed by five transform layers, but the resulting data has been organized into just three subimage levels instead of six.
  • the last three transform layers which convert subband LL 2 into ten subbands (LL 5 , LH 5 , HL 5 , HH 5 , LH 4 , HL 4 , HH 4 , LH 3 and HH 3 ), are not used to generate an extra subimage level. Rather, the last three transform layers are used only to produce better data compression.
  • bitstream data subarrays 206 when the five transform layers of image data are mapped to three subimages, the mapping of bitstream data subarrays 206 to subimages is as follows: subimage 0, the lowest level subimage, corresponds to bitstream subarray 206-la, which contains the most significant bit planes of NQS subbands 0 to 3 (see Figure 6B); subimage 1 corresponds to bitstreams 206-la, 206-lb and 206-2a; and subimage 2, the base image, corresponds to all the bitstreams 206 in the base image subfile.
  • the first bitstream 206-la will include fewer of the spatial frequency subbands.
  • a sparse data encoding technique is used to encode the transform coefficients for each group of subbands of each tile so that it takes very little data to represent arrays of data that contain mostly zero values.
  • higher frequency portions i.e., subbands
  • the higher level bit planes of many tiles will be populated with very few non-zero bit values.
  • the process for generating an image file begins when an image is captured by the image capture device (step 250). If the image size is variable, the size of the captured image is determined and the number of rows and columns of tiles needed to cover the image data is determined (step 252). If the image size is always the same, step 252 is not needed.
  • all the tiles in the image are processed in a predetermined order for example in raster scan order, by applying a wavelet-like decomposition transform to them in both the horizontal and vertical directions, then quantizing the resulting transform coefficients, and finally by encoding the quantized transform coefficients using a sparse data compression and encoding procedure (step 254).
  • the encoded data for each tile is stored in a temporary file or subfile, such as in the format shown in Figure 8D.
  • a multi-resolution image file containing all the encoded tiles is stored in non-volatile memory (step 256). More specifically, the encoded tile data from the temporary files is written into an output bitstream file in resolution reversed order, in the file format shown in Figure 8 A. "Resolution reversed order" means that the image data is stored in the file with the lowest resolution bitstream first, followed by the next lowest resolution bitstream, and so on.
  • step 254 The wavelet-like decomposition transform used in step 254 is described in more detail below, with reference to Figures 10 A, 10B and IOC.
  • the quantization and sparse data encoding steps are also described in detail below.
  • the original image is down-sampled and anti-aliased so as to generate a new base image (258) that is smaller in each dimension by a factor of 2 X , where X is the number of subimage levels in the previously generated multi-resolution image file.
  • the new base image will be a factor of 4 smaller than the smallest lowest-resolution subimage of the base image.
  • the new base image is then processed in the same way as the previous base image so as to generate an additional, but much smaller, encoded multi-resolution base image that is added to the image file.
  • a third base image may be formed by performing a second round of down-sampling and anti-aliasing, and a third encoded multi-resolution base image file may be stored in the image file.
  • the last encoded base image may contain fewer subimage levels than the others, and in some embodiments may contain only a single resolution level, in which case that image file is effectively a thumbnail image file.
  • each encoded base image is stored in a separate image file, and these image files are linked to each other either by information stored in the headers of the image files, or by html (or html-like) links.
  • the down-sampling filter is a one-dimensional FIR filter that is applied first to the rows of the image and then to the columns, or vice versa.
  • the FIR filter may have the following filter coefficients:
  • Filter A (-3 -4 -4 10 10 29 29 29 29 10 10 -4 -4 -3 -3) 1 /128.
  • This exemplary filter is applied to a set of 14 samples at a time to produce one down-sampled value, and is then shifted by four samples and is then applied again. This repeats until L/4 down-sampled values have been generated, where L is the number of initial samples (i.e., pixel values).
  • reflected data is used for the filter coefficients that extend past the edge of the image data. For instance, at the left (or top) edge of the array, the first six coefficients are applied to reflected data values, tile four "29/128", coefficients are applied to the first four pixel values in the row (or column) being filtered, and the last six coefficients are applied to the next six pixels in the row (or column).
  • This second filter is a FIR filter that has the following filter coefficients:
  • a longer filter could be used to achieve the down-sampling by a factor of 8 in one filter pass.
  • the down-sampling filters described above have the following properties: they are low-pass filters with cut-off frequencies at one quarter and one half the Nyquist frequency, respectively; each filter coefficient is defined by a simple fraction in which the numerator is an integer and the denominator is a positive integer power of 2 (i.e., a number of the form 2 N , where N is a positive integer).
  • each filter coefficient is defined by a simple fraction in which the numerator is an integer and the denominator is a positive integer power of 2 (i.e., a number of the form 2 N , where N is a positive integer).
  • down-sampling filter(s) While the order in which the down-sampling filter(s) are applied to an array of image data (i.e., rows and then columns, or vice versa) will affect the specific down-sampled pixel values generated, the effect on the pixel values is not significant.
  • Other down-sampling filters may be used in alternate embodiments.
  • Figure 10A-10C schematically represent the process of performing a wavelet-like decomposition on a set of image data X 0 to X ⁇ .. to generate a set of coefficients L 0 to L ⁇ and H 0 to H n _. where the L coefficients represent the low spatial frequency components of the image data and the H coefficients represent the high spatial frequency components of the image data.
  • the wavelet-like transform that is applied is actually two filters.
  • a first filter, Tl called the edge filter, is used to generate the first two and last two coefficients in the row or column of transform coefficients that are being generated, and a second filter T2, called the interior filter, is used to generate all the other coefficients in the row or column of transform coefficients being generated.
  • the edge filter, Tl is a short filter that is used to transform data at the edges of a tile or block
  • the interior filter T2 is a longer filter that is used to transform the data away from the edges of the tile or block. Neither the edge filter nor the interior filter uses data from outside the tile or block.
  • the working memory required to apply the wavelet-like transform described herein to an array of image data is reduced compared to prior art systems.
  • the complexity of the circuitry and/or software for implementing the wavelet-like transform described herein is reduced compared to prior art systems.
  • the edge filter includes a first, very short filter (whose "support" covers two to four data values) for generating the first and last coefficients, and a second filter for generating the second and second to last coefficients.
  • the second edge filter has a filter support that extends over three to six data values, and thus is somewhat longer than the first edge filter but shorter than the interior filter T2.
  • the interior filter for generating the other coeffcients typically has a filter support of seven or more data values.
  • the edge filter especially the first edge filter for generating the first and last high spatial frequency coefficient values, is designed to reduce, or possibly even minimize, edge artifacts while not using any data from neighboring tiles or blocks, at a cost of decreased data compression.
  • the edge filter of the present invention is designed to ensure accurate reproduction of the edge values of the data array being processed, which in turn reduces, and possibly minimizes, edge artifacts when the image represented by the data array is regenerated.
  • the wavelet-like decomposition transform applied to a data array includes a layer 1 wavelet-like transform that is distinct from the wavelet-like transform used when performing layers 2 to N of the transform.
  • the layer 1 wavelet-like transform uses shorter filters, having shorter filter supports, than the filters used for layers 2 to N.
  • One of the reasons for using a different wavelet-like transform (i.e., a set of transform filters) for layer 1 than for the other layers is to reduce or minimize rounding errors introduced by the addition of a large number of scaled values. Rounding errors, which occur primarily when filtering the raw image data during the layer 1 transform can sometimes cause noticeable degradation in the quality of the image regenerated from the encoded image data.
  • the equations for one embodiment of the forward wavelet-like decomposition transform for transform levels 2 through N are shown next. Note that “2n” denotes the width of the data, as measured in data samples, that is being processed by the transform; “n” is assumed to be a positive integer.
  • the edge filter Tl is represented by the equations for H 0 , H ⁇ , L 0 , and L ⁇ , and has a shorter filter support than the interior filter T2.
  • the same wavelet-like decomposition transforms are used for all layers.
  • the wavelet-like decomposition transform filters shown here are layers 2 to N would also be used for the layer 1 decomposition (i.e., for filtering the raw image data).
  • the edge transform filter Tl for generating L 0 and L n.j has a filter support of just three input samples at the edge of the input data array, and is weighted so that 70% of the value of these coefficients is attributable to the edge value X 0 and X ⁇ at the very boundary of the aray of data being filtered.
  • the heavy weighting of the edge input datum i.e., the sample closest to the array boundary
  • the layer 1 edge transform filter Tl for generating L 0 and L n _. is weighted so that 50% of the value of these coefficients is attributable to the edge value X ⁇ at the very boundary of the data array being filtered.
  • the interior transform filters in one embodiment are not applied in a uniform manner across the interior of the data array being filtered.
  • the interior filter includes a center filter for generating four high pass and four low pass coefficients at or near the center of the data array being filtered.
  • the center filter may generate as few as two high pass and two low pass coefficients.
  • the center filter is used to transition between the left and right (or upper and lower) portions of the interior filter. The transition between the two forms of the interior filter is herein called "filter switching."
  • One half of the interior filter, excluding the center filter is centered on even numbered data or coefficient positions while the other half of the interior filter is centered on data at odd data positions.
  • the even and odd data positions of the array are, of course, alternating data positions.
  • the center filter can be positioned anywhere within the interior of the data array, so long as there is a smooth transition between the edge filter and the interior filter.
  • the inverse transform filter must be defined so as to have an inverse center filter at the same position as the forward transform filter.
  • the transform can be represented as: and the above general set of transform equations is reduced to the following: X 0 +X 3 +l
  • the inverse wavelet-like transform for transform layers 2 through N (i.e., all except layer 1), used in one embodiment, are shown next.
  • X n-3 H t + X n- 4 + X n-2 +1
  • the coefficients at the even positions i.e., the X ⁇ values
  • the coefficients at the odd positions i.e., the X 2+1 values
  • the short Tl decomposition transform is used to filter all data, not just the data at the edges.
  • Using only short Tl decomposition transform reduces computation time and complexity, but decreases the data compression achieved and thus results in larger image files.
  • Using only short transform also reduces the computation time to decode an image file that contains an image encoded using the present invention, because only the corresponding short Tl reconstruction transform is used during image reconstruction.
  • each wavelet coefficient produced by the waveletlike decomposition transform is quantized:
  • a quantization table is used to assign each subband of the wavelet coefficients a quantization divisor, and thus controls the compression quality. If five layers of wavelet transforms are performed for luminance values (and four layers for the chrominance values), there are 16 subbands in the decomposition for the luminance values:
  • the quantization factor q is chosen adaptively for each distinct tile of the image, based on the density of image features in the tile.
  • the entries of subbands are labeled LH k ,HL k and HH k as u , k) , v and w ⁇ , respectively .
  • B k tends to be large if the original image (i.e., in the tile being evaluated by the block classifier) contains many features (e.g., edges and textures). Therefore, the larger the value of B k , the harder it will be to compress the image without creating compression artifacts.
  • Q0 (16, 16, 16, 18, 18, 18, 36, 36, 36, 72, 72, 72 144. 300, 300, 600)
  • Qr - (16, 32, 32, 36, 36, 36, 72, 72, 72, 144, 144, 288, 660, 600, 1200) where Q 0 is used for "hard” to compress blocks and Q. is used for "easy” to compress blocks.
  • Interior tiles are each classified as either "hard” or “easy” to compress based on a comparison of one or more of the B k values with one or more respective threshold values.
  • B. for a tile may be compared with a first threshold TH1 (e.g., 65) (step 271). If B. is greater than the threshold, then the tile is classified as "hard” (step 272). Otherwise, B 5 is compared with a second threshold TH2 (e.g., 60) (step 273). If B 5 is greater than the second threshold, then the tile is classified as "hard” (step 274), and otherwise it is classified as "easy” (step 275).
  • the wavelet coefficients for the tile are then quantized using the quantization divisors specified by the quantization table corresponding to the block (i.e., tile) classification.
  • boundary tiles are classified by comparing B x with another, high threshold value TH1B, such as 85. Boundary tiles with a B. value above this threshold are classified as "hard” to compress and otherwise are classified as “easy” to compress.
  • TH1B high threshold value
  • three or more block classifications may be designated, and a corresponding set of threshold values may be defined. Based on comparison of B_, and /or other ones of the B ; values with these thresholds, a tile is classified into one of the designated classifications, and a corresponding quantization table is then selected so as to determine the quantization values to be applied to the subbands within the tile.
  • S k also tends to be large if the original image contains many features, and therefore in some embodiments k is used instead of B k to classify image tiles.
  • the next step is to encode the resulting coefficients of the tile.
  • a group of computational steps 280 are repeated for each NQS subband.
  • the bitstreams generated by encoding each NQS subband are divided by bit planes and then grouped together to form the bitstreams stored in the image Figures 8A to 8E.
  • the encoding procedure or apparatus determines the maximum bit depth of the block of data in the NQS subband to be encoded (286), which is the maximum number of bits required to encode any of the coefficient values in the block, and is herein called the maximum bit depth, or MaxbitDepth.
  • the value of MaxbitDepth is determined by computing the maximum number of bits required to encode the absolute value of any data value in the block. In particular, MaxbitDepth is equal to int(log2V) + 1, where V is the largest absolute value of any element in the block, and "int()" represents the integer portion of a specified value.
  • the maximum bit depth for each top level block is stored in a corresponding bitstream (e.g., the significant bitstream for the subband group whose coefficients are being encoded).
  • a corresponding bitstream e.g., the significant bitstream for the subband group whose coefficients are being encoded.
  • Each block contains four subblocks (see Figure 14 A).
  • the Block procedure determines the MaxbitDepth for each of the four subblocks of the current block (300). Then, it generates and encodes a MaxbitDepth mask (301).
  • the mask has four bits: m 17 m., n ⁇ and m 4 , each of which is set equal to a predefined value (e.g., 1) only if the MaxbitDepth of the corresponding subblock is equal to the MaxbitDepth m,, of the current (parent) block, and is otherwise set to zero.
  • a mask of 1000 indicates that only subblock 1 has a MaxbitDepth equal to the MaxbitDepth of the current block.
  • the value of the mask is between 1 and 15.
  • the MaxbitDepth mask is preferably encoded using a 15-symbol Huffman table (see Table 1). As shown, the four mask values that correspond to the most common mask patterns, where just one subblock having a MaxbitDepth equal to the MaxbitDepth of the parent block, are encoded with just three bits.
  • MaxbitDepth values are encoded as follows: mask m. Subblock m, Subblock m 4 Subblock
  • MaxbitDepth values for the block is divided into two more portions, with each portion containing the information content for a certain range of bit planes. For ease of explanation, an explanation in detail is provided as to how the
  • MaxbitDepth values and mask and coefficient values are split between two portions, herein called the significant and insignificant portions. The same technique is used to split these values between three bit plane ranges corresponding significant, mid-significant and insignificant for least significant) portions.
  • the coefficient bit planes are divided into two or three ranges.
  • a bit plane threshold that divided the two ranges is chosen or predefined.
  • the "insignificant" portion of each "coefficient value” (including its MaxbitDepth value) below the bit plane threshold is stored in an "insignificant" bitstream 206 (see Figure 8D), and the rest of the coefficient is stored in the corresponding significant bitstream 206.
  • Selection of the bit plane ranges is typically done on an experimental basis, but encoding numerous images using various bit plane ranges, and then selecting a set of bit plane ranges that, on average, achieves specified division of data between the bitstreams for the various resolution levels.
  • the specified division may be an approximately equal division of data between the bitstream for a first resolution level and the next resolution level.
  • the specified division may call for the bitstreams for a second resolution level to contain four times as much data as the bitstreams for a first (lower) resolution level.
  • MaxbitDepth ⁇ of a block is less than the threshold, the MaxbitDepth mask and every bit of the MaxbitDepth values for the subblocks are stored in the insignificant portion of the base image subfile. Otherwise, the MaxbitDepth mask is stored in the significant part, and then each of the encoded subblock MaxbitDepth values are split between significant and insignificant parts as follows. This splitting is handled as follows m ⁇ > threshold, the entire encoded MaxbitDepth value m, is included in the significant portion of the subimage subfile.
  • bit planes of the coefficients are to be divided into three ranges, then two bit plane thresholds are chosen or predefined, and the MaxbitDepth mask and values are allocated among three bitstreams using the same technique as described above.
  • the Block procedure is called for each of the four subblocks of the current block (303). This is a recursive procedure call.
  • the Block procedure is recursively called on its subblocks, and so on.
  • Each coefficient that is not equal to zero includes a POS /NEG bit to indicate its sign, as well as a MaxbitDepth number of additional bits. Further, the MSB (most significant bit) of each non-zero coefficient, other than the sign bit, is already known from the MaxbitDepth value for the coefficient, and in fact is known to be equal to 1. Therefore, this MSB does not need to be encoded (or from another viewpoint, it has already been encoded with the MaxbitDepth value).
  • the MaxbitDepth of the coefficient is less than the threshold, then all the bits of the coefficient, including its sign bit, are in the insignificant portion. Otherwise, the sign bit is in the significant portion, and furthermore the most significant bits (MSG's), if any, above the threshold number of least significant bits (LSB's), are also included in the significant portion. In other words, the bottom "threshold" number of bits are allocated to the insignificant portion. However, if the MaxbitDepth is equal to the threshold, the sign bit is nevertheless allocated to the significant portion and the remaining bits are allocated to the insignificant portion.
  • the significant portion contains the most significant bits of the 31 and -5 coefficient values, while the insignificant portion contains the remaining bits of the 31 and -5 coefficient values and all the bits of the -2 coefficient value.
  • #M m, - threshold - 1; / / #M > 0 output the #M most significant bits to the significant bitstream;
  • bit planes of the coefficients are to be divided into three ranges, then two bit plane thresholds are chosen or predefined, and the encoded coefficient values are allocated among three bitstreams using the same technique as described above.
  • each bitstream of the image file up to the specified resolution level is decompressed and dequantized. Then, on a tile by tile basis the reconstructed transform coefficients are inverse transformed to reconstruct the image data at specified resolution level.
  • the image reconstruction process reconstructs an image from image data received from an image file (320).
  • a user of the procedure or device performing the image reconstruction, or a control procedure operating on behalf of a user selects or specifies a resolution level R that is equal to or less than the highest resolution level included in the image data (322).
  • a header of the image data file is read to determine the number and arrangement of tiles (L, K) in the image, and other information that may be needed by the image reconstruction procedure (323).
  • Steps 324 and 326 reconstruct the image at the given resolution level, and at step 328 the reconstructed image is displayed or stored in a memory device.
  • Figures 16A and 16B provide a more detailed view of the procedure for decoding the data for a particular tile at a particular subimage level.
  • the data in the image file relevant to the specified resolution level is initially reorganized into tile by tile subfiles, with each tile subfile containing the bitstreams for that tile (324). Then, the data for each tile is processed (326). The header information is read to determine the MaxbitDepth for each top level subband block of the tile, the quantization factor used to quantize each subimage subband, and the like.
  • the transform coefficients for each NQS subband required to reconstruct the image at the specified resolution level are decoded, in subband order. The details of the decoding process for decoding the coefficients in any one NQS subband are discussed below with reference to Figure 16B.
  • the resulting decoded coefficients are de-quantized applying the quantization factors for each subband (obtained from the Q table identified in the base image header). Then an inverse transform is applied to the resulting de-quantized coefficients. Note that the wavelet-like inverse transforms for reconstructing an image from the dequantized transform coefficients have been described above.
  • a set of steps 340 are repeated to decode each NQS subband of the tile, excluding those NQS subbands not needed for the specified resolution level and also excluding any bitstreams containing bit planes of encoded coefficient values not needed for the specified resolution level.
  • bitstreams of the base image needed to the specified resolution level are decoded.
  • the MaxbitDepth of the top level block is determined from either the header of the tile array (if the data has been reorganized into tile arrays) or from the data at the beginning of the bitstream(S) for the subband (346), and then the Decode-Block procedure is called to decode the data for the current block (348).
  • the decoded transform coefficients for that subband may be de-quantized, applying the respective quantization factor for the respective (350). Alternately, de- quantization can be performed after all coefficients for all the subband have been decoded.
  • an inverse transform is performed so as to regenerate the image data for the current tile t at the specified resolution level (352).
  • step 324 of Figure 15 is not used and the data in the image file is not reorganized into tile arrays. Rather, the image data is processed on a subband group by subband group basis, requiring the recovered transform coefficients for all the tiles to be accumulated and stored during the initial reconstruction steps.
  • the steps 340 for decoding the data for one top level block of a particular tile for a particular subband group are repeated for each tile.
  • the MaxbitDepth of the top level block is determined from either the header of the tile array or from the data at the beginning of the bitstream(s) for the subband group (346), and then the Decode-Block procedure is called to decode the data for the current block (348).
  • the Decode-Block procedure begins by decoding the MaxbitDepth data in the applicable encoded data array so as to determine the MaxbitDepth of each subblock of the current block (360).
  • the MaxbitDepth data for a block may be in one bitstream or may be split between two or three bitstreams, as described above, and therefore the applicable MaxbitDepth data bits from all required bitstreams will be read and decoded. If the size of the current block is greater than a predefined minimum block size (362-No), then the Decode-Block procedure is called for each of the subblocks of the current block (363).
  • each tile of the image is first processed by multiple (e.g., five) horizontal decomposition transform layers and then by a similar number of vertical decomposition transform layers. Equivalently, the vertical transform layers could be applied before the horizontal transform layers.
  • this change in the order of the transform layers has the advantage of either (A) reducing the number of times the data array is rotated, or (B) avoiding the need for circuitry that switches the roles of rows and columns in the working image array (s).
  • the second horizontal transform is applied to the leftmost array of low frequency coefficients generated by the first horizontal transform
  • the third horizontal transform is applied to the leftmost array of low frequency coefficients generated by the second horizontal transform, and so on.
  • the second through Nth horizontal transforms are applied to twice as much day as in the transform method in which the horizontal and vertical transforms alternate.
  • this extra data processing generally does not take any additional processing time in hardware implementations because in such implementations the horizontal filter is applied simultaneously to all rows of the working image array.
  • the vertical transforms are applied in succession to successively smaller subarrays of the working image array. After the image data has been transformed by all the transform layers to (both horizontal and vertical), the quantization and encoding steps described above are applied to the resulting transform coefficients to complete the image encoding process.
  • the digital camera system 400 includes an image capture device 402, such as a CCD or CMOS sensor array or any other mechanism suitable for capturing an image as an array of digitally encoded information.
  • the image capture device is assumed to include analog to digital conversion (ADC) circuitry for converting analog image information into digital values.
  • a working memory 404 typically random access memory, receives digitally encoded image information from the image capture device 402. More generally, it is used to store a digitally encoded image while the image is being transformed and compressed and otherwise processed by the camera's data (i.e., image) processing circuitry 406.
  • the data processing circuitry 406 consists of hardwired logic and a set of state machines for performing a set of predefined image processing operations.
  • the data processing circuitry 406 could be implemented in part or entirely using a fast general purpose microprocessor and a set of software procedures.
  • a fast general purpose microprocessor and a set of software procedures.
  • full resolution images e.g., full color images having 1280 x 840 pixels
  • the data processing circuit 106 could be implemented using such a general purpose microprocessor.
  • Each image, after it has been processed by the data processing circuitry 406, is typically stored as an "image file" in a nonvolatile memory storage device 408, typically implemented using “flash” (i.e., EEPROM) memory technology.
  • the nonvolatile memory storage device 408 is preferably implemented as a removable memory card. This allows the camera's user to remove one memory card, plug in another, and then take additional pictures. However, in some implementations, the nonvolatile memory storage device 408 may not be removable, in which case the camera will typically have a data access port 410 to enable the camera to transfer image files to and from other devices, such as general purpose, desktop computers. Digital cameras with removable nonvolatile memory 408 may also include a data access port.
  • the digital camera 400 includes a set of buttons 412 for giving commands to the camera.
  • buttons 412 for giving commands to the camera.
  • Such other functions might include enabling the use of a flash light source, and transferring image files to and from a computer.
  • the buttons are electromechanical contact switches, but in other embodiments at least some of the buttons may be implemented as touch screen buttons on a user interface display 416, or on the image viewer 414.
  • the user interface display 416 is typically implemented either (A) as an LCD display device separate from the image viewer 414, or (B) as images displayed on the image viewer 414. Menus, user prompts, and information about the images stored in the nonvolatile image memory 108 may be displayed on the user interface display 416, regardless of how that display is implemented.
  • the associated image file may be retrieved from the memory 408 for viewing on the image viewer. More specifically, the image tile is converted from its transformed, compressed form back into a data array suitable for storage in a framebuffer 418. The image data in the framebuffer is displayed on the image viewer 414.
  • a date /time circuit 420 is used to keep track of the current date and time, and each stored image is date stamped with the date and time that the image was taken.
  • the digital camera 400 preferably includes data processing circuitry for performing a predefined set of primitive operations, such as performing, the multiply and addition operations required to apply a transform to a certain amount of image data as well as a set of state machines 430-442 for controlling the data processing circuitry so as to perform a set of predefined image handling operations.
  • the state machines in the digital camera are as follows:
  • One or more state machines 430 for transforming, compressing and storing an image received from the camera's image capture mechanism. This image is sometimes tilled the "viewfinder" image, since the image being processed is generally the one seen, on the camera's image viewer 414.
  • This set of state machines 430 are the ones that each image file stored in the nonvolatile image memory 408. Prior to taking the picture, the user specifies the quality level of the image to be stored using the camera's buttons 412. In one embodiment, the image encoding state machines 430 implement one or more features described above.
  • One or more state machines 432 for decompressing, inverse transforming and displaying a stored image tile on the camera's image viewer is stored in camera's framebuffer 418 so that it can be viewed on the image viewer 414.
  • One or more state machines 434 for updating and displaying a count of the number of images stored in the nonvolatile image memory 408.
  • the image count is preferably displayed on the user interface display 416.
  • This set of state machines 434 will also typically indicate what percentage of the nonvolatile image memory 408 remains unoccupied by image files, or some other indication of the camera's ability to store additional images. If the camera does not have a separate interface display 416, this memory status information may be shown on the image viewer 414, for instance superimposed on the image shown in the image viewer 414 or shown in a region of the viewer 414 separate from the main viewer image.
  • These state machines transfer the image received from the image capture device 402, possibly after appropriate remedial processing steps are performed to improve the raw image data, to the camera's framebuffer 418.
  • One or more state machines 438 for downloading images from the nonvolatile image memory 408 to an external device, such as a general purpose computer one or more state machines 440 for uploading images from an external device, such as a general purpose computer, into the nonvolatile image memory 408.
  • an external device such as a general purpose computer
  • the present invention is useful in any "memory conservative" context where the amount of working memory available is insufficient to process entire images as a single tile, or where a product must work in a variety of environments including low memory environments, or where an image may need to be conveyed over a low bandwidth communication channel or where it may be necessary or convenient to providing image at a variety of resolution levels.
  • subimages of an image may be decoded and decompressed on the fly, as the data for other higher level subimages of the image are being received.
  • one or more lower resolution versions of the compressed image may be reconstructed and displayed before the data for the highest resolution version of the image is received (and/or decoded) over a communication channel.
  • a different transform than the wavelet-like transform described above could be used.
  • the image tiles could be processed in a different order. For instance, the image tiles could be processed from right to left instead of left to right. Similarly, image tiles could be processed starting at the bottom row and proceeding toward the top row.
  • the present invention can be implemented as a computer program product that includes a computer program mechanism embedded in a computer readable storage medium.
  • the computer program product could contain the program modules shown in Figure 5. These program modules may be stored on a CD-ROM, magnetic disk storage product, or any other computer readable data or program storage product.
  • the software modules in the computer program product may also be distributed electronically, via the Internet or otherwise, by transmission of a computer data signal (in which the software modules are embedded) on a carrier wave.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Discrete Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

A method and apparatus for displaying images (Fig. 1). In one embodiment, the method comprises displaying a first image at a first resolution level (101), identifying a location in the first image (102), and generating a second image for display at a second resolution level different than the first resolution level in response to user input via a user input mechanism (103). The second image represents a portion of the first image at a different resolution level (103), which is dependent on the number of times the user input mechanism is utilized or activated (e.g., the number of mouse clicks made with a mouse). The data reuse may also be used for panning images in display windows.

Description

SYSTEM AND METHOD FOR EFFICIENT TRANSMISSION AND DISPLAY OF IMAGE DETAILS BY RE-USAGE OF COMPRESSED DATA
FIELD OF THE INVENTION
The present invention relates generally to the processing, compression, communication and storage of images in computer systems, personal digital assistants, cellular phones, digital cameras and other devices, and particularly to an image management system and method in which digitally encoded images can be viewed, in full or partially, in any specified window size and at a number of resolutions.
BACKGROUND OF THE INVENTION
An image may be stored at a number of resolution levels. The encoded image data for a lower resolution level is smaller, and thus takes less bandwidth to communicate and less memory to store than the data for a higher resolution level.
It is well known that wavelet compression of images automatically generates several resolution levels. In particular, if N "layers" of wavelet transforms are applied to an image, then N+l resolution levels of data are generated, with the last LL subband of data comprising the lowest resolution level and all the subbands of data together forming the highest resolution level. For convenience, the "layers" of wavelet transforms will sometimes be called "levels". Each of these resolution levels differs from its neighbors by a factor of two in each spatial dimension. These resolution levels are labeled herein as Level 0 for the lowest, thumbnail level to Level N for the highest resolution level, which is the resolution of the final or base image.
When using conventional as well as most proprietary data compression and encoding methods, the quantity of data in the N levels generated by wavelet compression tends to decrease more or less, depending on the quantization step, in a geometric progression. For instance, the quantity of data for resolution Level 0 is typically about 80% of the quantity of data for resolution Level 1, whereas ideally it should above 25% of the quantity of data for resolution Level 1. As a result, the data for Level 0, for example, contains significantly more data than is needed to display the Level 0 image. Alternately stated, the data for Level 0 gives unnecessarily high quality for the low resolution display at Level 0, and therefore gives less compression than could potentially be obtained by providing only the information needed for displaying the image at the Level 0 resolution level.
The low resolution image data coefficients are quantized for full resolution display, not for low resolution display, because these data coefficients are used not only for generating a low resolution representation of the image, but are also used when generating the higher resolution representations of the image.
It is well known in the prior art that digital images can be processed a portion at a time, instead of all at once, thereby reducing memory requirements. For instance, the DCT transform used for tile-based JPEG compression and encoding of images is traditionally used on blocks of 8x8 pixels. The restriction to tiles is necessary because the JPEG file format also depends on DPCM across the 8x8 pixel blocks. The file and multi-level DCT JPEG is governed by the Flashpix image file format. For more information, see Flashpix 1.0 Specification from the Digital Imaging Group at the world wide web site digital.imagery.org.
SUMMARY OF THE INVENTION
A method and apparatus for displaying images. In one embodiment, the method comprises displaying a first image at a first resolution level, identifying a location in the first image, and generating a second image for display at a second resolution level different than the first resolution level in response to user input via a user input mechanism. The second image represents a portion of the first image at a different second resolution level, which is dependant on the number of times the user input mechanism is utilized or activated (e.g., the number of mouse clicks made with a mouse).
BRIEF DESCRIPTION OF THE DRAWINGS
The present invention will be understood more fully from the detailed description given below and from the accompanying drawings of various embodiments of the invention, which, however, should not be taken to limit the invention to the specific embodiments, but are for explanation and understanding only.
Figure 1 is a flow diagram of one embodiment of a process for generating multiple resolutions of an image.
Figure 2 is a graphical illustration of the multi-resolution technique described herein.
Figure 3A-C is a graphical illustration of data re-use during panning.
Figure 4 is a block diagram of a distributed computer system, including a web server and a number of client computers, for distributing multi-resolution images to the client computers.
Figure 5 is a block diagram of a computer system in accordance with an embodiment of the present invention.
Figure 6A schematically depicts the process of transforming a raw image into a transform image array and compressing the transform image array into a compressed image file. Figure 6B depicts a mapping of spatial frequency subbands to NQS subbands used for encoding transform coefficients.
Figure 7 is a conceptual representation of the encoded data that represents an image, organized to facilitate multi-resolution regeneration of the image (i.e., at multiple resolution levels).
Figure 8A, 8B, 8C, 8D and 8E depict image storage data structures.
Figure 9 is a high level flow chart of an image processing process to which the present invention can be applied
Figure 10A, 10B andlOC graphically depict a forward and inverse wavelet-like data transformation procedure.
Figure 11 depicts the spatial frequency subbands of wavelet coefficients generated by applying multiple layers of a decomposition wavelet or waveletlike transform to an array of image data.
Figure 12 depicts a flow chart of a block classification method for selecting a set of quantization divisors for a block of an image.
Figures 13A and 13B depict a flow chart of a procedure for encoding the transform coefficients for a block of an image.
Figure 14A, 14B and 14C depict a method of encoding values, called MaxbitDepth values in a preferred embodiment, which represent the number of bits required to encode the transform coefficients in each block and subblock of an encoded image.
Figure 15 is a high level flow chart of a compressed image reconstruction process to which the present invention can be applied.
Figure 16A and 16B depict a flow chart of a procedure for decoding the transform coefficients for an image and for reconstructing an image from the coefficients.
Figure 17 is a block diagram of a digital camera in which one or more aspects of the present invention are implemented.
Figure 18 is a conceptual flow chart of a client computer downloading a thumbnail image, then zooming in on the image, and then panning to a new part of the image.
DETAILED DESCRIPTION OF THE PRESENT INVENTION
A method and apparatus for displaying images. In one embodiment, the method comprises displaying a first image at a first resolution level, identifying a location in the first image, and generating a second image for display at a second resolution level different than the first resolution level in response to user input via a user input mechanism. The second image represents a portion of the first image at a different second resolution level, which is dependant on the number of times the use input mechanism is utilized or activated. Such activation may include mouse clicks or other operations such as different keys on the keyboard of a personal computer (PC), different buttons on a personal digital assistant (PDA) or cellular phone, or touches on the display screen, when the zoom function is selected. In the following description, numerous details are set forth to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art, that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring the present invention.
Some portions of the detailed descriptions that follow are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of steps leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussion, it is appreciated that throughout the description, discussions utilizing terms such as "processing" or "computing" or "calculating" or "determining" or "displaying" or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.
The present invention also relates to apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes, or it may comprise a general purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, and magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus.
The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general purpose systems may be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required method steps. The required structure for a variety of these systems will appear from the description below. In addition, the present invention is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the invention as described herein.
A machine-readable medium includes any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer). For example, a machine-readable medium includes read only memory ("ROM"); random access memory ("RAM"); magnetic disk storage media; optical storage media; flash memory devices; electrical, optical, acoustical or other form of propagated signals (e.g., carrier waves, infrared signals, digital signals, etc.); etc.
Overview Figure 1 is a flow diagram of one embodiment of a process for displaying an image. The process is performed by processing logic that may comprise hardware (e.g., circuitry, dedicated logic, etc.), software (such as is run on a general purpose computer system or dedicated machine), or a combination of both.
Referring to Figure 1, the process begins with processing logic displaying a first image at one resolution level (processing block 101). In one embodiment, the first image may be a thumbnail image. In order to display the first image, processing logic of a client computer system may have to download the corresponding image data from a server or other system across a network via a network connection. The image data may be in compressed format when retrieved. In such a case, the client retrieving the image data in compressed format includes processing logic for decompressing the image data.
Using the displayed image, processing logic identifies a location in the first image (processing block 102). In one embodiment, the location may be identified by positioning a cursor over the location in the image. The cursor may be positioned by a user selecting a particular portion of the first image to be shown at another resolution. For example, a user may wish to see a zoomed-in version of a portion of an image. The user is able to obtain a number of images representing zoomed-in versions of portions of an image. In an alternative embodiment, the user may wish to pan the image, as opposed to zooming- into/out of and image.
In the case of using a cursor, the user may position the cursor with a mouse or some other well-known cursor control device (e.g., control keys, trackball, trackpad, etc.) in a computer system. The identification of the location of a curser, such as by, for example, x,y coordinates on a display and the identification thereafter of the location in an image being displayed under the cursor is well-known in the art. Next, processing logic generates a second image for display at a second resolution level, where the second resolution level is selected by a user based on user input (processing block 103). The second image comprises a portion of the first image being displayed (over which the cursor is located) with that portion displayed at a resolution level that is different than the resolution level of the first image. The resolution level of the second image is selected by the user based on the number of times the user activates or engages a user input mechanism (e.g., the number of mouse clicks the user makes). For example, if the user selects a location and performs one mouse click, the second image may be displayed at a resolution level greater than that of the first image; if the user selects a location and performs two mouse click, the second image may be displayed at a resolution level greater than that which is displayed after a single mouse click; etc.
Other operations may also be used to provide user input to trigger presentation of an image at a higher resolution (i.e., when the zoom function is selected). For example, selection of different keys on a keyboard of a personal computer (PC), depressing different buttons on a personal digital assistant (PDA) or cellular phone, or touches on a display screen. These user input mechanisms are all activated when used.
Figure 2 illustrates a graphical overview of the teachings of the present invention. Referring to Figure 2, an image 200 is displayed to the user. In one embodiment, image 200 is a thumbnail image. The user selects a particular location on image 200 by clicking a mouse on image 200 at the desired location 250. The resolution level of the image that is displayed is dependant on the number of mouse click that the user does. For example, if the user clicks on location 250 of image 200 once, image 210 is displayed. If the user clicks on location 250 of image 200 twice, image 220 is displayed. If the user clicks on location 250 of image 200 three times, image 220 is displayed. In this manner, when a user wants to see a certain point of interest from the thumbnail (such as, for example, a section of the Golden Gate Bridge) or other image, the user simply positions the cursor over the certain point in the image and clicks a predetermined number of times to obtain the resolution they desire.
Utilization of a user input mechanism may also be used to control other operations, such as panning of an image, rotation of an image, etc. Figures 3A-C illustrate use of the data reuse technique described herein for panning. Figure 3 A illustrates a thumbnail image 302 being displayed in display window 301. Once the user activates a user input mechanism (e.g., single clicks a mouse), a new image 303 is created using data of thumbnail 302 and additional data (e.g., downloaded data) and is larger than display window 301. A portion of new image 303 shown in display window 301 is data 310. When the user performs another user input mechanism activation (e.g. another mouse click), new image 304 is created using image 303 and additional data (e.g., downloaded data). As a user pans to the left, the image displayed in the display window 301 moves to the right. The image data, from the lower resolution levels, that remains in the display window is re-used to generate the image before panning is used to create the new image along with data 310' that is part of the image but outside the display window.
Data Re-use
In one embodiment, all of pictures that are obtained from the predetermined number of mouse clicks or other operations are of the same high quality, and the downloading (from the internet, for example) and time to display the new image is reduced, or may be even minimal, and the display image appears progressively (i.e., continuously) from "blur" to "clear" due to data re-use and efficient data management as is described in more detail below.
In one embodiment, when the first detailed picture is generated (for example, after one mouse click), the data in the thumbnail (or Level 0) is reused with additional downloaded data to create the image (or Level 1). Similarly, the Level 1 data is reused to generate the image in Level 2, etc. In other words, when a user clicks on a location a number of times (e.g., 1, 2, 3, etc.) (or utilizes another type of user input mechanism a number of times), processing logic in the system, which may comprise hardware (e.g., circuitry, dedicated logic, etc.), software (such as is run on a general purpose computer system or a dedicated machine), or a combination of both, identifies the location on the image being selected by the user, determines if it has the data to generate the new image locally, and, if not, sends a request to a server over a network or other communication medium to obtain the additional data needed to create the new image. The higher resolution image may be requested in response to a user indicating that a zoomed image is desired or desires some other operation to be performed in the image (e.g., panning). The data may be stored on the server or client side memory and subsequently sent in a compressed format. In such a case, the processing logic is responsible for decompressing the data as well.
In one embodiment, if the image is to be displayed in a viewing window of a particular size, then the processing logic downloads only the additional image data that is necessary to create an image of the size needed to display the image in the viewing window.
It should be noted that there is no limit for the design of the number of resolutions when using a compression scheme that is continuously scalable.
Exemplary Embodiments
In one embodiment, the techniques described herein are implemented as a viewer that enables a user to display images at multiple levels of detail. Such a viewer may supported using an image file and compression technology described in more detail below. Although at least one image file and compression technology are described herein, it would be apparent to those skilled in the art to employ other image file structures and /or different compression technologies. In one embodiment, the viewer enables access and manipulation of an image to provide various sizes through the use of a browser. The images may be stored on the Internet and other resource accessible over a network via a network connection. The browser may be a readily available Internet web browser software product, such as, for example, a browser available from Netscape, Internet Explorer, or a Java-implemented browser. In an alternate embodiment, the browser may be implemented as a stand alone Java applet.
In one embodiment, the viewer uses the standard HTML language to insert an image into web pages. One embodiment of such a viewer is described in U.S. Patent Application Serial No. 09/757,561 filed January 9, 2001, entitled "Multi-Image Viewer," which is incorporated herein by reference.
In one embodiment, the viewer is implemented as a client-server system. The server stores images. The images may be stored in a compressed format. In one embodiment, the images are compressed according to a block-based integer wavelet transform entropy coding scheme. For more information on one embodiment of such a transform, see U.S. Patent No. 5,909,518, entitled "System and Method for Performing Wavelet-Like and Inverse Wavelet-Like Transformation of Digital Data," issued June 1, 1999. One embodiment of a block-based transform is described in U.S. Application Serial No. 09/358,876, entitled "Memory Saving Wavelet-Like Image Transform System and Method for Digital Camera and Other Memory Conservative Applications," filed July 22, 1999. One embodiment of scalable coding is described in U.S. Patent Application No. 5,949,911, entitled "System and Method for Scalable Coding of Sparse Data Sets," issued September 7, 1999. One embodiment of block based coding technique is described in U.S. Patent No. 5,886,651, entitled "System and Method for Nested Split Coding of Sparse Data Sets," issued March 23, 1999. Each of these are assigned to the corporate assignee of the present invention and incorporated herein by reference. The compressed images are stored in a file structure. In one embodiment, the file structure comprises of a series of sub-images, each one being a predetermined portion of the size of its predecessor (e.g., 1/16 of the size of its predecessor). In one embodiment, each sub-picture is made up of a series of blocks that each contains the data associated with a 64x64 pixel block. That is, each image is divided into smaller individual blocks that are 64x64 pixels. Each block contains data for decoding the 64x64 block and information that can be used for extracting the data for a smaller 32x32 block. Accordingly, each sub- image contains two separate resolutions. When the image is compressed, the bit- stream is organized around these 64x64 blocks and server software extracts a variety of resolution and/or quality levels from each of these blocks.
One embodiment of a file structure along with multiresolution compressed image management that may be used with the present invention is described in U.S. Patent Application Serial No. 09/060,398, entitled "Multiresolution Compressed Image Management System and Method," issued March 21, 2000, assigned to the corporate assignee of the present invention and incorporated herein by reference.
The viewer allows a user to interact with an image in order to obtain versions of the image at different zoom-in levels. In one embodiment, when the user zooms in the images, the viewer calculates the new geometric coordinates for the new view. Based on the location of the cursor, the viewer calculates which part of which images will appear in the window and then obtains the appropriate data. Based on this determination, the client makes a simple request to the server and the server responds with the appropriate block(s) of data. Using the data, the viewer determines which part of each image is to appear.
In one embodiment, the viewer keeps track of which data it already has so that it does not have to request the same data multiple times from the server. In one embodiment, the viewer keeps track of what is in the window and also what other data is in the cache. There is a pixel to pixel mapping between the image and the window, so depending on resolution level, window size, and image position within (or without) the window, the client performs the geometric calculations.
In one embodiment, each image has a hypertext link so the user can click on a specific image and cause the browser to go to a new location in the image.
In one embodiment, the request for data is performed using a HTTP 'GET' command that specifies the URL of each image, which resolution level, and which blocks of data are required (based on, for example, resolution level).
In one embodiment, all data received from the server is cached locally and reused wherever possible. Caching data locally facilitates random access to different parts of the image and allows images, or parts of images, to be loaded in a variety of resolution and quality levels. In an alternative embodiment, the data is not be cached locally.
In one embodiment, the system reuses the existing image data together with the new image data to create a high quality higher resolution view. Thus, the viewer uses a file hierarchy that allows for two resolution levels to be extracted from one sub-image.
In an alternative embodiment, all the images are initially downloaded and decoded by the client. Then only that portion of each image that is to appear in the window is scaled.
An Exemplary Data Management System
One embodiment of a data management system that may be used to implement the techniques described herein is described in U.S. Patent Application Serial No. 09/687,467, entitled "Multi-resolution Image Data Management System and Method Based on Tiled Wavelet-Like Transform and Sparse Data Coding," filed October 12, 2000, assigned to the corporate assignee of the present invention and incorporated herein by reference. In the following description, the terms "wavelet" and "wavelet-like" are used interchangeably. Wavelet like transforms generally have spatial frequency characteristics similar to those of conventional wavelet transforms and are losslessly reversible, but have shorter filters that are more computationally efficient.
The present invention may be implemented in a variety of devices that process images, including a variety of computer systems, ranging from high end workstations and servers to low end client computers as well as in application specific dedicated devices, such as digital cameras.
System for Encoding and Distributing Multi-Resolution Images
Figure 4 shows a distributed computer system, including a web server 140 and a number of client computers 120 for distributing, multi-resolution images 190 to the client computers via a global communications network 110, such as the Internet, or any other appropriate communications network, such as a local area network or Intranet. An imaging encoding workstation 150 prepares multi-resolution image files for distribution by the web server. In some embodiments, the web server 140 may also perform the image encoding tasks of the image encoding workstation 150.
A typical client device 120 will be a personal digital assistant, personal computer workstation, or a computer controlled device dedicated to a particular task. The client device 120 will preferably include a central processing unit 122, memory 124 (including high speed random access memory and non-volatile memory such as disk storage) and a network interface or other communications . interface 128 for connecting the client device to the web server via the communications network 110. The memory 124, will typically store an operating system 132, a browser application or other image viewing application 134, an image decoder module 180, and multi-resolution image files 190 encoded in accordance with the present invention. In one embodiment, the browser application 134 includes or is coupled to a Java™ (trademark of Sun Microsystems, Inc.) virtual machine for executing Java language programs, and the image decoder module is implemented as a Java™ applet that is dynamically downloaded to the client device along with the image files 190, thereby enabling, the browser to decode the image tiles for viewing.
The web server 140 will preferably include a central processing unit 142, memory 144 (including high speed random access memory, and non-volatile memory such as disk storage ), and a network interface or other communications interface 148 for connecting the web server to client devices and to the image encoding workstation 150 via the communications network 110. The memory 141 will typically store an http server module 146 for responding to http requests, including request for multi-resolution image files 190.
The web server 140 may optionally include an image processing module 168 with encoding procedures 172 for encoding images as multi-resolution images.
Computer System.
Referring to Figure 5, the image processing workstation 150 may be implemented using a programmed general-purpose computer system. Figure 5 may also represent the web server, when the web server performs image processing tasks. The computer system 150 may include: one or more data processing units (CPU's) 152; memory 154 which will typically include both high speed random access memory, as well as non-volatile memory; user interface 156 including a display device 157 such as a CRT or LCD type display: a network or other communication interface 158 for communicating with other computers as well as other devices; data port 160, such as for sending and receiving images to and from a digital camera (although such image transfers might also be accomplished via the network interface 158); and one or more communication buses 161 for interconnecting the CPU(s) 152, memory 154, user interface 156, network interface 158 and data port 160.
The computer system's memory 154 stores procedures and data, typically including: an operating system 162 for providing basic system services; a file system 164, which may be part of the operating system; application programs 166, such as user level programs for viewing and manipulating images. an image processing module 168 for performing various image processing functions including those that are described herein; image files 190 representing various images; and temporary image data arrays 192 for intermediate results generated during image processing and image regeneration.
The computer 150 may also include a http server module 146 (Figure 4) when this computer 150 is used both for image processing and distribution of multi-resolution images. The image processing module 168 may include an image encoder module 170 and an image decoder module 180. The image encoder module 170 produces multi-resolution image files 190, the details of which will be discussed below. The image encoder module 170 may include: an encoder control program 172 which controls the process of compressing and encoding an image (starting with a raw image array 189, which in turn may be derived from the decoding of an image in another image file format), a set of wavelet-like transform procedures 174 for applying wavelet-like filters to image data representing an image; a block classifier procedure 176 for determining the quantization divisors to be applied to each block (or band) of transform coefficients for an image; a quantizer procedure 178 for quantizing the transform coefficients for an image; and a sparse data encoding procedure 179, also known as an entropy encoding procedure, for encoding the quantized transform coefficients generated by the quantizer procedure 178.
The procedures in the image processing module 168 store partially transformed images and other temporary data in a set of temporary data arrays 192.
The image decoder module 180 may include: a decoder control program 182 for controlling the process of decoding an image file (or portions of the image file) and regenerating the image represented by the data in the image file; a sparse data decoding procedure 184 for decoding the encoded, quantized transform coefficients stored in an image file into a corresponding array of quantized transform coefficients; a de-quantizer procedure 186 for dequantizing a set of transform coefficients representing a tile of an image; and a set of wavelet-like inverse transform procedures 188 for applying wavelet-like inverse filters to a set of dequantized transform coefficients, representing a tile of an image, so as to regenerate that tile of the image.
Overview of Image Capture and Processing
Referring to Figure 6, raw image data 200 obtained from a digital camera's image capture mechanism (Figure 17) or from an image scanner or other device, is processed by "tiling the image data." More specifically, the raw image is treated as an array of tiles 202, each tile having a predefined size such as 64 x 64 (i.e., 64 rows by 64 columns). In other embodiments, other tile sizes, such as 32 x 32 or 16 x 32 or 128 x 128 or 64 x 128 may be used. The tiles are non- overlapping portions of the image data. A sufficient number of tiles are used to cover the entire raw image that is to be processed, even if some of the tiles overhang the edges of the raw image. The overhanging portions of the tiles are filled with copies of boundary data values during the wavelet transform process, or alternately are filled with null data. Tile positions are specified with respect to an origin at the upper left corner of the image, with the first coordinate indicating the Y position of the tile (or a pixel or coefficient within the tile) and the second coordinate indicating the X position of the tile (or a pixel or coefficient within the tile). Thus, a tile at position 0,128 is located at the top of the image and has its origin at the 128th pixel of the top row of pixels.
A wavelet or wavelet-like decomposition transform is successively applied to each tile of the image to convert the raw image data in the tile into a set of transform coefficients. When the wavelet-like decomposition transform is a one dimensional transform that is being applied to a two dimensional array of image data, the transform is applied to the image data first in one direction (e.g., the horizontal direction) to produce an intermediate set of coefficients, and then the transform is applied in the other direction (e.g., the vertical direction) to the intermediate set of coefficients so as to produce a final set of coefficients. The final set of coefficients are the result of applying the wavelet-like decomposition transform to the image data in both the horizontal and vertical dimensions.
The tiles are processed in a predetermined raster scan order. For example, the tiles in a top row are processed going from one end (e.g., the left end) to the opposite end (e.g., the right end), before processing the next row of tiles immediately below it, and continuing until the bottom row of tiles of the raw image data has been processed.
The transform coefficients for each tile are generated by successive applications of a wavelet-like decomposition transform. A first application of the wavelet decomposition transform to an initial two dimensional array of raw image data generates four sets of coefficients, labeled LL, HL1, LH1 and HH1. Each succeeding application of the wavelet decomposition transform is applied only to the LL set of coefficients generated by the previous wavelet transformation step and generates four new sets of coefficients, labeled LL, HLx, LHx and HHx, where x represents the wavelet transform "layer" or iteration. After the last wavelet decomposition transform iteration only one LL set remains. The total number of coefficients generated is equal to the number of data samples in the original data array. The different sets of coefficients generated by each transform iteration are sometimes called layers. The number of wavelet transform layers generated for an image is typically a function of the resolution of the initial image. For tiles of size 64 x 64, or 32 x 32, performing five wavelet transformation layers is typical, producing 16 spatial frequency subbands of data:
LL5, HL5, LH5, HH5, HL4, LH4, HH4, HL3, LH3, HH3, HL2, LH2, HH2, HLX, LHj, HH-.
The number of transform layers may vary from one implementation to another, depending on both the size of the tiles used and the amount of computational resources available. For larger tiles, additional transform layers would likely be used, thereby creating additional subbands of data. Performing more transform layers will often produce better data compression, at the cost of additional computation time, but may also produce additional tile edge artifacts.
The spatial frequency subbands are grouped as follows. Subband group 0 corresponds to the LLN subband, where N is the number of transform layers applied to the image (or image tile). Each other subband group i contains three subbands, LH., HL., and HH, As will be described in detail below, when the transform coefficients for a tile are encoded, the coefficients from each group of subbands are encoded separately from the coefficients of the other groups of subband. In one embodiment, a pair of bitstreams is generated to represent the coefficients in each group of subbands. One of the bitstreams represents the most significant bit planes of the coefficients in the group of subbands while the second bitstream represents the remaining, least significant bit planes of the coefficients for the group of subbands.
The wavelet coefficients produced by application of the wavelet-like transform are preferably quantized (by quantizer 178) by dividing the coefficients in each subband of the transformed tile by a respective quantization value (also called the quantization divisor). In one embodiment, a separate quantization divisor is assigned to each subband. More particularly, as will be discussed in more detail below, a block classifier 176 generates one or more values representative of the density of features in each tile of the image, and based on those one or more values, a table of quantization divisors is selected for quantizing the coefficients in the various subbands of the tile.
The quantized coefficients produced by the quantizer 178 are encoded by a sparse data encoder 179 to produce a set of encoded subimage subfiles 210 for each tile of the image.
Details of the wavelet-like transforms used in one embodiment are below. Circuitry for performing the wavelet-like transform of the one embodiment is very similar to the wavelet transform and data quantization methods described in U.S. Patent No. 5,909,518 entitled "System and Method for Performing Wavelet and Inverse Wavelet Like Transformations of Digital Data Using Only Add and Bit Shift Arithmetic Operations," which is hereby incorporated by reference as background information.
The sparse data encoding method of the preferred embodiment is called Nested Quadratic Splitting (NQS) and is described in detail below. This sparse data encoding method is an unproved version of the NQS sparse data encoding method described in U.S. Patent No. 5,949,911, entitled "System and Method for Scalable Coding of Sparse Data Sets," which is hereby incorporated by reference as background information. Figure 6B depicts a mapping of spatial frequency subbands to NQS subbands used for encoding transform coefficients. In particular, in one embodiment, seven spatial frequency subbands (LL5, HL5, LH5, HH5, HL4, LH4, and HH4) are mapped to a single NQS subband (subband 0) for purposes of encoding the coefficients in these subbands. In other words, the coefficients in these seven spatial frequency subbands are treated as a single top level block for purposes of NQS encoding. In one embodiment, NQS subbands 0, 1, 2 and 3 are encoded as four top level NQS blocks, the most significant bit planes of which are stored in a bitstream representing a lowest resolution level of the image in question.
Image Resolution Levels and Subimages
Referring to Figure 7, an image is stored at a number of resolution levels 0 to N, typically with each resolution level differing from its neighbors by a resolution factor of four. In other words, if the highest resolution representation (at resolution level N) of the image contains X amount of information, the second highest resolution level representation N-l contains X/4 amount of information, the third highest resolution level representation contains X/16 amount of information, and so on. The number of resolution levels stored in an image file will depend on the size of the highest resolution representation of the image and the minimum acceptable resolution for the thumbnail image at the lowest resolution level. For instance, if the full or highest resolution image is a high definition picture having about 16 million pixels (e.g., a 4096 x 4096 pixel image), it might be appropriate to have seven resolution levels: 4096 x 4096, 2048 x 2048, 1024 x 1024, 512 x 512, 256 x 256, 128 x 128, and 64 x 64.
However, as shown in Figure 4, one feature or aspect of the present invention is that when a inulti-resolution image has more than, say, three or four resolution levels, the image is encoded and stored in multiple "base image" files, each of which contains the data for two to four of the resolution levels. Alternately, all the base images may be stored in a single file, with each base image being stored in a distinct base image subfile or subfile data structure within the image file.
Each base image file (or subtle) contains the data for reconstructing a "base image" and one to three subimages (lower resolution levels). For instance, in the example shown in Figure 7, the image is stored in three tiles, with a first tile storing the image at three resolution levels, including the highest definition level and two lower levels, a second file stores the image at three more resolution levels (the fourth, fifth and sixth highest resolution levels) and a third file stores the image at the two lowest resolution levels, for a total of eight resolution levels. Generally, each successive file will be smaller than the next larger file by a factor of about 2X, where X is the number of resolution levels in the larger file. For instance, if the first file has three resolution levels, the next file will typically be smaller by a factor of 64(26).
As a result, an image file representing a group of lower resolution levels will be much smaller, and thus much faster to transmit to a client computer, than the image file containing the full resolution image data. For instance, a user of a client computer might initially review a set of thumbnail images, at a lowest resolution level (e.g., 32 x 32 or 64 x 64), requiring the client computer to review only the smallest of the three image files, which will typically contain about 0.024% as much data as the highest resolution image file. When the user requests to see the image at a higher resolution, the client computer may receive the second, somewhat larger image file, containing about 64 times as much data as the lowest resolution image file. This second file may contain three resolution levels (e.g., 512 x 512, 256 x 256, and 128 x 128), which may be sufficient for the user's needs. In the event the user needs even higher resolution levels, the highest resolution file will be sent. Depending on the context in which the system is used, the vendor of the images may charge additional fees for downloading each successively higher resolution image file. It should be noted that many image files are not square, but rather are rectangular, and that the square image sizes used in the above examples are not intended to in any way to limit the scope of the invention. While the basic unit of information that is processed by the image processing modules is a tile, which is typically a 64 x 64 or 32 x 32 array of pixels, any particular image may include an arbitrarily sized array of such tiles. Furthermore, the image need not be an even multiple of the tile size, since the edge tiles can be truncated wherever appropriate.
The designation of a particular resolution level of an image as the "thumbnail" image may depend on the client device to which the image is being sent. For instance, the thumbnail sent to a personal digital assistant or mobile telephone, which have very small displays, may be much smaller than (for example, one sixteenth the size of) the thumbnail that is sent to a personal computer and the thumbnail sent to a device having a large, high definition screen may be much larger than the thumbnail sent to a personal computer having a display of ordinary size and definition. When an image is to. be potentially used with a variety of client devices, additional base images are generated for the image so that each type of device can initially receive an appropriately sized thumbnail image.
When an image is first requested by a client device, the client device may specify its window size in its request for a thumbnail image or the server may determine the size of the client device's viewing window by querying the client device prior to downloading the thumbnail image data to the client device. As a result, each client device receives a minimum resolution thumbnail that is appropriately sized for that device.
Image File Data Structures
Referring to Figures 8A through 8E, when all the tiles of an image have been transformed, compressed and encoded, the resulting encoded image data is stored as an image file 190. The image file 190 includes header data 194 and a sequence of base image data structures, sometimes called base image subfiles 196. Each base image subfile 196 typically includes the data for displaying the image at two or more resolution levels. Furthermore, each base image supports a distinct range of resolution levels. The multiple base images and their respective subimages together provide a full range of resolution levels for the image, as conceptually represented in Figure 4. While the resolution levels supported by the base image levels are non-overlapping in one embodiment, in an alternate embodiment the resolution levels supported by one base image may overlap with tile resolution levels supported by another base image (for the same initial full resolution image).
In one embodiment, each image file 190 is an html file or similarly formatted web page that contains a link 198, such as an object tag or applet tag, to an applet 199 (e.g., a Java™ applet) that is automatically invoked when the file is downloaded to a client computer. The header 194 and a selected one of the base images 196 are used as data input to the embedded applet 199, which decodes and renders the image on the display of a user's personal digital assistant or computer. The operation of the applet is transparent to the user, who simply sees the image rendered on his/her computer display. Alternately, the applet may present the user with a menu of options including the resolution levels available with the base image subfile or subfiles included in the image file, additional base image subfiles that may be available from the server, as well as other options such as image cropping options.
In an alternate embodiment, the client workstations include an application, such as a browser plug-in application, for decoding and rendering images in the file format of the present invention. Further, each image file 210 has an associated data type that corresponds to the plug-in application. The image file 210 is downloaded along with an html or similarly formatted web page that includes an embed tag or object tag that points to the image file. As a result, when the web page is downloaded to a client workstation, the plug-in application is automatically invoked and executed by the client computer's. As a result, the image file is decoded and rendered and the operation of the plug-in application is transparent to the user.
The image file 190-A shown in Figure 8A represents one possible way of storing a multi-resolution image, and is particularly suitable for storing a multi-resolution image in a server. In a client computer, the image file 190-B as shown in Figure 8B may contain only one base image 196. In addition, the client version of the image file 190 may contain a link 201 to the image file 190-A in the server. The link 201 is used to enable a user of the client computer to download other base images (at other resolution levels) of the same image. Alternately, the link 201 is a Java™ (trademark of Sun Microsystems) script for requesting an image file containing any of the higher resolution base images from the web server. If there is a charge for obtaining the higher resolution image file, the script will invoke the execution of the server procedure for obtaining payment from the requesting user.
In yet another alternate embodiment, a multi-resolution image may be stored in the server as a set of separate base image tiles 190-B, each having the format shown in Figure 8B. This has the advantage of providing image tiles 190-B that are ready for downloading to client computers without modification.
Referring to Figure 8A again, the header 194 of the image tile includes the information needed to access the various base image subfiles 196. In particular, in one embodiment, the header 194 stores: an identifier or the URL of the image file in the server; a parameter value that indicates the number of base image subfiles 196 in the file (or the number of base image files in embodiments in which each base image is stored in a separate file); the size of each base image data structure; and a offset pointer to each base image data structure (or a pointer to each base image file in embodiments in which each base image is stored in a separate file).
Each base image subfile 196 has a header 204 and a sequence of bitstreams 206. The bitstreams are labeled la, lb, to N, where N is the number of resolution levels supported by the base image in question. The meaning of the labels "la" and the like will be explained below. The information in each bit stream 206 will be described in full detail below. The header data 204 of each base image subfile includes fields that indicate: the size of the base image subfile (i.e., the amount of storage occupied by the base image subfile); the size of the tiles (e.g., the number of rows and columns of pixels) used to tile the base image, where each tile is separately transformed and encoded, as described below; the color channel components stored for this base image subfile; the transform filters used to decompose the base image (e.g., different sets of transform filters may be used on different images); the number of spacial frequency subbands encoded for the base image (i.e., for each tile of the base image); the number of resolution levels (else called subimages) supported by the base image; the number of bitstreams encoded for the base image (i.e., for each tile of the base image); and information for each of the bitstreams.
The header information far each bitstream in the base image subfile may include: an offset pointer to the bitstream to indicate its position within the image tile (or within the base image subfile); the size of bitstream (how much data is in the bitstream); the range of spatial frequency subbands included in the bitstream; the number of color channels in the bitstream; the range of bit planes included in the bitstream, which indicates how the bit planes of the coefficients in the subbands were divided between significant, insignificant and possibly mid-significant portions; and a table of offset pointers to the tiles 208 within the bitstream.
Each bitstream 206 includes a sequence of tile subarrays 208, each of which captains the i* bitstream for a respective tile of the image. The bitstream 206 may optionally include a header 209 having fields used to override parameters specified for the base image by the base image header 204. When the image file contains a cropped image, the set of tile subarrays 208 included to the image file is limited to those needed to represent the cropped image.
In one embodiment, the image file header 194 also includes parameters indicating "cropped image boundaries." This is useful for partial copies of the image file that contain data only for a cropped portion of the image, which in turn is very useful when a client computer is being used to perform pan and zoom operations in an image. For instance, a user may have requested only a very small portion of the overall image, but at very high resolution. In this case, only the tiles of the image needed to display the cropped portion of the image will be included in the version of the image tile sent to the user's client computer, and the cropped image boundary parameters are used to convey this information to the procedures that render the image an the client computer. Two types of image cropping information are provided by the image file header 194: cropping that applies to the entire image file, and any further cropping that applies to specific subimages. For instance, when a client computer first receives an image, it may receive just the lowest resolution level subimage of a particular base image, and that subimage will typically not be cropped (compared to the full image). When the client zooms in on a part of the image at a specified higher resolution level, only the tiles of data needed to generate the portion of the image to be viewed on the client computer are sent to the client computer, and thus new cropping parameters will be added to the header of the image file stored (or cached) in the client computer to indicate the cropping boundaries for the subimage level or levels downloaded to the client computer in response to the client's image zoom command.
The table of offset pointers to tiles that is included in the base image header for each bitstream in the base image is also used during zooming and panning. In particular, referring to Figure 18, when an image file is first downloaded by a client computer or device (240), the higher level bitstreams may be unpopulated, and thus the table of offset pointers will initially contain null values. When the user of the client devices zooms in on the image, the data for various tiles of the higher level bitstreams are downloaded to the client device, as needed (242), and the table of offset pointers to tiles is updated to reflect the tiles for which data have been downloaded to the client computer. When the client further pans across the image at the zoomed or higher resolution level, additional tiles of information are sent to the client computer as needed, and the cropping information in the image tile header 194 and the tile offset information in the base image header are again updated to reflect the tiles of data stored for each bitstream (244).
Referring again to Figures 8A-8E, the information in the headers of the image file and the base image subfiles enables quick indexing into any part of the tile, which enables a computer or other device to locate the beginning or end of any portion of the image, at any resolution level, without having to decode the contents of any other portions of the image file 190. This is useful, for example, when truncating the image file 190 so as to generate a lower image quality version of the file, or a cropped image version of the file, such as for transmission over a communications network to another computer or device.
In some of the discussions that follow, the terms "subimage" and "differential subimage" will be used with respect to the bitstreams 206 as follows. Generally, any subimage of a base image will include all the bitstreams from bitstream la through a particular last bitstream, such as bitstream 3. This group of contiguous bitstreams constitute the data needed to reconstruct the image at a particular resolution level, herein called a subimage. A "differential subimage" consists of the additional bitstreams needed to increase the image resolution from one subimage level to the next. For instance, bitstreams lc, 2b and 3 might together be called a differential subimage because these bitstreams contain the data needed to double the resolution of the subimage generated from bitstreams la through 2a.
Referring to Figure 8C, the encoded data 190-C representing a base image is initially stored in "tile order." The image file 190-C includes a header 222 and a set of tile subfiles 220. Referring to Figure 8D, each tile subfile 220 contains a header 224 denoting the quantization table used to encode the tile, offset pointers to the bitstreams within the subfile, and other information. The title subfile 220 for each tile also contains a set of bitstream subarrays 226. Each tile bitstream subarray 226 contains encoded data representing either the most significant bit planes, least significant bit planes or a middle set of bit planes or a respective set of NQS subbands (see Figure 6B) of the tile. The following table shows an example of bit plan mappings to bitstream subarrays:
Figure imgf000031_0001
In this table, the bit planes corresponding to S, MS and IS differ for each NQS subband. These bit plane ranges are specified in the header of the base image subfile. For instance, for NQS subbands 0 to 3, S may corresponding to bit planes 16 to 7, MS may correspond to bit planes 6 to 4, and IS may correspond to bit planes 3 to 0, while for NQS subbands 4 to 6, S may corresponding to bit planes 16 to 5, and IS may correspond to bit planes 4 to 0.
Bitstreams la, lb and lc contain the encoded data representing the most significant, middle and least significant bit planes of NQS subbands 0, 1, 2 and 3, respectively. Bitstreams 2a and 2b contain the encoded data representing the most significant and least significant bit planes, respectively, of NQS subbands 4, 5 and 6, which correspond to the LH2, HL2 and HH2 subbands. Bitstream 3 contains all the bit planes of the encoded data representing NQS subbands 7, 8 and 9, which correspond to the LH., HL. and HHL subbands, respectively.
The tile subfiles 220 may be considered to be "temporary" files, because the encoded tile data is later reorganized from the file format of Figsures 8C and 8D into the file format shown in Figure 8A.
Figure 8E shows a specific example of a base image subfile 196, labeled 196A. The base image subfile contains twelve bitstreams 206, which are used to generate the base image and two lower resolution subimages. The base image has been transformed with five layers of wavelet transforms, providing sixteen spatial frequency subbands of data, which have been encoded and organized into three subimages, including the base image. The number of subimages is somewhat arbitrary, since the subbands generated by five transform layers could be used to generate as many as six subimages. However, using this base image subfile to generate very small subimages is not efficient in terms of memory or storage utilization, and therefore it will be preferred to use a smaller base image subfile to generate smaller subimages.
In Figure 8E, the base image has been processed by five transform layers, but the resulting data has been organized into just three subimage levels instead of six. Effectively, the last three transform layers, which convert subband LL2 into ten subbands (LL5, LH5, HL5, HH5, LH4, HL4, HH4, LH3 and HH3), are not used to generate an extra subimage level. Rather, the last three transform layers are used only to produce better data compression.
As shown in Figure 8E, when the five transform layers of image data are mapped to three subimages, the mapping of bitstream data subarrays 206 to subimages is as follows: subimage 0, the lowest level subimage, corresponds to bitstream subarray 206-la, which contains the most significant bit planes of NQS subbands 0 to 3 (see Figure 6B); subimage 1 corresponds to bitstreams 206-la, 206-lb and 206-2a; and subimage 2, the base image, corresponds to all the bitstreams 206 in the base image subfile.
When the transform layers are mapped to more subimages (subimage levels) than in the example shown in Figure 8E, the first bitstream 206-la will include fewer of the spatial frequency subbands.
A sparse data encoding technique is used to encode the transform coefficients for each group of subbands of each tile so that it takes very little data to represent arrays of data that contain mostly zero values. Typically, higher frequency portions (i.e., subbands) of the transformed, quantized image data will contain more zero values than non-zero values, and further most of the non-zero values will have relatively small absolute value. Therefore, the higher level bit planes of many tiles will be populated with very few non-zero bit values.
Tiled Wavelet Transform Method
Referring to Figure 9, the process for generating an image file begins when an image is captured by the image capture device (step 250). If the image size is variable, the size of the captured image is determined and the number of rows and columns of tiles needed to cover the image data is determined (step 252). If the image size is always the same, step 252 is not needed.
Next, all the tiles in the image are processed in a predetermined order for example in raster scan order, by applying a wavelet-like decomposition transform to them in both the horizontal and vertical directions, then quantizing the resulting transform coefficients, and finally by encoding the quantized transform coefficients using a sparse data compression and encoding procedure (step 254). The encoded data for each tile is stored in a temporary file or subfile, such as in the format shown in Figure 8D.
After all the tiles in the image have been processed, a multi-resolution image file containing all the encoded tiles is stored in non-volatile memory (step 256). More specifically, the encoded tile data from the temporary files is written into an output bitstream file in resolution reversed order, in the file format shown in Figure 8 A. "Resolution reversed order" means that the image data is stored in the file with the lowest resolution bitstream first, followed by the next lowest resolution bitstream, and so on.
The wavelet-like decomposition transform used in step 254 is described in more detail below, with reference to Figures 10 A, 10B and IOC. The quantization and sparse data encoding steps are also described in detail below.
After the initial image has been processed, encoded and stored as a multi-resolution image file, typically containing two to four resolution levels, if more than one base image is to be included in the image file (257), the original image is down-sampled and anti-aliased so as to generate a new base image (258) that is smaller in each dimension by a factor of 2X, where X is the number of subimage levels in the previously generated multi-resolution image file. Thus, the new base image will be a factor of 4 smaller than the smallest lowest-resolution subimage of the base image. The new base image is then processed in the same way as the previous base image so as to generate an additional, but much smaller, encoded multi-resolution base image that is added to the image file. If the original base image had sufficiently high resolution, a third base image may be formed by performing a second round of down-sampling and anti-aliasing, and a third encoded multi-resolution base image file may be stored in the image file. The last encoded base image may contain fewer subimage levels than the others, and in some embodiments may contain only a single resolution level, in which case that image file is effectively a thumbnail image file.
In an alternate embodiment, each encoded base image is stored in a separate image file, and these image files are linked to each other either by information stored in the headers of the image files, or by html (or html-like) links.
In one embodiment, the down-sampling filter is a one-dimensional FIR filter that is applied first to the rows of the image and then to the columns, or vice versa. For example, if the image is to be down-sampled by a factor of 4 in each dimension (for a factor of 16 reduction in resolution), the FIR filter may have the following filter coefficients:
Filter A = (-3 -4 -4 10 10 29 29 29 29 10 10 -4 -4 -3 -3) 1 /128.
This exemplary filter is applied to a set of 14 samples at a time to produce one down-sampled value, and is then shifted by four samples and is then applied again. This repeats until L/4 down-sampled values have been generated, where L is the number of initial samples (i.e., pixel values). At the edges of the image data array, reflected data is used for the filter coefficients that extend past the edge of the image data. For instance, at the left (or top) edge of the array, the first six coefficients are applied to reflected data values, tile four "29/128", coefficients are applied to the first four pixel values in the row (or column) being filtered, and the last six coefficients are applied to the next six pixels in the row (or column).
If an image is to be down-sampled by a factor of 8, the above described filter is applied to down-sample by a factor of 4, and then a second filter is applied to further down-sample the image data by another factor of 2. This second filter, in one embodiment, is a FIR filter that has the following filter coefficients:
Filter B = (-3 -4 10 29 29 10 -4 -3) 1/64.
Alternately, a longer filter could be used to achieve the down-sampling by a factor of 8 in one filter pass.
The down-sampling filters described above have the following properties: they are low-pass filters with cut-off frequencies at one quarter and one half the Nyquist frequency, respectively; each filter coefficient is defined by a simple fraction in which the numerator is an integer and the denominator is a positive integer power of 2 (i.e., a number of the form 2N, where N is a positive integer). As a result of these filter properties, the down-sampling can be performed very efficiently while preserving the spatial frequency characteristics of the image and avoiding aliasing effects.
While the order in which the down-sampling filter(s) are applied to an array of image data (i.e., rows and then columns, or vice versa) will affect the specific down-sampled pixel values generated, the effect on the pixel values is not significant. Other down-sampling filters may be used in alternate embodiments.
Wavelet-Like Decomposition Using Edge, Interior and Center Transform Filters
Figure 10A-10C schematically represent the process of performing a wavelet-like decomposition on a set of image data X0 to X^.. to generate a set of coefficients L0 to L^ and H0 to Hn_. where the L coefficients represent the low spatial frequency components of the image data and the H coefficients represent the high spatial frequency components of the image data.
In one embodiment, the wavelet-like transform that is applied is actually two filters. A first filter, Tl, called the edge filter, is used to generate the first two and last two coefficients in the row or column of transform coefficients that are being generated, and a second filter T2, called the interior filter, is used to generate all the other coefficients in the row or column of transform coefficients being generated. The edge filter, Tl is a short filter that is used to transform data at the edges of a tile or block, while the interior filter T2 is a longer filter that is used to transform the data away from the edges of the tile or block. Neither the edge filter nor the interior filter uses data from outside the tile or block. As a result, the working memory required to apply the wavelet-like transform described herein to an array of image data is reduced compared to prior art systems. Similarly, the complexity of the circuitry and/or software for implementing the wavelet-like transform described herein is reduced compared to prior art systems.
In one embodiment, the edge filter includes a first, very short filter (whose "support" covers two to four data values) for generating the first and last coefficients, and a second filter for generating the second and second to last coefficients. The second edge filter has a filter support that extends over three to six data values, and thus is somewhat longer than the first edge filter but shorter than the interior filter T2. The interior filter for generating the other coeffcients typically has a filter support of seven or more data values. The edge filter, especially the first edge filter for generating the first and last high spatial frequency coefficient values, is designed to reduce, or possibly even minimize, edge artifacts while not using any data from neighboring tiles or blocks, at a cost of decreased data compression. Stated in another way, the edge filter of the present invention is designed to ensure accurate reproduction of the edge values of the data array being processed, which in turn reduces, and possibly minimizes, edge artifacts when the image represented by the data array is regenerated.
In one embodiment, the wavelet-like decomposition transform applied to a data array includes a layer 1 wavelet-like transform that is distinct from the wavelet-like transform used when performing layers 2 to N of the transform. In particular, the layer 1 wavelet-like transform uses shorter filters, having shorter filter supports, than the filters used for layers 2 to N. One of the reasons for using a different wavelet-like transform (i.e., a set of transform filters) for layer 1 than for the other layers is to reduce or minimize rounding errors introduced by the addition of a large number of scaled values. Rounding errors, which occur primarily when filtering the raw image data during the layer 1 transform can sometimes cause noticeable degradation in the quality of the image regenerated from the encoded image data.
The equations for the wavelet-like decomposition transform used in the preferred embodiment are presented below.
Layer 1 Forward Wavelet-Like Transform Tl and T2 Forward Transforms (Low Frequency):
-* k ~ "* 2<t " 2*+l k=0,l, ..., n-l
,
X 2k Λ 2ktj+_, + 1
2k+l + +i Λ + - l k=0,l, ..., n-l
Tl Forward Transform (Edge Filter - High Frequency):
- L0 + E! + 1
H0 = Y0 +
- L0 + L2 + 2
H1 = y1 +
Figure imgf000038_0001
Figure imgf000039_0001
T2 Forward Transform (Interior Filter - High Frequency):
3Lk_2-22Lk_,+22Lk+l •3 ,+2+32
Hk =Yk + k=2, ..., n-3 64
Layer 1 Inverse Wavelet-Like Transform Tl Inverse Transform (Edge Filter - High Frequency):
-Lr + L,+1
= H0-
~L0+L2+2
YX=H,-
Figure imgf000039_0002
Figure imgf000039_0003
T2 Inverse Transform (Interior Filter):
Figure imgf000039_0004
Y. + l
- 2i+l = L„ k=0,l, ..., n-l
%2k ~ Yk + x 2k+\ k=0,l, ..., n-l
Forward Wavelet-Like Transform: Layers 2 to N
The equations for one embodiment of the forward wavelet-like decomposition transform for transform levels 2 through N (i.e., all except level 1) are shown next. Note that "2n" denotes the width of the data, as measured in data samples, that is being processed by the transform; "n" is assumed to be a positive integer. The edge filter Tl is represented by the equations for H0, H^, L0, and L^, and has a shorter filter support than the interior filter T2.
In alternative embodiment, the same wavelet-like decomposition transforms are used for all layers. For example, the wavelet-like decomposition transform filters shown here are layers 2 to N would also be used for the layer 1 decomposition (i.e., for filtering the raw image data).
A0 + X2 + 1
H0 - X, (edge filter)
Figure imgf000040_0001
Xn-, + Xn-2 + l
H„ = X (center filter)
llZn,2 + 5 n+1 + 8
(center filter)
2 16 5X„_2 +llXn+1 +8
H„ =X.- (center filter) 16
Hn , - Xn+2 (center filter)
Figure imgf000041_0001
Figure imgf000041_0002
X
H , =X 2n- -3 + *^2π + 1
π„-l 2n-2 (edge filter)
(edge filter)
Figure imgf000041_0003
H0+Hl+2
L- = X2 + (edge filter)
5{Hk_1 +Hk)-Hk_2-Hk+] +8
Lk ~ X2k + 16 k=1 2"3
Figure imgf000041_0004
2H +2H -H„+4
— 2 — 1 -
2 2 2 . = *n-2 + (center filter) 2H„ + 2H - H. + 4
-+ι — 1
2
n-1 + (center filter)
H„ + H„ + 2
-+2
(center filter)
-+1 = *„+3 + 2
Figure imgf000042_0001
H. -2 +#„-. +
-Η-2 = X 2n-3 + (edge filter)
^π-, + 2 7^-ι + 2X2n. ^2„-3 + 3
L„-l - X2n-\ + (edge filter)
8
The general form of the decomposition transform equations, shown above, applies only when n is at least ten. When n is less than ten, some of the equations for terms between the edge and middle terms are dropped because the number of coefficients to be generated is too few to require use of those equations. For instance, when n=8, the two equations for generating Lk will be skipped.
Discussion of Attributes of Transform Filter
It is noted that the edge transform filter Tl for generating L0 and Ln.j has a filter support of just three input samples at the edge of the input data array, and is weighted so that 70% of the value of these coefficients is attributable to the edge value X0 and X^ at the very boundary of the aray of data being filtered. The heavy weighting of the edge input datum (i.e., the sample closest to the array boundary) enables the image to be reconstructed from the transform coefficients substantially without the boundary artifacts, despite the fact that the edge and interior filters are applied only to data within the tile when generating the transform coefficients for the tile. The layer 1 edge transform filter Tl for generating L0 and Ln_. is weighted so that 50% of the value of these coefficients is attributable to the edge value X^ at the very boundary of the data array being filtered.
The interior transform filters in one embodiment are not applied in a uniform manner across the interior of the data array being filtered. Furthermore, the interior filter includes a center filter for generating four high pass and four low pass coefficients at or near the center of the data array being filtered. In alternative embodiments, the center filter may generate as few as two high pass and two low pass coefficients. The center filter is used to transition between the left and right (or upper and lower) portions of the interior filter. The transition between the two forms of the interior filter is herein called "filter switching." One half of the interior filter, excluding the center filter, is centered on even numbered data or coefficient positions while the other half of the interior filter is centered on data at odd data positions. (The even and odd data positions of the array are, of course, alternating data positions.) While the equations as written place the center filter at the middle of the array, the center filter can be positioned anywhere within the interior of the data array, so long as there is a smooth transition between the edge filter and the interior filter. Of course, the inverse transform filter must be defined so as to have an inverse center filter at the same position as the forward transform filter.
Transform Equations for Small data Arrays, for Layers 2 to N
When n is equal to four, the transform to be performed can be represented as: Λ0, Λ,, X2, Λ34, X5,X6, Xη J => (LQ, L, L2, 3;H0, Hχ,H2, H3 ) and the above general set of transform equations is reduced to the following:
X0 + X2+l
H0 -Xx
"llX2+5X5+8"
H! -X3 - 16
Figure imgf000044_0001
Figure imgf000044_0002
"H0+2l > = -^o + 4
2H0+2H1-H2+4~ l=X2 +
8
2H3 + 2H2 H,+4
L2 = Z5 +
H3+2
L3 = Xη +
When n is equal to two, the transform can be represented as:
Figure imgf000044_0003
and the above general set of transform equations is reduced to the following: X0+X3+l
H0 -X, -
X0+X3+l
H, χ2-
Figure imgf000045_0001
L1 =X3 +
Figure imgf000045_0004
Inverse Wavelet-Like Transform: Layers 2toN
The inverse wavelet-like transform for transform layers 2 through N (i.e., all except layer 1), used in one embodiment, are shown next. The general form of the transform equations applied only when n is at least ten. When n is less than ten, some of the equations for terms between the edge and middle terms are dropped because the number of coefficients to be generated is too few to require use of those equations.
Figure imgf000045_0002
Hn + H, + 2
X =L,-
Figure imgf000045_0003
2H„ +2H„ -H +4
— 2 2
2 2H +2H„ + 4
— +1 —-H — 1
2 2 2 χ π+ι -L„
Figure imgf000046_0001
Η„ -2+Hn_, + 2
X 2n-3 = L„
H„ , +2
X 2n-l = L n-l
X0+X2+l
X, = H0 -
9{X 2k + X2k+2j~ X 2k-2 X2k+4 +8 n
^2*+! = Hk + k = l,..., 3
16 2
Xn-3 = Ht + Xn-4 + Xn-2 +1
llXn.2+5Xn_,+8
XB_,=H +
2 16
5Xn_2+llXn_1 +8
X„=H„ +
2 16
Figure imgf000046_0002
9(X2k-l + X2k+l)-X2k-3 ~X2k+3 +8
X2k - Hk + k = - + 2,...,n-2
16 2
X2n-3 + X2n-1 +1
X2n-2 - Hn-1 +
When n is equal to eight, the above general set of inverse transform equations is reduced to the following:
Figure imgf000047_0001
"H0+H,+2~
X2 =L; - 4
~H1+H2+2~
X4 =L2 - 4
~2H2+2H3-H4+4~
X6 =L3 -
8
Figure imgf000047_0002
"X0+X2+l"
X, =H0 + 2
Figure imgf000047_0003
~llX6+5X9+8~
X7 =H3 + 16
Figure imgf000047_0004
"x9+x π+1
X10 =H5 + 2
Figure imgf000048_0001
X13 +X15+l
X14=H7 +
When n is equal to four, the inverse transform to be performed can be represented as: L0, Lj, L2, L3;H0, H,,H2, H3 J => \X0, Xx, X2, X3,X 4, X5, X6, Xη ) and the above general set of inverse transform equations is reduced to the following:
H.+2
X0 ~ )
2H0 + 2H,- -H2 + 4
X2 - ,
8
"3 + 2Η2
X5 -L2 - -Η, + 4'
Η3+2
X7 -L3
X0+X2+l
Xl=H0 +
11X2+5X5 + 8
X3! +
16
5X2+llX5+8
X, H2 +
16
X5+X7+l
X6=H3 +
When n is equal to two, the inverse transform to be performed can be represented as: (L0, L Hj, H- j => (X0, X X2, X3,X4) and the above general set of inverse transform equations is reduced to the following:
Figure imgf000049_0002
X0 + X3 + l
X, H0 +
X0 + X3 + l
X2 = Hj +
In one embodiment, during each layer of the inverse transform process the coefficients at the even positions (i.e., the X^ values) must be computed before the coefficients at the odd positions (i.e., the X2+1 values).
In an alternate embodiment, the short Tl decomposition transform is used to filter all data, not just the data at the edges. Using only short Tl decomposition transform reduces computation time and complexity, but decreases the data compression achieved and thus results in larger image files. Using only short transform also reduces the computation time to decode an image file that contains an image encoded using the present invention, because only the corresponding short Tl reconstruction transform is used during image reconstruction.
Adaptive Blockwise Quantization
Referring to Figure 6, each wavelet coefficient produced by the waveletlike decomposition transform is quantized:
Figure imgf000049_0001
where q is the quantization divisor, and is dequantized:
x = q xq In one embodiment, a quantization table is used to assign each subband of the wavelet coefficients a quantization divisor, and thus controls the compression quality. If five layers of wavelet transforms are performed for luminance values (and four layers for the chrominance values), there are 16 subbands in the decomposition for the luminance values:
LL5 ,HL5 , LH5 ,HH5 ,HL4,LH4,HH4,HL3 ,LH3,HH3 ,HL2,LH2,HH2,HL1,LH1 ,HH| and 13 subbands for the chrominance values: LL4, HL4,LH4,HH4,HL3,LH3,HH3,HL2,LH2,HH2,HL] , LH HHj
One possible quantization table for luminance values is: q=(16, 16, 16, 18, 18, 18, 24, 24, 24, 36, 46, 46, 93, 300, 300, 600) and for the chrominance values: q=(32, 50, 50, 100, 100, 100, 180, 200, 200, 400, 720, 720, 1440).
However, in one embodiment, the quantization factor q is chosen adaptively for each distinct tile of the image, based on the density of image features in the tile. Referring to Figure 4, the entries of subbands are labeled LHk ,HLk and HHk as u ,k) , v and w ^ , respectively .
Referring to Figure 12, the block classifier module computes for each transform layer (e.g., k=l, 2, 3, 4, 5) of the tile a set of block classification values, as follows:
Uk = ∑|u (k) |
Figure imgf000050_0001
Bk = max{Uk ,Vk ,Wk }
Figure imgf000050_0002
Vertical and horizontal lines in the original image will mostly be represented by u(k) and v(k) , respectively. Bk tends to be large if the original image (i.e., in the tile being evaluated by the block classifier) contains many features (e.g., edges and textures). Therefore, the larger the value of Bk, the harder it will be to compress the image without creating compression artifacts.
Using a two-class model, two quantization tables are provided: Q0 = (16, 16, 16, 18, 18, 18, 36, 36, 36, 72, 72, 72 144. 300, 300, 600), Qr - (16, 32, 32, 36, 36, 36, 72, 72, 72, 144, 144, 144, 288, 660, 600, 1200) where Q0 is used for "hard" to compress blocks and Q. is used for "easy" to compress blocks.
Interior tiles (i.e., tiles not on the boundary of the image) are each classified as either "hard" or "easy" to compress based on a comparison of one or more of the Bk values with one or more respective threshold values. For instance, as shown in Figure 12, B. for a tile may be compared with a first threshold TH1 (e.g., 65) (step 271). If B. is greater than the threshold, then the tile is classified as "hard" (step 272). Otherwise, B5 is compared with a second threshold TH2 (e.g., 60) (step 273). If B5 is greater than the second threshold, then the tile is classified as "hard" (step 274), and otherwise it is classified as "easy" (step 275). The wavelet coefficients for the tile are then quantized using the quantization divisors specified by the quantization table corresponding to the block (i.e., tile) classification.
In one embodiment, boundary tiles are classified by comparing Bx with another, high threshold value TH1B, such as 85. Boundary tiles with a B. value above this threshold are classified as "hard" to compress and otherwise are classified as "easy" to compress.
In an alternate embodiment, three or more block classifications may be designated, and a corresponding set of threshold values may be defined. Based on comparison of B_, and /or other ones of the B; values with these thresholds, a tile is classified into one of the designated classifications, and a corresponding quantization table is then selected so as to determine the quantization values to be applied to the subbands within the tile. Sk also tends to be large if the original image contains many features, and therefore in some embodiments k is used instead of Bk to classify image tiles.
Sparse Data Encodingwith Division between Significant and Insignificant Portions
Referring to Figures 13A and 13B, once the transform coefficients for a tile of base image have been generated and quantized, the next step is to encode the resulting coefficients of the tile. A group of computational steps 280 are repeated for each NQS subband. The bitstreams generated by encoding each NQS subband are divided by bit planes and then grouped together to form the bitstreams stored in the image Figures 8A to 8E.
Referring to Figure 13A, the encoding procedure or apparatus determines the maximum bit depth of the block of data in the NQS subband to be encoded (286), which is the maximum number of bits required to encode any of the coefficient values in the block, and is herein called the maximum bit depth, or MaxbitDepth. The value of MaxbitDepth is determined by computing the maximum number of bits required to encode the absolute value of any data value in the block. In particular, MaxbitDepth is equal to int(log2V) + 1, where V is the largest absolute value of any element in the block, and "int()" represents the integer portion of a specified value. The maximum bit depth for each top level block is stored in a corresponding bitstream (e.g., the significant bitstream for the subband group whose coefficients are being encoded). Next, the Block procedure is invoked for the current block (288). A pseudocode representation of the block procedure is shown in Table 2.
Each block contains four subblocks (see Figure 14 A). As shown in Figure 13B, the Block procedure determines the MaxbitDepth for each of the four subblocks of the current block (300). Then, it generates and encodes a MaxbitDepth mask (301). The mask has four bits: m17 m., n^ and m4, each of which is set equal to a predefined value (e.g., 1) only if the MaxbitDepth of the corresponding subblock is equal to the MaxbitDepth m,, of the current (parent) block, and is otherwise set to zero. The mathematical representation of the mask is as follows: mask=(m0== m1)+(m0== m2)+(m0== m3)+(m0== m4) where the "+" in the above equation represents concatenation.
For example, a mask of 1000 indicates that only subblock 1 has a MaxbitDepth equal to the MaxbitDepth of the current block. The value of the mask is between 1 and 15.
The MaxbitDepth mask is preferably encoded using a 15-symbol Huffman table (see Table 1). As shown, the four mask values that correspond to the most common mask patterns, where just one subblock having a MaxbitDepth equal to the MaxbitDepth of the parent block, are encoded with just three bits.
Table 1
Huffman Table for Encoding MaxbitDepth Mask
Mask Huffman Code
0001 111
0010 101
0011 1001
0100 011
0101 0010
0110 10000
0111 01001
1000 110
1001 01000
1010 0001
1011 00110
1100 0101
1101 00111 1110 0000
1111 10001
Encoding Subblock MaxbitDepth Values
In addition, step 301 includes encoding the MaxbitDepth value for each of the subblocks whose MaxbitDepth is not equal to the MaxbitDepth m of the current block. For instance as shown in Figures 14A and 14B, if the MaxbitDepth values for the current block are m., m-, m3, m4 = 5, 0, 3, 2 then the only MaxbitDepth values that need to be encoded are ., m-,, m4, because the MaxbitDepth value of mt is known from the MaxbitDepth mask and the previous stored and encoded value of the MaxbitDepth m,, of the current block.
It should be noted that if m,, = 1, then there is no need to encode the MaxbitDepth values of the subblocks, because those values are known completely from the MaxbitDepth mask.
If mo≠l, then for each m^rc^, the procedure encodes the value m, as follows: π = 0, then the procedure outputs a string of 0's of length π -1 ; and otherwise, the procedure outputs a string of 0's of length rrio-r -l followed by a 1.
For instance, if m0= 5 and m.= 0, then m. is encoded as a string of four 0's: 0000. If 1^=5 and m2=3, then m. is encoded as string of (5 - 3 - 1 = 1) one 0 followed by a 1 : 0 1.
In the example of {m_, m^ m3, m4) = {5, 0, 3, 2}, the MaxbitDepth values are encoded as follows: mask m. Subblock m, Subblock m4 Subblock
111 0000 01 001 Next, if the coefficients of the NQS subband being encoded are to be stored in two or more bitstreams, then the encoded representation of the
MaxbitDepth values for the block is divided into two more portions, with each portion containing the information content for a certain range of bit planes. For ease of explanation, an explanation in detail is provided as to how the
MaxbitDepth values and mask and coefficient values are split between two portions, herein called the significant and insignificant portions. The same technique is used to split these values between three bit plane ranges corresponding significant, mid-significant and insignificant for least significant) portions.
For each NQS subband, excluding the last group of NQS subbands, the coefficient bit planes are divided into two or three ranges. When there are two bit plane ranges, a bit plane threshold that divided the two ranges is chosen or predefined. The "insignificant" portion of each "coefficient value" (including its MaxbitDepth value) below the bit plane threshold is stored in an "insignificant" bitstream 206 (see Figure 8D), and the rest of the coefficient is stored in the corresponding significant bitstream 206. Selection of the bit plane ranges is typically done on an experimental basis, but encoding numerous images using various bit plane ranges, and then selecting a set of bit plane ranges that, on average, achieves specified division of data between the bitstreams for the various resolution levels. For example, the specified division may be an approximately equal division of data between the bitstream for a first resolution level and the next resolution level. Alternately, the specified division may call for the bitstreams for a second resolution level to contain four times as much data as the bitstreams for a first (lower) resolution level.
The splitting of MaxbitDepth values between significant and insignificant portions will be addressed initially, and then the encoding and splitting of coefficient values for minimum size blocks will be addressed. If the MaxbitDepth π^ of a block is less than the threshold, the MaxbitDepth mask and every bit of the MaxbitDepth values for the subblocks are stored in the insignificant portion of the base image subfile. Otherwise, the MaxbitDepth mask is stored in the significant part, and then each of the encoded subblock MaxbitDepth values are split between significant and insignificant parts as follows. This splitting is handled as follows mι > threshold, the entire encoded MaxbitDepth value m, is included in the significant portion of the subimage subfile. Otherwise, the first m„ threshold bits of each MaxbitDepth value m., excluding m= π^., are stored in the significant portion of the subimage subfile and the remaining bits of each mι (if any) are stored in the insignificant portion of the subimage subfile.
If the bit planes of the coefficients are to be divided into three ranges, then two bit plane thresholds are chosen or predefined, and the MaxbitDepth mask and values are allocated among three bitstreams using the same technique as described above.
Encoding Coefficient Values for Minimum Size Block
Next, if the size of the current block (i.e., the number of coefficient values in the current block) is not a predefined minimum number (302-No), such as four, then the Block procedure is called for each of the four subblocks of the current block (303). This is a recursive procedure call. As a result of calling the Block procedure on a subblock, the MaxbitDepth mask and values for the subblock are encoded and inserted into the pair of bitstreams for the subband group being encoded. If the subblock is not of the predefined minimum size, then the Block procedure is recursively called on its subblocks, and so on.
When a block of the predefined minimum size is processed by the block procedure (302- Yes), after the MaxbitDepth mask for the block and the MaxbitDepth values of the subblocks have been encoded (301), the coefficients of the block are encoded, and the encoded values are split between significant and insignificant parts (304).
Each coefficient that is not equal to zero includes a POS /NEG bit to indicate its sign, as well as a MaxbitDepth number of additional bits. Further, the MSB (most significant bit) of each non-zero coefficient, other than the sign bit, is already known from the MaxbitDepth value for the coefficient, and in fact is known to be equal to 1. Therefore, this MSB does not need to be encoded (or from another viewpoint, it has already been encoded with the MaxbitDepth value).
For each coefficient of a minimum size block, if the MaxbitDepth of the coefficient is less than the threshold, then all the bits of the coefficient, including its sign bit, are in the insignificant portion. Otherwise, the sign bit is in the significant portion, and furthermore the most significant bits (MSG's), if any, above the threshold number of least significant bits (LSB's), are also included in the significant portion. In other words, the bottom "threshold" number of bits are allocated to the insignificant portion. However, if the MaxbitDepth is equal to the threshold, the sign bit is nevertheless allocated to the significant portion and the remaining bits are allocated to the insignificant portion.
Furthermore, as noted above, since the MSE of the absolute value of each coefficient is already known from the MaxbitDepth mask and values, that bit is not stored. Also, coefficients with a value of zero are not encoded because their value is fully known from the MaxbitDepth value of the coefficient, which is zero.
For example (see Figure 14C), consider four coefficients {31, 0, -5, -2} of a block whose values are with binary values are POS 11111, 0, NEG 101, NEG 10, and a threshold value of 3. First the zero value coefficients and the MSB's of the non-zero coefficient are eliminated to yield: POS 1111, NEG 01, NEG 0. Then the threshold number of least significant bits (other than sign bits) are allocated to the insignificant portion and the rest are allocated to the significant portion as follows: significant portion: POS 1, NEG insignificant portion: 111, 01, NEG 0.
The significant portion contains the most significant bits of the 31 and -5 coefficient values, while the insignificant portion contains the remaining bits of the 31 and -5 coefficient values and all the bits of the -2 coefficient value.
Table 2 Pseudocode for Block Encoding Procedure
//Encode MaxbitDepth m, for each subblock i:
Determine MaxbitDepth m, for each subblock i =1, 2, 3, 4 mask=(m0==m1)+( mO--m2)+( m0==m3)+( m0==m4)
//where the "+" in the above equation represents concatenation
Encode and store mask using Huffman table
For i=l to 4{ If m.≠m,, { if mi=0 { output a string of m,, 0's } else { //m,≠0 output a string of m0-mι 0's, followed by a 1 }
/ / Divide the encoded MaxbitDepth mask and MaxbitDepth between / / significant and insignificant portions as follows: If m0<threshold { output the MaxbitDepth mask and MaxbitDepth values to insignificant bitstream } else { output the MaxbitDepth mask to significant bitstream; for i = 1 to 4 { if m =1^ {output nothing for that mj else { if m > threshold { output mL to significant bitstream } else { output the first m0-threshold bits of m, to the significant bitstream and output the remaining bits of mι (if any) in the insignificant bitstream }
/ / Encode Coefficient values if block is of minimum size If size of current block is > minimum block size {
/ / coefficient values are denoted as ς for i = 1 to 4 { Call Block(subblock i);
} else { / / size of current block is ≤minimum block size
C = number of coefficients in block; / / if block size is already known, skip this step for i=l to C { if m^threshold { output all bits of c. to insignificant bitstream;
} else { output sign(ς) to the significant bitstream; if mι > threshold {
#M = m, - threshold - 1; / / #M > 0 output the #M most significant bits to the significant bitstream;
} output all remaining least significant bits of c, to the insignificant bitstream;
} } / / end of coefficient processing loop } / / end of main else clause } / / end of procedure
Return
As discussed above, if the bit planes of the coefficients are to be divided into three ranges, then two bit plane thresholds are chosen or predefined, and the encoded coefficient values are allocated among three bitstreams using the same technique as described above.
Image Reconstruction
To reconstruct an image from an image file, at a specified resolution level that is equal to or lower than the resolution level at which the base image in the file was encoded, each bitstream of the image file up to the specified resolution level is decompressed and dequantized. Then, on a tile by tile basis the reconstructed transform coefficients are inverse transformed to reconstruct the image data at specified resolution level.
Referring to Figure 15 the image reconstruction process reconstructs an image from image data received from an image file (320). A user of the procedure or device performing the image reconstruction, or a control procedure operating on behalf of a user, selects or specifies a resolution level R that is equal to or less than the highest resolution level included in the image data (322). A header of the image data file is read to determine the number and arrangement of tiles (L, K) in the image, and other information that may be needed by the image reconstruction procedure (323). Steps 324 and 326 reconstruct the image at the given resolution level, and at step 328 the reconstructed image is displayed or stored in a memory device. Figures 16A and 16B provide a more detailed view of the procedure for decoding the data for a particular tile at a particular subimage level.
In one embodiment, as shown in Figure 15, the data in the image file relevant to the specified resolution level is initially reorganized into tile by tile subfiles, with each tile subfile containing the bitstreams for that tile (324). Then, the data for each tile is processed (326). The header information is read to determine the MaxbitDepth for each top level subband block of the tile, the quantization factor used to quantize each subimage subband, and the like. The transform coefficients for each NQS subband required to reconstruct the image at the specified resolution level are decoded, in subband order. The details of the decoding process for decoding the coefficients in any one NQS subband are discussed below with reference to Figure 16B. The resulting decoded coefficients are de-quantized applying the quantization factors for each subband (obtained from the Q table identified in the base image header). Then an inverse transform is applied to the resulting de-quantized coefficients. Note that the wavelet-like inverse transforms for reconstructing an image from the dequantized transform coefficients have been described above.
Referring to Figure 16A, to decode the data for one tile t at a specified resolution level, a set of steps 340 are repeated to decode each NQS subband of the tile, excluding those NQS subbands not needed for the specified resolution level and also excluding any bitstreams containing bit planes of encoded coefficient values not needed for the specified resolution level. Referring to Figures 8D and 8E, only the bitstreams of the base image needed to the specified resolution level are decoded. For a particular top level block (corresponding to a NQS subband) of the tile being decoded, the MaxbitDepth of the top level block is determined from either the header of the tile array (if the data has been reorganized into tile arrays) or from the data at the beginning of the bitstream(S) for the subband (346), and then the Decode-Block procedure is called to decode the data for the current block (348).
After the data for a particular subband has been decodeed, the decoded transform coefficients for that subband may be de-quantized, applying the respective quantization factor for the respective (350). Alternately, de- quantization can be performed after all coefficients for all the subband have been decoded.
Once all the coefficients for the NQS subbands have been decoded and de-quantized, an inverse transform is performed so as to regenerate the image data for the current tile t at the specified resolution level (352).
In an alternate embodiment, step 324 of Figure 15 is not used and the data in the image file is not reorganized into tile arrays. Rather, the image data is processed on a subband group by subband group basis, requiring the recovered transform coefficients for all the tiles to be accumulated and stored during the initial reconstruction steps. The steps 340 for decoding the data for one top level block of a particular tile for a particular subband group are repeated for each tile. In particular, for a particular top level block of a particular tile of a particular subband group, the MaxbitDepth of the top level block is determined from either the header of the tile array or from the data at the beginning of the bitstream(s) for the subband group (346), and then the Decode-Block procedure is called to decode the data for the current block (348).
Referring to Figure 16B, the Decode-Block procedure (which is applicable to both the preferred and alternate embodiments mentioned in the preceding paragraphs) begins by decoding the MaxbitDepth data in the applicable encoded data array so as to determine the MaxbitDepth of each subblock of the current block (360). Depending on the NQS subband being decoded, the MaxbitDepth data for a block may be in one bitstream or may be split between two or three bitstreams, as described above, and therefore the applicable MaxbitDepth data bits from all required bitstreams will be read and decoded. If the size of the current block is greater than a predefined minimum block size (362-No), then the Decode-Block procedure is called for each of the subblocks of the current block (363). This is a recursive procedure call. As a result of calling the Decode-Block procedure on a subblock, the MaxbitDepth values for the subblock are decoded. If that subblock is not of the predefined minimum size, then the Decode-Block procedure is recursively called on its subblocks, and so on. When a block of the predefined minimum size is processed by the Decode-Block procedure (362- Yes), the coefficients of the block are decoded. Depending on the subband group being decoded, the encoded coefficients for a block may be in one bitstream or maybe split between two or three bitstreams, as described above, and therefore the applicable, data bits from all required bitstreams will be read and decoded. Referring to Figure 16 A, the quantized transform coefficients for each tile are regenerated for all NQS subbands included in the specified resolution level. After these coefficients have been de-quantized, the inverse transform is applied to each tile (352), as already described.
Embodiment Using Non-Alternating Horizontal and Vertical Transforms
In another embodiment, each tile of the image is first processed by multiple (e.g., five) horizontal decomposition transform layers and then by a similar number of vertical decomposition transform layers. Equivalently, the vertical transform layers could be applied before the horizontal transform layers. In hardware implementations of the image transformation methodology described herein, this change in the order of the transform layers has the advantage of either (A) reducing the number of times the data array is rotated, or (B) avoiding the need for circuitry that switches the roles of rows and columns in the working image array (s). When performing successive horizontal transforms, the second horizontal transform is applied to the leftmost array of low frequency coefficients generated by the first horizontal transform, and the third horizontal transform is applied to the leftmost array of low frequency coefficients generated by the second horizontal transform, and so on. Thus, the second through Nth horizontal transforms are applied to twice as much day as in the transform method in which the horizontal and vertical transforms alternate. However, this extra data processing generally does not take any additional processing time in hardware implementations because in such implementations the horizontal filter is applied simultaneously to all rows of the working image array. The vertical transforms are applied in succession to successively smaller subarrays of the working image array. After the image data has been transformed by all the transform layers to (both horizontal and vertical), the quantization and encoding steps described above are applied to the resulting transform coefficients to complete the image encoding process.
As explained above, different (and typically shorter) transform filters may be applied to coefficients near the edges of the arrays being processed than the (typically longer) transform filter applied to coefficients away from those array edges. The use of longer transform filters in the middle provides better data compression than the shorter transform filters, while the shorter transform filters eliminate the need for data and coefficients from neighboring tiles.
Digital Camera Architecture
Referring to Figure 17, there is shown an embodiment of a digital camera system 400. The digital camera system 400 includes an image capture device 402, such as a CCD or CMOS sensor array or any other mechanism suitable for capturing an image as an array of digitally encoded information. The image capture device is assumed to include analog to digital conversion (ADC) circuitry for converting analog image information into digital values. A working memory 404, typically random access memory, receives digitally encoded image information from the image capture device 402. More generally, it is used to store a digitally encoded image while the image is being transformed and compressed and otherwise processed by the camera's data (i.e., image) processing circuitry 406. In one embodiment, the data processing circuitry 406 consists of hardwired logic and a set of state machines for performing a set of predefined image processing operations.
In alternate embodiments, the data processing circuitry 406 could be implemented in part or entirely using a fast general purpose microprocessor and a set of software procedures. However, at least using the technology available in 2000, it would be difficult to process and store full resolution images (e.g., full color images having 1280 x 840 pixels) fast enough to enable the camera to be able to take, say, 20 pictures per second, which is a requirement for some commercial products. If, through the use of parallel processing techniques or well designed software, a low power, general purpose image data microprocessor could support the fast image processing needed by digital cameras, then the data processing circuit 106 could be implemented using such a general purpose microprocessor.
Each image, after it has been processed by the data processing circuitry 406, is typically stored as an "image file" in a nonvolatile memory storage device 408, typically implemented using "flash" (i.e., EEPROM) memory technology. The nonvolatile memory storage device 408 is preferably implemented as a removable memory card. This allows the camera's user to remove one memory card, plug in another, and then take additional pictures. However, in some implementations, the nonvolatile memory storage device 408 may not be removable, in which case the camera will typically have a data access port 410 to enable the camera to transfer image files to and from other devices, such as general purpose, desktop computers. Digital cameras with removable nonvolatile memory 408 may also include a data access port. The digital camera 400 includes a set of buttons 412 for giving commands to the camera. In addition to the image capture button, there will typically be several other buttons to enable the use to select the quality level of the next picture to be taken, to scroll through the images in memory for viewing on the camera's image viewer 414, to delete images from the nonvolatile image memory 408, and to invoke all the camera's other functions. Such other functions might include enabling the use of a flash light source, and transferring image files to and from a computer. In one embodiment, the buttons are electromechanical contact switches, but in other embodiments at least some of the buttons may be implemented as touch screen buttons on a user interface display 416, or on the image viewer 414.
The user interface display 416 is typically implemented either (A) as an LCD display device separate from the image viewer 414, or (B) as images displayed on the image viewer 414. Menus, user prompts, and information about the images stored in the nonvolatile image memory 108 may be displayed on the user interface display 416, regardless of how that display is implemented.
After an image has been captured, processed and stored in nonvolatile image memory 408, the associated image file may be retrieved from the memory 408 for viewing on the image viewer. More specifically, the image tile is converted from its transformed, compressed form back into a data array suitable for storage in a framebuffer 418. The image data in the framebuffer is displayed on the image viewer 414. A date /time circuit 420 is used to keep track of the current date and time, and each stored image is date stamped with the date and time that the image was taken.
Still referring to Figure 17, the digital camera 400 preferably includes data processing circuitry for performing a predefined set of primitive operations, such as performing, the multiply and addition operations required to apply a transform to a certain amount of image data as well as a set of state machines 430-442 for controlling the data processing circuitry so as to perform a set of predefined image handling operations. In one embodiment, the state machines in the digital camera are as follows:
One or more state machines 430 for transforming, compressing and storing an image received from the camera's image capture mechanism. This image is sometimes tilled the "viewfinder" image, since the image being processed is generally the one seen, on the camera's image viewer 414. This set of state machines 430 are the ones that each image file stored in the nonvolatile image memory 408. Prior to taking the picture, the user specifies the quality level of the image to be stored using the camera's buttons 412. In one embodiment, the image encoding state machines 430 implement one or more features described above.
One or more state machines 432 for decompressing, inverse transforming and displaying a stored image tile on the camera's image viewer. The reconstructed image generated by decompressing, inverse transforming and dequantizing the image data is stored in camera's framebuffer 418 so that it can be viewed on the image viewer 414.
One or more state machines 434 for updating and displaying a count of the number of images stored in the nonvolatile image memory 408. The image count is preferably displayed on the user interface display 416. This set of state machines 434 will also typically indicate what percentage of the nonvolatile image memory 408 remains unoccupied by image files, or some other indication of the camera's ability to store additional images. If the camera does not have a separate interface display 416, this memory status information may be shown on the image viewer 414, for instance superimposed on the image shown in the image viewer 414 or shown in a region of the viewer 414 separate from the main viewer image.
One or more state machines 436 for implementing a "viewfinder" mode for the camera in which the image currently "seen" by the image capture mechanism 402 is displayed on the image viewer 414 so that the user can see the image that would be stored if the image capture button is pressed. These state machines transfer the image received from the image capture device 402, possibly after appropriate remedial processing steps are performed to improve the raw image data, to the camera's framebuffer 418.
One or more state machines 438 for downloading images from the nonvolatile image memory 408 to an external device, such as a general purpose computer (one or more state machines 440 for uploading images from an external device, such as a general purpose computer, into the nonvolatile image memory 408. This enables the camera to be used as an image viewing device, and also as a mechanism for transferring image files on memory cards.
Alternate Embodiments
Generally, the present invention is useful in any "memory conservative" context where the amount of working memory available is insufficient to process entire images as a single tile, or where a product must work in a variety of environments including low memory environments, or where an image may need to be conveyed over a low bandwidth communication channel or where it may be necessary or convenient to providing image at a variety of resolution levels.
In streaming data implementations, such as in a web browser that receives compressed images encoded using the present invention, subimages of an image may be decoded and decompressed on the fly, as the data for other higher level subimages of the image are being received. As a result, one or more lower resolution versions of the compressed image may be reconstructed and displayed before the data for the highest resolution version of the image is received (and/or decoded) over a communication channel.
In another alternate embodiment, a different transform than the wavelet-like transform described above could be used. In alternate embodiments, the image tiles could be processed in a different order. For instance, the image tiles could be processed from right to left instead of left to right. Similarly, image tiles could be processed starting at the bottom row and proceeding toward the top row.
The present invention can be implemented as a computer program product that includes a computer program mechanism embedded in a computer readable storage medium. For instance, the computer program product could contain the program modules shown in Figure 5. These program modules may be stored on a CD-ROM, magnetic disk storage product, or any other computer readable data or program storage product. The software modules in the computer program product may also be distributed electronically, via the Internet or otherwise, by transmission of a computer data signal (in which the software modules are embedded) on a carrier wave.
While the present invention has been described with reference to a few specific embodiments, the description is illustrative of the invention and is not to be construed as limiting the invention. Various modifications may occur to those skilled in the art without departing from the true spirit and scope of the invention as defined by the appended claims.
Whereas many alterations and modifications of the present invention will no doubt become apparent to a person of ordinary skill in the art after having read the foregoing description, it is to be understood that any particular embodiment shown and described by way of illustration is in no way intended to be considered limiting. Therefore, references to details of various embodiments are not intended to limit the scope of the claims which in themselves recite only those features regarded as essential to the invention.

Claims

CLAIMSWe claim:
1. A method comprising: displaying a first image at a first resolution level; identifying a location in the first image; and generating a second image for display at a second resolution level different than the first resolution level in response to user input via a user input mechanism, wherein generating the second image comprises combining data from the first image with additional image data, and further wherein the second resolution level is dependant on a number of utilizations of the user input mechanism.
2. The method defined in Claim 1 wherein identifying the location comprises positioning a cursor over the location.
3. The method defined in Claim 1 wherein each utilization of the user input mechanism comprises a mouse click.
4. The method defined in Claim 3 wherein the second resolution level increases with an increase in the number of mouse clicks.
5. The method defined in Claim 1 wherein each utilization of the user input mechanism comprises depressing a key on a keyboard.
6. The method defined in Claim 1 wherein each utilization of the user input mechanism comprises pressing a button.
7. The method defined in Claim 1 wherein each utilization of the user input mechanism comprises touching a display screen.
8. The method defined Claim 1 where the first image is a thumbnail image.
9. The method defined in Claim 1 further comprising accessing the additional image data over a network via a network connection.
10. The method defined in Claim 9 further comprising decompressing the additional image data.
11. The method defined in Claim 1 further comprising displaying the first and second images in a viewing window.
12. The method defined in Claim 11 wherein the viewing window comprises a browser window.
13. An article of manufacture comprising at least one recordable medium having executable instructions stored therein which, when executed by a system, cause the system to: display a first image at a first resolution level; identify a location in the first image; and generate a second image for display at a second resolution level different than the first resolution level in response to user input via a user input mechanism, wherein generating the second image comprises combining data from the first image with additional image data ,and further wherein the second resolution level is dependant on a number of utilizations of the user input mechanism.
14. The article of manufacture defined in Claim 13 wherein each utilization of the user input mechanism comprises a mouse click.
15. The article of manufacture defined in Claim 14 wherein the second resolution level increases with an increase in the number of mouse clicks.
16. The article of manufacture defined in Claim 13 wherein each utilization of the user input mechanism comprises depressing a key on a keyboard.
17. The article of manufacture defined in Claim 13 wherein each utilization of the user input mechanism comprises pressing a button.
18. The article of manufacture defined in Claim 13 wherein each utilization of the user input mechanism comprises touching a display screen.
19. The article of manufacture defined Claim 13 where the first image is a thumbnail image.
20. The article of manufacture defined in Claim 13 wherein the second image is generated by combining data from the first image with additional image data.
21. The article of manufacture defined in Claim 20 wherein the executable instructions further comprises instructions, when executed by the machine, to access the additional image data over a network via a network connection.
22. The article of manufacture defined in Claim 21 wherein the executable instructions further comprises instructions, when executed by the machine, to decompress the additional image data.
23. The article of manufacture defined in Claim 13 wherein the executable instructions further comprises instructions, when executed by the machine, to display the first and second images in a viewing window.
24. The article of manufacture defined in Claim 23 wherein the viewing window comprises a browser window.
25. An apparatus comprising: means for displaying a first image at a first resolution level; means for identifying a location in the first image; and means for generating a second image for display at a second resolution level different than the first resolution level in response to user input via a user input mechanism, wherein generating the second image comprises combining data from the first image with additional image data, and further wherein the second resolution level is dependant on a number of utilizations of the user input mechanism.
26. The apparatus defined in Claim 25 wherein each utilization of the user input mechanism comprises a mouse click.
27. The apparatus defined in Claim 26 wherein the second resolution level increases with an increase in the number of mouse clicks.
28. The apparatus defined in Claim 25 wherein each utilization of the user input mechanism comprises depressing a key on a keyboard.
29. The apparatus defined in Claim 25 wherein each utilization of the user input mechanism comprises pressing a button.
30. The apparatus defined in Claim 25 wherein each utilization of the user input mechanism comprises touching a display screen.
31. The apparatus defined in Claim 25 wherein the means for generating the second image comprises means for combining data from the first image with additional image data.
32. The apparatus defined in Claim 31 further comprising means for accessing the additional image data over a network via a network connection.
33. A method for panning images comprising: displaying a first image at a first resolution level in a display window; identifying a panning direction in the first image; moving the image data in the display window in a direction opposite to the panning direction, including creating an area in the display window to display of another portion of the first image; and generating image data for display in the area of the display window, wherein generating the image data comprises combining data from the first image with additional image data.
34. The method defined in Claim 33 wherein identifying the location comprises moving a cursor in the panning direction.
35. An apparatus for panning images comprising: means for displaying a first image at a first resolution level in a display window; means for identifying a panning direction in the first image; means for moving the image data in the display window in a direction opposite to the panning direction, including means for creating an area in the display window to display of another portion of the first image; and means for generating image data for display in the area of the display window, wherein the means for generating the image data comprises means for combining data from the first image with additional image data.
36. The apparatus defined in Claim 35 wherein the means for identifying the location comprises means for moving a cursor in the panning direction.
PCT/US2001/008375 2000-03-15 2001-03-14 System and method for efficient transmission and display of image details by re-usage of compressed data WO2001069585A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2001249219A AU2001249219A1 (en) 2000-03-15 2001-03-14 System and method for efficient transmission and display of image details by re-usage of compressed data

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
US18941800P 2000-03-15 2000-03-15
US60/189,418 2000-03-15
US09/687,467 US6549674B1 (en) 2000-10-12 2000-10-12 Image compression based on tiled wavelet-like transform using edge and non-edge filters
US09/687,467 2000-10-12
US09/808,476 2001-03-13
US09/808,476 US20020021758A1 (en) 2000-03-15 2001-03-13 System and method for efficient transmission and display of image details by re-usage of compressed data

Publications (1)

Publication Number Publication Date
WO2001069585A1 true WO2001069585A1 (en) 2001-09-20

Family

ID=27392586

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2001/008375 WO2001069585A1 (en) 2000-03-15 2001-03-14 System and method for efficient transmission and display of image details by re-usage of compressed data

Country Status (2)

Country Link
AU (1) AU2001249219A1 (en)
WO (1) WO2001069585A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1347412A1 (en) * 2002-03-20 2003-09-24 Airbus France Apparatus for visualizing an airport
EP1349364A2 (en) * 2002-03-26 2003-10-01 Eastman Kodak Company Method for providing enhanced image access and viewing using a portable imaging device
WO2003088652A1 (en) * 2002-04-09 2003-10-23 Sonic Solutions End-user-navigable set of zoomed-in images derived from a high-resolution master image
WO2005076590A1 (en) * 2004-02-10 2005-08-18 Smallteck S.N.C. Di F. Maringelli & Co. Method and device for the transmission of images to devices provided with small displays
US7146179B2 (en) 2002-03-26 2006-12-05 Parulski Kenneth A Portable imaging device employing geographic information to facilitate image access and viewing
EP1919183A3 (en) * 2006-10-27 2008-06-18 Ricoh Company, Ltd. Systems and methods for serving documents from a multifunction peripheral
US9787799B2 (en) 2014-02-27 2017-10-10 Dropbox, Inc. Systems and methods for managing content items having multiple resolutions
WO2019111014A1 (en) * 2017-12-06 2019-06-13 V-Nova International Limited Image processing
US10885104B2 (en) 2014-02-27 2021-01-05 Dropbox, Inc. Systems and methods for selecting content items to store and present locally on a user device
US10983677B2 (en) 2018-11-16 2021-04-20 Dropbox, Inc. Prefetching digital thumbnails from remote servers to client devices based on a dynamic determination of file display criteria
US11151036B2 (en) 2015-10-29 2021-10-19 Dropbox, Inc. Providing a dynamic digital content cache

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4503427A (en) * 1980-10-31 1985-03-05 Tokyo Shibaura Denki Kabushiki Kaisha Apparatus for displaying stored picture information in association with a cursor
US5754161A (en) * 1995-01-30 1998-05-19 Mitsubishi Denki Kabushiki Kaisha Graphic display scrolling apparatus
US5796401A (en) * 1996-08-09 1998-08-18 Winer; Peter W. System for designing dynamic layouts adaptable to various display screen sizes and resolutions
US5969706A (en) * 1995-10-16 1999-10-19 Sharp Kabushiki Kaisha Information retrieval apparatus and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4503427A (en) * 1980-10-31 1985-03-05 Tokyo Shibaura Denki Kabushiki Kaisha Apparatus for displaying stored picture information in association with a cursor
US5754161A (en) * 1995-01-30 1998-05-19 Mitsubishi Denki Kabushiki Kaisha Graphic display scrolling apparatus
US5969706A (en) * 1995-10-16 1999-10-19 Sharp Kabushiki Kaisha Information retrieval apparatus and method
US5796401A (en) * 1996-08-09 1998-08-18 Winer; Peter W. System for designing dynamic layouts adaptable to various display screen sizes and resolutions

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7345693B2 (en) 2002-03-20 2008-03-18 Airbus France Airport display device
EP1347412A1 (en) * 2002-03-20 2003-09-24 Airbus France Apparatus for visualizing an airport
US6927782B2 (en) 2002-03-20 2005-08-09 Airbus France Airport display device
US7230632B2 (en) 2002-03-20 2007-06-12 Airbus France Airport display method including changing zoom scales
FR2837591A1 (en) * 2002-03-20 2003-09-26 Airbus France AIRPORT VISUALIZATION DEVICE
EP1349364A3 (en) * 2002-03-26 2003-11-12 Eastman Kodak Company Method for providing enhanced image access and viewing using a portable imaging device
US7146179B2 (en) 2002-03-26 2006-12-05 Parulski Kenneth A Portable imaging device employing geographic information to facilitate image access and viewing
EP1349364A2 (en) * 2002-03-26 2003-10-01 Eastman Kodak Company Method for providing enhanced image access and viewing using a portable imaging device
US7343052B2 (en) 2002-04-09 2008-03-11 Sonic Solutions End-user-navigable set of zoomed-in images derived from a high-resolution master image
WO2003088652A1 (en) * 2002-04-09 2003-10-23 Sonic Solutions End-user-navigable set of zoomed-in images derived from a high-resolution master image
WO2005076590A1 (en) * 2004-02-10 2005-08-18 Smallteck S.N.C. Di F. Maringelli & Co. Method and device for the transmission of images to devices provided with small displays
EP1919183A3 (en) * 2006-10-27 2008-06-18 Ricoh Company, Ltd. Systems and methods for serving documents from a multifunction peripheral
US11943320B2 (en) 2014-02-27 2024-03-26 Dropbox, Inc. Systems and methods for managing content items having multiple resolutions
US10594834B2 (en) 2014-02-27 2020-03-17 Dropbox, Inc. Systems and methods for managing content items having multiple resolutions
US10885104B2 (en) 2014-02-27 2021-01-05 Dropbox, Inc. Systems and methods for selecting content items to store and present locally on a user device
US11025746B2 (en) 2014-02-27 2021-06-01 Dropbox, Inc. Systems and methods for managing content items having multiple resolutions
US11483417B2 (en) 2014-02-27 2022-10-25 Dropbox, Inc. Systems and methods for managing content items having multiple resolutions
US9787799B2 (en) 2014-02-27 2017-10-10 Dropbox, Inc. Systems and methods for managing content items having multiple resolutions
US11151036B2 (en) 2015-10-29 2021-10-19 Dropbox, Inc. Providing a dynamic digital content cache
US11797449B2 (en) 2015-10-29 2023-10-24 Dropbox, Inc. Providing a dynamic digital content cache
WO2019111014A1 (en) * 2017-12-06 2019-06-13 V-Nova International Limited Image processing
CN111699691A (en) * 2017-12-06 2020-09-22 威诺瓦国际有限公司 Image processing
US10983677B2 (en) 2018-11-16 2021-04-20 Dropbox, Inc. Prefetching digital thumbnails from remote servers to client devices based on a dynamic determination of file display criteria

Also Published As

Publication number Publication date
AU2001249219A1 (en) 2001-09-24

Similar Documents

Publication Publication Date Title
US6978049B2 (en) Multi-resolution image data management system and method based on tiled wavelet-like transform and sparse data coding
US20020021758A1 (en) System and method for efficient transmission and display of image details by re-usage of compressed data
US6873343B2 (en) Scalable graphics image drawings on multiresolution image with/without image data re-usage
US6904176B1 (en) System and method for tiled multiresolution encoding/decoding and communication with lossless selective regions of interest via data reuse
EP0864135B1 (en) Storage and retrieval of large digital images
US6476805B1 (en) Techniques for spatial displacement estimation and multi-resolution operations on light fields
EP1072015B1 (en) Multiresolution compressed image management system and method
US7068849B2 (en) Method and apparatus for compression using reversible wavelet transforms and an embedded codestream
US6195465B1 (en) Method and apparatus for compression using reversible wavelet transforms and an embedded codestream
US7492955B2 (en) Method and apparatus for compression using reversible wavelet transforms and an embedded codestream
WO2000005680A1 (en) Memory saving wavelet-like image transform system and method for digital camera and other memory conservative applications
WO2001080561A1 (en) System and method for the lossless progressive streaming of images over a communication network
GB2303031A (en) Reversible wavelet transform and embedded codestream manipulation
WO2001069585A1 (en) System and method for efficient transmission and display of image details by re-usage of compressed data
US7630568B2 (en) System and method for low-resolution signal rendering from a hierarchical transform representation
Siddeq Novel methods of image compression for 3D reconstruction
Ansari et al. Jpeg and jpeg2000
CA2236943C (en) Storage and retrieval of large digital images

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP