USRE39237E1 - Interpolation method for binary image - Google Patents
Interpolation method for binary image Download PDFInfo
- Publication number
- USRE39237E1 USRE39237E1 US10/012,527 US1252701A USRE39237E US RE39237 E1 USRE39237 E1 US RE39237E1 US 1252701 A US1252701 A US 1252701A US RE39237 E USRE39237 E US RE39237E
- Authority
- US
- United States
- Prior art keywords
- pixels
- value
- pixel
- threshold
- values
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000005070 sampling Methods 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 11
- 230000000903 blocking effect Effects 0.000 abstract description 8
- 238000009499 grossing Methods 0.000 abstract description 7
- 238000006243 chemical reaction Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4007—Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
Definitions
- the shape information which refers to object information of the image, is expressed as a binary image.
- MPEG-4 adopts a context-based arithmetic encoder (CAE).
- CAE context-based arithmetic encoder
- For lossy shape coding a down sampling method and an up sampling method are performed in each macro block of binary shape.
- a shape image is divided into shape blocks having an M ⁇ M size.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Dot-Matrix Printers And Others (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
An improved interpolation method in which a threshold value used for determining a pixel value of a pixel generated by interpolation according to a context which is a state value of adjacent pixels. In the interpolation method, the ambiguity between the interpolation value and the threshold value is removed by using the context, thereby reducing the blocking and smoothing phenomena in the restored binary image.
Description
This is a continuation of U.S. patent application Ser. No. 08/979,107, filed Nov. 26, 1997, now U.S. Pat. No. 6,002,812, and claims priority to Korean Patent Application Nos. 97-32102, 97-51105, and 97-54869 filed in Korea on Jul. 10, 1997, Oct. 4, 1997, and Oct. 24, 1997, respectively, all of which are herein incorporated by reference.
1. Field of the Invention
The present invention relates to an interpolation method for a binary image, and more particularly, to an improved interpolation method in which a variable threshold value used for determining a pixel value to be generated by interpolation is determined according to a context (the state value of adjacent pixels). This invention has been adopted in ISO/IEC JTC1/SC29/WG11 N1903 (ISO/IEC 14496-2 (Subpart 7 Committee Draft).
2. Description of the Related Art
Recently, a function for processing shape information has been added to MPEG-4. The shape information, which refers to object information of the image, is expressed as a binary image. To code such a binary image, MPEG-4 adopts a context-based arithmetic encoder (CAE). For lossy shape coding a down sampling method and an up sampling method are performed in each macro block of binary shape. A shape image is divided into shape blocks having an M×M size.
The down sampling refers to a method for reducing the binary image block according to a given conversion ratio. The reduced image block is transmitted together with the conversion ratio. Here, the conversion ratio is determined such that an error between the original binary image block and an binary image block restored later is within a predetermined range.
The reduced image block obtained by the down sampling is coded by a CAE and then transmitted.
The up sampling method is used to restore such a reduced image block. Up sampling is for restoring the reduced image block into block with the size of the original binary image block, by interpolation.
In such an up sampling process, an effective interpolation method must not cause excessive blocking and smoothing effects in the restored binary image.
To satisfy the above requirement, it is an object of the present invention to provide an improved interpolation method in which a context (state value of reference pixels adjacent to a pixel (interpolated pixel) generated by interpolation) is used for interpolation, thereby reducing blocking and smoothing effects.
To achieve the above object, there is provided an interpolation method for a binary image, for restoring a binary image block reduced through a down sampling into the block with the size of original binary image block, the method comprising the steps of: (a) preparing a threshold table showing various threshold values corresponding to a context Cp (state value) of pixels (reference pixels) of the reduced image, around an interpolated pixel; (b) calculating an interpolation value based on the pixel values of pixels (object pixels) adjacent and/or around the interpolated pixel; (c) calculating the context Cp which is the state value of the reference pixels around the interpolated pixel; (d) obtaining a threshold value corresponding to the calculated context from the threshold table; and (e) comparing the interpolation value with the threshold value of the step (d), and setting the pixel value of the interpolated pixel as “1” if the interpolation value is greater than the threshold value, and setting the pixel value of the interpolated pixel as “0” if the interpolation value is equal to or less than the threshold value.
Preferably, the step (a) comprises the sub-steps of: (a1) calculating possible sums of the reference pixels; (a2) calculating possible interpolation values with respect to the possible sums of the reference pixels; (a3) setting candidate threshold values with respect to the possible sum of the reference pixels; and (a4) selecting a threshold value from the candidate threshold values with respect to each context corresponding to the possible sum of the reference pixels, resulting in the threshold table.
The invention may be embodied in a general purpose digital computer that is running a program from a computer usable medium including but not limited to storage media such as magnetic storage media (e.g., ROM's, floppy disks, hard disks, etc.), optically readable media (e.g., CD-ROMs, DVDs, etc.), hybrid formats (magneto optical disks) and carrier waves (e.g., transmissions over the Internet). For instance, a part of the present invention can be computer usable medium having computer readable program code means embodied therein for processing by a machine, the computer usable medium having embodied thereon a computer program for restoring a binary image block reduced through a down sampling into the block with the size of the original binary image block, the computer program being executable by the machine to perform:
-
- (a) preparing a threshold table showing various threshold values corresponding to a context Cp (state value) of pixels (reference pixels) of the reduced image, around an interpolated pixel;
- (b) calculating an interpolation value based on the pixel values of pixels (object pixels) adjacent to and/or around the interpolated pixel;
- (c) calculating the context Cp which is the state value of the reference pixels around the interpolated pixel;
- (d) obtaining a threshold value corresponding to the calculated context from the threshold table; and
- (e) comparing the interpolation value with the threshold value of the step (d), and setting the pixel value of the interpolated pixel as “1” if the interpolation value is greater than the threshold value, and setting the pixel value of the interpolated pixel as “0” if the interpolation value is equal to or less than the threshold value.
The above object and advantages of the present invention will become more apparent by describing in detail a preferred embodiment thereof with reference to the attached drawings in which:
In FIG. 1A , coding and decoding methods for a binary image having object information according to the MPEG-4 includes a down sampling step 100, a coding step 102, a reverse coding step 104 and an up sampling step 106.
In the down sampling step 100, an M×N binary image block is converted into an (M×Cr)×(N×CR) binary image block. Here, CR is a conversion ratio indicating the ratio in size of the reduced image block obtained by the down sampling with respect to the original binary image block.
In the coding step 102, the reduced image is encoded. In order to code the binary image including objects, MPEG-4 adopts a context-based arithmetic encoder (CAE). The CAE is adopted as a coding method in the verification model of MPEG-4, due to its simplicity and comparatively high coding efficiency.
The reduced image coded through the coding step 102 is transmitted via a transmission route. In the reverse coding step 104, the coded reduced image is restored into the reduced image. In the up sampling step 106, the interpolation is performed on the reduced image block to obtain the block with the size of the original binary image.
In the down sampling step, if half or more pixels of four pixels (indicated by “O”) are equal to “1”, the pixel value of the converted pixel (indicated by “X”) becomes “1”. Here, pixels having value “1” represent a part of the picture containing an object, and pixels having value “O” represent a part of the picture outside an object. The macro block including both pixels having value “1” and pixels having value “0” represents the boundary block of the object information. The pixel values are assigned arbitrarily and though convention. The values can, of course, be reversed.
Basically, pixels (indicated by “X”) of a restored shape block 300 are obtained from the neighboring pixels (indicated by “O”) of the reduced shape macro block as shown in the circle 303 of FIG. 1C.
For example, pixels of an upper border 301 and a left border 302 are referred to as down-sampled pixels which belong to the upper macro block and left macro block, respectively.
When the pixels of lower boundary and right boundary of macro block 300 refer to the neighboring pixels outside the block 300, the pixels outside the block can be obtained by extending the outermost pixels inside the block as shown in FIG. 1C.
Referring to FIG. 2 , a conventional interpolation method will be described in detail.
In FIG. 2 , pixels A, B, C, D, E, F, G, H, I, J, K and L represent object pixels concerned in the interpolation; and pixels P1, P2, P3 and P4 represents interpolated pixels obtained by the interpolation. Here, object pixels A, B, C, D, E, F, G, H, I, J, K and L surround the interpolated pixels P1, P2, P3 and P4. Also, object pixels belong to the reduced image while the interpolated pixels belong to the restored binary image.
First, an interpolation value INP[P] is obtained as follows:
INP[P1]=r*A+s*(B+C+D)+t*(E+F+G+H+I+J+K+L)
INP[P2]=r*B+s*(A+C+D)+t*(E+F+G+H+I+J+K+L)
INP[P3]=r*C+s*(A+B+D)+t*(E+F+G+H+I+J+K+L)
INP[P4]=r*D+s*(A+B+C)+t*(E+F+G+H+I+J+K+L)
where r, s and t are weights according to the distance from the interpolated pixel, that is, r is the weight of the object pixel which is the closest to the interpolated pixel, s is the weight of object pixels which are the next closest to the interpolated pixel, and t is the weight of object pixels around the next closest pixels. Also, the condition of r>s>t is satisfied.
INP[P1]=r*A+s*(B+C+D)+t*(E+F+G+H+I+J+K+L)
INP[P2]=r*B+s*(A+C+D)+t*(E+F+G+H+I+J+K+L)
INP[P3]=r*C+s*(A+B+D)+t*(E+F+G+H+I+J+K+L)
INP[P4]=r*D+s*(A+B+C)+t*(E+F+G+H+I+J+K+L)
where r, s and t are weights according to the distance from the interpolated pixel, that is, r is the weight of the object pixel which is the closest to the interpolated pixel, s is the weight of object pixels which are the next closest to the interpolated pixel, and t is the weight of object pixels around the next closest pixels. Also, the condition of r>s>t is satisfied.
Next, the obtained interpolation value INP[P]and a threshold value THR are compared. Here, the threshold value THR is set to a value which is half of the largest possible interpolation value. For example, if r, s and t are 4, 2 and 1, respectively, then the threshold value is set to 9. If the interpolation value INP[P] is greater than the threshold value THR, the pixel value of the interpolated pixel becomes “1”. Otherwise, the pixel value of the interpolated pixel becomes “0”.
Here, only one threshold THR is applied while a plurality of interpolation values INP may be applied. Thus, if the interpolation value INP[P] and the threshold value THR are close to each other, it is unclear whether the pixel value of the interpolated pixel is correct or not. Accordingly, serious blocking or smoothing phenomenon can be present in the restored binary image.
To reduce the blocking or smoothing effects, a threshold value to be compared with the interpolation value INP[P] is adaptively determined according to the context (state values of the pixels (reference pixels) around the interpolated pixel), thereby reducing ambiguity in determination of the pixel value of the interpolated pixel.
An improved interpolation method according to a preferred embodiment of the present invention will be described with reference to FIGS. 3A through 3D . In FIGS. 3A through 3D , pixels A, B, C, D, E, F, G, H, I, J, K and L indicated by “O” represents object pixels belonging to the reduced image, and pixels E, F, G, H, I, J, K and L represent reference pixels, and pixels P1, P2, P3 and P4 indicated by “X” represent the interpolated pixels of the restored binary image.
First, an interpolation value INP[P] is obtained by the object pixels as follows:
INP[P1]=r*A+s*(B+C+D)+t*(E+F+G+H+I+J+K+L)
INP[P2]=r*B+s*(A+C+D)+t*(E+F+G+H+I+J+K+L)
INP[P3]=r*C+s*(A+B+D)+t*(E+F+G+H+I+J+K+L)
INP[P4]=r*D+s*(A+B+C)+t*(E+F+G+H+I+J+K+L)
where r, s and t are weights according to the distance from the interpolated pixel, that is, r is the weight of the object pixel which is the closest to the interpolated pixel, s is the weight of object pixels which are the next closest to the interpolated pixel, and t is the weight of object pixels around the next closest pixels. Also, the condition of r>s>t is satisfied. Here, r, s and t are 4, 2 and 1, respectively.
INP[P1]=r*A+s*(B+C+D)+t*(E+F+G+H+I+J+K+L)
INP[P2]=r*B+s*(A+C+D)+t*(E+F+G+H+I+J+K+L)
INP[P3]=r*C+s*(A+B+D)+t*(E+F+G+H+I+J+K+L)
INP[P4]=r*D+s*(A+B+C)+t*(E+F+G+H+I+J+K+L)
where r, s and t are weights according to the distance from the interpolated pixel, that is, r is the weight of the object pixel which is the closest to the interpolated pixel, s is the weight of object pixels which are the next closest to the interpolated pixel, and t is the weight of object pixels around the next closest pixels. Also, the condition of r>s>t is satisfied. Here, r, s and t are 4, 2 and 1, respectively.
Then, the context Cp which is state value of the reference pixels is calculated by the following equation (1):
where P represents the position of the interpolated pixel, O represents the reference pixel, and k is an index of the reference pixels and also a weight. Here, the index k is varied depending on the relative position between the interpolated pixel and the adjacent object pixels.FIGS. 3A through 3D shows index of the reference pixels when interpolating the interpolated pixels P1, P2, P3 and P4.
where P represents the position of the interpolated pixel, O represents the reference pixel, and k is an index of the reference pixels and also a weight. Here, the index k is varied depending on the relative position between the interpolated pixel and the adjacent object pixels.
Next, a threshold value THRc according to the calculated context is determined with reference to the threshold value table shown in FIG. 4. The threshold value of FIG. 4 is experimentally obtained by comparing the original image and the restored binary image such that a restoration error is minimized.
In the threshold table of FIG. 4 , the context values are arranged in the left column according to size in units of 16, and threshold values corresponding to each context value are arranged in each row.
Since the number of the reference pixels for calculating context is 8, the number of potential combinations become 256.
In FIG. 3A , if the context value is “0”, the value of reference pixels “FELKJIHG” becomes “00000000”. Also, the value of the reference pixels becomes “10000000” and “01000000” if the values of the context are “1” and “2”, respectively. Also, if the value of the context is 255, the value of the reference pixels becomes “11111111”.
In FIG. 4 , reference numerals 400, 402 and 404 represent the threshold values when the context values are 0, 1 and 2, respectively. Also, reference numeral 406 represents the threshold value when the context values is 255. That is, when the context values are 0, 1 and 2, the threshold values are equal to 5, 6 and 6, respectively. Also, when the context value is 255, the threshold value is equal to 14 as indicated by the reference numeral 406.
The interpolation value INP[P] and the threshold value THRc according to the context of the object pixels are a compared to determine a pixel value of the interpolated pixel.
If the interpolation value INP[P] is greater than the threshold value THRc, the pixel value of the interpolated pixel is set to “1”. Otherwise, the pixel value of the interpolated pixel is set to “0”.
The threshold table used in the present invention is effectively determined in consideration of reference pixel values. The procedure for preparing the threshold table in consideration of the reference pixel values will be described with reference to FIGS. 5 through 7 .
-
- 1) Possible sums of the reference pixels are calculated.
Here, the sum of the reference pixels represents the sum of pixel values of the reference pixels which contributes to calculate the context. For example, it refers to the sum of the pixel values of the reference pixels indicated by E, F, G, H, I, J, K and L in FIG. 3.
In FIG. 3 , since the number of the reference pixels is equal to 8, the possible sum of the reference pixels is one of 0, 1, 2, 3, 4, 5, 6, 7 and 8.
-
- 2) Possible interpolation values with respect to the possible sums of the reference pixels are calculated.
For example, if the sum of the reference pixels is equal to “0”, that is, all the pixel values of the reference pixels are “0”, the interpolation value is one of 0, 2, 4, 6, 8 and 10. If all the pixel values of the adjacent object pixels A, B, C and D are “0”, the interpolation value becomes “0”. Also, if all the pixel values of the adjacent object pixels A, B, C and C are 37 1”, the interpolation value becomes “10”.
In the same manner, if the sum of the reference pixels is equal to “8”, that is, if all the pixel values of the reference pixels are “1”, the interpolation value becomes one of 8, 10, 12, 14, 16 and 18.
-
- 3) Possible candidate threshold values with respect to the possible sum of the reference pixels are determined.
-
- 4) A threshold value with respect to each context value corresponding to the possible sums of the reference pixels is selected among the possible candidate threshold values. Here, the threshold value may be the median among the possible threshold values.
- 5) The table is prepared by matching the contexts with the selected threshold values. Here, each context matches with the threshold value with respect to the sum of the corresponding reference pixels.
In FIG. 6 , reference numerals 600, 602, and 604 represent the threshold values when the context values are 0, 1 and 2, respectively. Also, reference numeral 606 represents the threshold value when the context value is 255. That is, if the context values are equal to 0, 1 and 2, the threshold values become “5”, “6” and “6”, respectively. Also, if the context value is equal to 255, the threshold value become “13”.
If the context value is equal to “0”, that is, if the sum of the reference pixels is “0” in FIG. 5A , the candidate threshold values include −1, 1, 3, 5, 7, 9 and 11 as shown in FIG. 5B , and the median among those, i.e., 5, is selected as the threshold value.
If the context value is equal to “1”, that is, if the sum of the reference pixels is “1” in FIG. 5A , the candidate threshold values include 0, 2, 4, 6, 8, 10 and 12 as shown in FIG. 5B , and the median among those, i.e., 6, is selected as the threshold value.
If the context value is equal to “2”, that is, if the sum of the reference pixels is “2” in FIG. 5A , the candidate threshold values include 1, 4, 5, 7, 9, 11 and 13 as shown in FIG. 5B , and the median among those, i.e., 7, is selected as the threshold value.
If the context value is equal to “255”, that is, if the sum of the reference pixels is “8” in FIG. 5A , the candidate threshold values include 7, 9, 11, 13, 15, 17 and 19 as shown in FIG. 5B , and the median among those, i.e., 13, is selected as the threshold value.
Also, FIG. 7 is a threshold table which is obtained in consideration of ±2 variable range on the threshold value of FIG. 6. That is, the threshold values of the ±2 variable range are applied to the actual binary image, and the threshold value showing the least error during the reproduction is then selected.
In the interpolation method of the present invention, the ambiguity in the comparison between the interpolation value and the threshold value is removed by using the state value (context) of the reference pixels around the interpolated pixel, thereby reducing the blocking and smoothing phenomena in the restored binary image.
The invention may be embodied in a general purpose digital computer that is running a program or program segments originating from a computer readable or usable medium, such medium including but not limited to magnetic storage media ((e.g., ROM's, floppy disks, hard disks, etc.), optically readable media (e.g., CD-ROMs, DVDs, etc.) and carrier waves (e.g., transmissions over the Internet). A functional program, code and code segments, used to implement the present invention can be derived by a skilled computer programmer from the description of the invention contained herein.
As can be seen from FIGS. 8B and 8C , the blocking effect is sharply reduced compared to the conventional bilinear interpolation method.
As described above, in the interpolation method of the present invention, the ambiguity in the comparison between the interpolation value and the threshold value is removed by using the state value (context) of the reference pixels around the interpolated pixel, thereby reducing the blocking and smoothing phenomena in the restored binary image.
In the interpolation method of the present invention, since variable threshold values according to the context combination are quickly obtained from the threshold table, the interpolation can be performed rapidly.
Claims (16)
1. A computer usable medium having embodied thereon a computer program for restoring a binary image block reduced through a down sampling into the block with the size of the original binary image block, the computer program being executable by a machine to perform:
(a) preparing a threshold table showing various threshold values corresponding to a context Cp (state value) of pixels (reference pixels) of the reduced image, around an interpolated pixel;
(b) calculating an interpolation value based on the pixel values of pixels (object pixels) adjacent to and/or around the interpolated pixel;
(c) calculating the context Cp which is the state value of the reference pixels around the interpolated pixel;
(d) obtaining a threshold value corresponding to the calculated context from the threshold table; and
(e) comparing the interpolation value with the threshold value of the step (d), and setting the pixel value of the interpolated pixel as “1” if the interpolation value is greater than the threshold value, and setting the pixel value of the interpolated pixel as “0” if the interpolation value is equal to or less than the threshold value.
2. The computer usable medium of claim 1 , wherein the computer program at (b) calculates by an interpolation method using the following equations:
INP[P1]=r*A+s*(B+C+D)+t*(E+F+G+H+I+J+K+L)
INP[P2]=r*B+s*(A+C+D)+t*(E+F+G+H+I+J+K+L)
INP[P3]=r*C+s*(A+B+D)+t*(E+F+G+H+I+J+K+L)
INP[P4]=r*D+s*(A+B+C)+t*(E+F+G+H+I+J+K+L)
INP[P1]=r*A+s*(B+C+D)+t*(E+F+G+H+I+J+K+L)
INP[P2]=r*B+s*(A+C+D)+t*(E+F+G+H+I+J+K+L)
INP[P3]=r*C+s*(A+B+D)+t*(E+F+G+H+I+J+K+L)
INP[P4]=r*D+s*(A+B+C)+t*(E+F+G+H+I+J+K+L)
where P1, P2, P3 and P4 represent an interpolated pixel, A, B, C and D are the objective pixels adjacent to the interpolated pixel, E, F, G, H, I, J, K and L are the objective pixels around the pixels A, B, C and D, INP[P] represents the interpolation value of the interpolated pixel P, r is the weight of the object pixel which is the closest to the interpolated pixel, s is the weight of three object pixels which are the next closest to the interpolated pixel, and t is the weight of eight object pixels around the next closest pixels, and the condition of r>s>t is satisfied.
3. The computer usable medium of claim 1 , wherein the computer program at (c) is performed using the following equation:
where P represents the position of the interpolated pixel, O represents the reference pixel, and k is an index of the reference pixels.
4. The computer usable medium of claim 3 , wherein the index k of the computer program at (c) is varied according to the location of the interpolated pixels with respect to the adjacent pixels.
5. The computer usable medium of claim 1 , wherein the computer program at (a) preforms:
(a1) calculating possible sums of the reference pixels;
(a2) calculating possible interpolation values with respect to the possible sums of the reference pixels;
(a3) setting possible candidate threshold values with respect to the possible sum of the reference pixels; and
(a4) selecting a threshold value from the candidate threshold values with respect to each context corresponding to the possible sum of the reference pixels, resulting in the threshold table.
6. The computer usable medium of claim 5 , wherein the candidate threshold values of the computer program at (a3) are the median values of every adjacent pair of the possible interpolation values which are arranged in size.
7. The computer usable medium of claim 5 , wherein the computer program at (a4) selects the median values of the candidate threshold values with respect to each context as the threshold value.
8. The computer usable medium of claim 7 , wherein the computer program being further executable by a machine to perform adjusting the threshold values of the table by allowing a predetermined variable range for the selected threshold values and then selecting a threshold value with respect to each context, showing the least error in reproduction when the threshold values are applied to an actual binary image.
9. An apparatus comprising:
(a) means for preparing a threshold table showing various threshold values corresponding to a context C p (state value) of pixels (reference pixels) of the reduced image, around an interpolated pixel;
(b) means for calculating an interpolation value based on the pixel values of pixels (object pixels) adjacent to and/or around the interpolated pixel;
(c) means for calculating the context C p which is the state value of the reference pixels around the interpolated pixel;
(d) means for obtaining a threshold value corresponding to the calculated context from the threshold table; and
(e) means for comparing the interpolation value with the threshold value of the step (d), and setting the pixel value of the interpolated pixel as “1” if the interpolation value is greater than the threshold value, and setting the pixel value of the interpolated pixel as “0” if the interpolation value is equal to or less than the threshold value.
10. The apparatus of claim 9 , wherein the interpolation calculating means calculates by an interpolation method using the following equations:
INP[P1]=r*A+s*(B+C+D)+t*(E+F+G+H+I+J+K+L)
INP[P2]=r*B+s*(A+C+D)+t*(E+F+G+H+I+J+K+L)
INP[P3]=r*C+s*(A+B+D)+t*(E+F+G+H+I+J+K+L)
INP[P4]=r*D+s*(A+B+C)+t*(E+F+G+H+I+J+K+L)
INP[P1]=r*A+s*(B+C+D)+t*(E+F+G+H+I+J+K+L)
INP[P2]=r*B+s*(A+C+D)+t*(E+F+G+H+I+J+K+L)
INP[P3]=r*C+s*(A+B+D)+t*(E+F+G+H+I+J+K+L)
INP[P4]=r*D+s*(A+B+C)+t*(E+F+G+H+I+J+K+L)
where P1, P2, P3 and P4 represent an interpolated pixel, A, B, C and D are the objective pixels adjacent to the interpolated pixel, E, F, G, H, I, J, K and L are the objective pixels around the pixels A, B, C and D, INP[P] represents the interpolation value of the interpolated pixel P, r is the weight of the object pixel which is the closest to the interpolated pixel, s is the weight of three object pixels which are the next closest to the interpolated pixel, and t is the weight of eight object pixels around the next closest pixels, and the condition of r>s>t is satisfied.
11. The apparatus of claim 9 , wherein the context calculating means is performed using the following equation:
where P represents the position of the interpolated pixel, O represents the reference pixel, and k is an index of the reference pixels.
12. The apparatus of claim 11 , wherein the index k used in the context calculating means is varied according to the location of the interpolated pixels with respect to the adjacent pixels.
13. The apparatus of claim 9 , wherein the threshold table preparing means includes:
(a1 ) means for calculating possible sums of the reference pixels;
(a2 ) means for calculating possible interpolation values with respect to the possible sums of the reference pixels;
(a3 ) means for setting possible candidate threshold values with respect to the possible sum of the reference pixels; and
(a4 ) means for selecting a threshold value from the candidate threshold values with respect to each context corresponding to the possible sum of the reference pixels, resulting in the threshold table.
14. The apparatus of claim 13 , wherein the candidate threshold values set by the possible candidate threshold value setting means are the median values of every adjacent pair of the possible interpolation values which are arranged in size.
15. The apparatus of claim 13 , wherein the threshold value selecting means selects the median values of the candidate threshold values with respect to each context as the threshold value.
16. The apparatus of claim 15 , further comprising means for adjusting the threshold values of the table by allowing a predetermined variable range for the selected threshold values and then selecting a threshold value with respect to each context, showing the least error in reproduction when the threshold values are applied to an actual binary image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US10/012,527 USRE39237E1 (en) | 1997-07-10 | 2001-12-12 | Interpolation method for binary image |
Applications Claiming Priority (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR19970032102 | 1997-07-10 | ||
KR1019970051105A KR100269205B1 (en) | 1997-07-10 | 1997-10-04 | An interpolation method of binary shape using an adaptive threshold |
KR1019970054869A KR100252010B1 (en) | 1997-10-24 | 1997-10-24 | An interpolation method of binary shape using an adaptive thereshold |
US08/979,107 US6002812A (en) | 1997-07-10 | 1997-11-26 | Interpolation method for binary image |
US8727898P | 1998-05-29 | 1998-05-29 | |
US10/012,527 USRE39237E1 (en) | 1997-07-10 | 2001-12-12 | Interpolation method for binary image |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US09/087,278 Reissue US6002813A (en) | 1997-07-10 | 1998-05-29 | Interpolation method for binary image |
Publications (1)
Publication Number | Publication Date |
---|---|
USRE39237E1 true USRE39237E1 (en) | 2006-08-15 |
Family
ID=27349570
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US08/979,107 Expired - Lifetime US6002812A (en) | 1997-07-10 | 1997-11-26 | Interpolation method for binary image |
US10/012,527 Expired - Lifetime USRE39237E1 (en) | 1997-07-10 | 2001-12-12 | Interpolation method for binary image |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US08/979,107 Expired - Lifetime US6002812A (en) | 1997-07-10 | 1997-11-26 | Interpolation method for binary image |
Country Status (9)
Country | Link |
---|---|
US (2) | US6002812A (en) |
EP (1) | EP0890921B1 (en) |
JP (1) | JP3669834B2 (en) |
BR (1) | BR9705836A (en) |
DE (1) | DE69738480T2 (en) |
EG (1) | EG21414A (en) |
ID (1) | ID20569A (en) |
IL (1) | IL122671A (en) |
RU (1) | RU2221275C2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100171989A1 (en) * | 2009-01-08 | 2010-07-08 | Mitchell Joan L | Halftone Mechanism |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3349957B2 (en) | 1997-07-09 | 2002-11-25 | 株式会社ハイニックスセミコンダクター | Interpolation apparatus and method for binary video information using context probability table |
KR100374717B1 (en) * | 1998-03-05 | 2003-03-04 | 주식회사 팬택앤큐리텔 | Method and apparatus for subsampling chrominance signal shape information for interlaced scan type image |
US6718074B1 (en) | 2000-06-02 | 2004-04-06 | Cognex Corporation | Method and apparatus for inspection for under-resolved features in digital images |
EP1322117A1 (en) * | 2001-12-06 | 2003-06-25 | Koninklijke Philips Electronics N.V. | Arithmetic coder and decoder |
JP3767593B2 (en) * | 2003-10-07 | 2006-04-19 | 三菱電機株式会社 | Pixel interpolation circuit and pixel interpolation method |
JP4864332B2 (en) * | 2004-07-13 | 2012-02-01 | 株式会社リコー | Resolution conversion interpolation method, image processing apparatus, image display apparatus, program, and recording medium |
US20070247476A1 (en) * | 2006-04-21 | 2007-10-25 | Liron Yatziv | Fast smooth up-sampling of binary volumes derived from medical imaging |
CN113556563B (en) * | 2010-04-13 | 2024-08-20 | Ge视频压缩有限责任公司 | Coding of saliency maps and transform coefficient blocks |
WO2019185983A1 (en) * | 2018-03-28 | 2019-10-03 | Nokia Technologies Oy | A method, an apparatus and a computer program product for encoding and decoding digital volumetric video |
JP7185451B2 (en) | 2018-09-10 | 2022-12-07 | キヤノン株式会社 | Image processing device, image processing method, and program |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4771471A (en) * | 1985-03-07 | 1988-09-13 | Dainippon Screen Mfg. Co., Ltd. | Smoothing method for binary-coded image data and apparatus therefor |
US5054100A (en) * | 1989-11-16 | 1991-10-01 | Eastman Kodak Company | Pixel interpolator with edge sharpening |
JPH04199477A (en) | 1990-11-29 | 1992-07-20 | Toshiba Corp | Picture processer |
JPH07182503A (en) | 1993-12-24 | 1995-07-21 | Canon Inc | Method and device for processing image |
JPH08116430A (en) | 1994-10-18 | 1996-05-07 | Canon Inc | Image processing system and image processor and its method |
US5754706A (en) * | 1996-06-19 | 1998-05-19 | Xerox Corporation | System and apparatus for single subpixel elimination in an high addressable error diffusion process |
US5799113A (en) * | 1996-01-19 | 1998-08-25 | Microsoft Corporation | Method for expanding contracted video images |
US5805305A (en) * | 1994-10-28 | 1998-09-08 | Nec Corporation | Image forming apparatus capable of producing a pseudo half-tone image by using dither patterns |
US5818964A (en) * | 1994-12-27 | 1998-10-06 | Texas Instruments Incorporated | Method and apparatus for selecting an adaptive filter for image data |
US5832143A (en) * | 1996-01-17 | 1998-11-03 | Sharp Kabushiki Kaisha | Image data interpolating apparatus |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2967014B2 (en) * | 1993-05-24 | 1999-10-25 | キヤノン株式会社 | Image processing device |
FR2743241B1 (en) * | 1995-12-28 | 1998-02-13 | Sagem | METHOD FOR MODIFYING THE RESOLUTION OF A DIGITAL IMAGE |
KR100314098B1 (en) * | 1997-05-29 | 2001-12-12 | 윤종용 | An interpolation method of binary shape data using an adaptive threshold by neighboring pixel values |
-
1997
- 1997-11-26 US US08/979,107 patent/US6002812A/en not_active Expired - Lifetime
- 1997-12-18 IL IL12267197A patent/IL122671A/en not_active IP Right Cessation
- 1997-12-23 EP EP19970310492 patent/EP0890921B1/en not_active Expired - Lifetime
- 1997-12-23 DE DE1997638480 patent/DE69738480T2/en not_active Expired - Lifetime
- 1997-12-24 ID ID973989A patent/ID20569A/en unknown
- 1997-12-28 EG EG140997A patent/EG21414A/en active
- 1997-12-29 BR BR9705836A patent/BR9705836A/en not_active Application Discontinuation
- 1997-12-30 RU RU97122036A patent/RU2221275C2/en active
-
1998
- 1998-02-26 JP JP4587898A patent/JP3669834B2/en not_active Expired - Lifetime
-
2001
- 2001-12-12 US US10/012,527 patent/USRE39237E1/en not_active Expired - Lifetime
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4771471A (en) * | 1985-03-07 | 1988-09-13 | Dainippon Screen Mfg. Co., Ltd. | Smoothing method for binary-coded image data and apparatus therefor |
US5054100A (en) * | 1989-11-16 | 1991-10-01 | Eastman Kodak Company | Pixel interpolator with edge sharpening |
JPH04199477A (en) | 1990-11-29 | 1992-07-20 | Toshiba Corp | Picture processer |
JPH07182503A (en) | 1993-12-24 | 1995-07-21 | Canon Inc | Method and device for processing image |
JPH08116430A (en) | 1994-10-18 | 1996-05-07 | Canon Inc | Image processing system and image processor and its method |
US6088489A (en) | 1994-10-18 | 2000-07-11 | Canon Kabushiki Kaisha | Image data resolution conversion |
US5805305A (en) * | 1994-10-28 | 1998-09-08 | Nec Corporation | Image forming apparatus capable of producing a pseudo half-tone image by using dither patterns |
US5818964A (en) * | 1994-12-27 | 1998-10-06 | Texas Instruments Incorporated | Method and apparatus for selecting an adaptive filter for image data |
US5832143A (en) * | 1996-01-17 | 1998-11-03 | Sharp Kabushiki Kaisha | Image data interpolating apparatus |
US5799113A (en) * | 1996-01-19 | 1998-08-25 | Microsoft Corporation | Method for expanding contracted video images |
US5754706A (en) * | 1996-06-19 | 1998-05-19 | Xerox Corporation | System and apparatus for single subpixel elimination in an high addressable error diffusion process |
Non-Patent Citations (2)
Title |
---|
Office Action issued by the Japanese Patent Office on Feb. 24, 2004 in connection with corresponding application. |
Sikora, T., The MPEG-4 Video Standard Verification Model, IEEE Transactions on Circuits and Systems for Video Technology, vol. 7, No. 1, Feb. 1997, pp. 19-31. |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100171989A1 (en) * | 2009-01-08 | 2010-07-08 | Mitchell Joan L | Halftone Mechanism |
US8270031B2 (en) * | 2009-01-08 | 2012-09-18 | Infoprint Solutions Company, Llc | Halftone mechanism |
Also Published As
Publication number | Publication date |
---|---|
EG21414A (en) | 2001-10-31 |
EP0890921A2 (en) | 1999-01-13 |
BR9705836A (en) | 1999-04-06 |
EP0890921B1 (en) | 2008-01-23 |
ID20569A (en) | 1999-01-14 |
DE69738480T2 (en) | 2009-02-19 |
IL122671A (en) | 2001-05-20 |
DE69738480D1 (en) | 2008-03-13 |
IL122671A0 (en) | 1998-08-16 |
US6002812A (en) | 1999-12-14 |
JPH1155504A (en) | 1999-02-26 |
RU2221275C2 (en) | 2004-01-10 |
EP0890921A3 (en) | 1999-10-20 |
JP3669834B2 (en) | 2005-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
USRE39237E1 (en) | Interpolation method for binary image | |
CA2198670C (en) | Method and apparatus for inputting and outputting color pictures and continually-changing tone pictures | |
KR100422935B1 (en) | Picture encoder, picture decoder, picture encoding method, picture decoding method, and medium | |
JP3480971B2 (en) | Method of generating and restoring image data | |
US6018601A (en) | Interpolation method for binary image | |
US6043847A (en) | Picture coding apparatus and decoding apparatus | |
EP0574251B1 (en) | Image processing method and apparatus | |
US5113457A (en) | Image information code processing system | |
EP0613290B1 (en) | Method and apparatus for binary image data compression | |
KR980013413A (en) | Method of contour coding of object expressed by video signal | |
US6002813A (en) | Interpolation method for binary image | |
EP0336365B1 (en) | Method of and apparatus for eliminating interblock distortion due to compressed image data | |
US7342963B2 (en) | Method for calculating an image interpolated between two images of a video sequence | |
EP0858226B1 (en) | Method and apparatus for encoding a contour of an object by using a vertex inserting technique | |
USRE37755E1 (en) | Interpolation method for binary image | |
EP0853435A2 (en) | Method and apparatus for encoding a contour image of an object in a video signal | |
NL1008938C2 (en) | Scan interleaving method. | |
JP3798150B2 (en) | Image processing method and image processing apparatus | |
KR100355374B1 (en) | Reference block selection method in image interpolation and down-sampling method for shape information | |
JPH07193809A (en) | Coding and decoding method for picture data | |
CN100407757C (en) | Interpolation method for binary image | |
KR0159567B1 (en) | Method and apparatus for filling contents to closed contour in a contour coding | |
JP3287950B2 (en) | Block distortion evaluation method | |
KR100568532B1 (en) | Method for filling contour in coding and decoding of moving ficture | |
KR100252010B1 (en) | An interpolation method of binary shape using an adaptive thereshold |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FEPP | Fee payment procedure |
Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
FPAY | Fee payment |
Year of fee payment: 8 |
|
FPAY | Fee payment |
Year of fee payment: 12 |