IP Library Granted Patent US 8,478,038
Granted Patent B2
US 8,478,038 · App. 13/361,902 · Granted Jul 2, 2013

Method and system for predictive scaling of colour mapped images

Inventor: Simon Descarries (Sherbrooke, CA)
Assignee: Vantrix Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,478,038
App. No.
13/361,902
Granted
Jul 2, 2013
Kind
B2
Abstract

A method for determining a scaled color map of a scaled image is described using the transformation of the original color map and the original image only, independently of the scaled image. A number of colors N in the original color map is determined; and provided N>N max , all colors in the original color map are reused in the scaled color map. If N<N min , the number of colors in the original color map is increased. Otherwise, the scaled color map is formed including: selecting a sub-set of colors in the original color map; increasing a number of colors in the selected sub-set; adding the resulting sub-set with increased number of colors to the original color map; and removing duplicate colors, wherein N min and N max are respective predetermined minimum and maximum thresholds for a number of colors in the original color map. A corresponding system is also provided.

Claims (163)

1. A method for determining a scaled colour map of a scaled image obtained by scaling an original image, implemented by a computing device having a processor, the method comprising:

obtaining an original colour map of the original image; and

transforming the original colour map into the scaled colour map using the original colour map and the original image only, comprising:

provided N min <N<N max , forming the scaled colour map, comprising:

(iv-1) selecting a sub-set of colours in the original colour map;

(iv-2) increasing a number of colours in the selected sub-set, thus forming a resulting sub-set of colours; and

(iv-3) adding the resulting sub-set with increased number of colours to the original colour map, comprising determining the increased number of colours in the resulting sub-set of colours as

1

2

M

s

(

M

s

-

1

)

,

wherein N is a number of colours in the original colour map, N min and N max are respective predetermined minimum and maximum thresholds for respective numbers of colours in the original colour map, and M s is a number of colours in the selected subset of colours.

2. The method of claim 1 , wherein the transforming further comprises:

(ii) provided N>N max , reusing all colours in the original colour map in the scaled colour map; and

(iii) provided N<N min , increasing the number of colours in the original colour map to produce the scaled colour map.

3. The method of claim 2 , comprising selecting one or more of the following:

N min −4;

N max =16;

N=4;

N=9;

N≦16;

M s =4;

M s =5;

wherein M s is a number of colours in the subset of colours.

4. The method as described in claim 1 , wherein the original and scaled images are selected from Graphical Interchange Format (GIF), Portable Network Graphic (PNG), and Bitmap (BMP) images.

5. The method as described in claim 2 , wherein the steps (iii) and (iv-2) further comprise:

generating combinations of any two colours from the original colour map; and

for each combination, interpolating between said two colours.

6. The method as described in claim 2 , wherein the step (iv-1) further comprises:

determining a colour usage vector indicating frequency of use of colours in the original colour map;

generating an octree graph based on the colour usage vector;

parsing the octree graph to select colours to be included in the sub-set.

7. A method for determining a scaled colour map of a scaled image obtained by scaling an original image, implemented by a computing device having a processor, the method comprising:

obtaining an original colour map of the original image; and

transforming the original colour map into the scaled colour map using the original colour map and the original image only, comprising:

provided N min <N<N max , forming the scaled colour map, comprising:

(iv-1) selecting a sub-set of colours in the original colour map, comprising determining a number of colours M s in the selected subset of colours as follows

M

s

=

E

(

1

2

+

1

2

1

+

8

(

N

max

-

N

)

)

provided N(N+1)>2N max , wherein E(x)=[x] provided “x” is a natural number, otherwise E(x)=[x]+1;

(iv-2) increasing a number of colours in the selected sub-set, thus forming a resulting sub-set of colours; and

(iv-3) adding the resulting sub-set with increased number of colours to the original colour map;

wherein N is a number of colours in the original colour map, N min and N max are respective predetermined minimum and maximum thresholds for respective numbers of colours in the original colour map, and M s is a number of colours in the selected subset of colours.

8. The method of claim 1 , further comprising:

for each pixel in the scaled image, assigning a colour index, comprising finding a colour in the scaled color map, which is the closest match to a colour of said each pixel, and assigning an index of the colour in the scaled colour map having the closest match as the colour index for said each pixel.

9. The method of claim 2 , wherein the step (iv-1) further comprises determining a number of colours M s in the selected sub-set of colours as follows:

M s =N, provided N(N+1)≦2N max ; and

M s =M, where M is the smallest number M<N for which

M(M−1)≧2(N max −N), provided N(N+1)>2N max .

10. A method for scaling an image in a video stream, implemented by a computing device having a processor, the method comprising:

selecting a video frame comprising an image;

determining a delta region of the image, which has been changed compared to a previous video frame; and

determining the scaled colour map of the scaled image as described in the method of claim 1 , wherein the original image is the delta region.

11. A method for scaling the original image, implemented by a computing device having a processor, the method comprising:

scaling the original image into the scaled image; and

determining the scaled colour map of the scaled image as described in the method of claim 1 .

12. A system for determining a scaled colour map of a scaled image obtained by scaling an original image, the system comprising:

a processor and a non-transitory computer readable storage medium having computer readable instructions stored thereon for execution by the processor, causing the processor to:

obtain an original colour map of the original image; and

transform the original colour map into the scaled colour map using the original colour map and the original image only, comprising:

provided N min <N<N max , forming the scaled colour map:

(iv-1) select a sub-set of colours in the original colour map;

(iv-2) increase a number of colours in the selected sub-set, thus forming a resulting sub-set of colours; and

(iv-3) add the resulting sub-set with increased number of colours to the original colour map, comprising determining the increased number of colours in the resulting sub-set of colours as

1

2

M

s

(

M

s

-

1

)

,

wherein N is a number of colours in the original colour map, N min and N max are respective predetermined minimum and maximum thresholds for respective numbers of colours in the original colour map, and M s is a number of colours in the selected subset of colours.

13. The system of claim 12 , wherein the computer readable instructions further cause the processor to:

(ii) provided N>N max , reuse all colours in the original colour map in the scaled colour map; and

(iii) provided N<N min , increase the number of colours in the original colour map to produce the scaled colour map.

14. The system of claim 13 , wherein the computer readable instructions further cause the processor to select one or more of the following:

N min =4;

N max =16;

N=4;

N=9;

N≦16;

M s =4;

M s =5;

wherein M s is a number of colours in the subset of colours.

15. The system of claim 12 , wherein the original and scaled images are selected from Graphical Interchange Format (GIF), Portable Network Graphic (PNG), and Bitmap (BMP) images.

16. The system of claim 13 , wherein the computer readable instructions further cause the processor to increase the number of colours in the original colour map or in the selected sub-set of colours as follows:

to generate combinations of any two colours from the original colour map; and

for each combination, to interpolate between said two colours.

17. The method as described in claim 13 , wherein the computer readable instructions further cause the processor to select the sub-set of colours in the original colour map as follows:

to determine a colour usage vector indicating frequency of use of colours in the original colour map;

to generate an octree graph based on the colour usage vector;

to parse the octree graph to select colours to be included in the sub-set.

18. A system for determining a scaled colour map of a scaled image obtained by scaling an original image, the system comprising:

a processor and a non-transitory computer readable storage medium having computer readable instructions stored thereon for execution by the processor, causing the processor to:

obtain an original colour map of the original image; and

transform the original colour map into the scaled colour map using the original colour map and the original image only, comprising:

provided N min <N<N max , form the scaled colour map, comprising causing the computer readable instructions to select a sub-set of colours in the original colour map and to determine a number of colours M s in the selected subset of colours as

M

s

=

E

(

1

2

+

1

2

1

+

8

(

N

max

-

N

)

)

provided N(N+1)>2N max , wherein E(x)=[x] provided “x” is a natural number, otherwise E(x)=[x]+1;

increasing a number of colours in the selected sub-set, thus forming a resulting sub-set of colours; and

adding the resulting sub-set with increased number of colours to the original colour map.

19. The system of claim 13 , wherein the computer readable instructions further cause the processor to determine a number of colours M s in the selected sub-set of colours as follows:

M s =N, provided N(N+1)≦2N max ; and

M s =M, where M is the smallest number M<N for which

M(M−1)≧2(N max −N), provided N(N+1)>2N max .

Assignments (6)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 1, 2021
From: VANTRIX CORPORATION
To: MASIMO CORPORATION
Reel/Frame 057394/0452 →
CHANGE OF COMPANY ADDRESS Recorded Nov 26, 2019
From: VANTRIX CORPORATION
To: VANTRIX CORPORATION
Reel/Frame 051136/0148 →
RELEASE OF SECURITY INTEREST Recorded Mar 21, 2017
From: NXT CAPITAL LLC
To: VANTRIX CORPORATION
Reel/Frame 042050/0722 →
CHANGE OF ADDRESS Recorded Mar 1, 2017
From: VANTRIX CORPORATION
To: VANTRIX CORPORATION
Reel/Frame 041844/0991 →
SECURITY AGREEMENT Recorded Mar 20, 2013
From: VANTRIX CORPORATION
To: NXT CAPITAL, LLC, ITS SUCCESSORS AND ASSIGNS
Reel/Frame 030053/0824 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 30, 2012
From: DESCARRIES, SIMON
To: VANTRIX CORPORATION
Reel/Frame 027620/0649 →
Continuity (2)
Continuation 12185081 · Aug 2, 2008
Related Publication 20120128245A1 · May 24, 2012