IP Library Granted Patent US 9,530,056
Granted Patent B2
US 9,530,056 · App. 13/524,557 · Granted Dec 27, 2016

Day night classification of images using thresholding on HSV histogram

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 9,530,056
App. No.
13/524,557
Granted
Dec 27, 2016
Kind
B2
Abstract

A method ( 300 ) is provided for classifying an image as being one of a daytime image or a nighttime image. The method includes: obtaining an image to be analyzed ( 302 ); determining a first parameter (n H ) representative of a first amount of pixels in the image that are sufficiently red or yellow ( 308 ); determining a second parameter (n V ) representative of a second amount of pixels in the image that are sufficiently light ( 308 ); and classifying an image as one of a daytime image or a nighttime image based upon the first and second parameters ( 310, 312, 314 ).

Claims (46)

1. A method for classifying an image as being one of a daytime image or a nighttime image, said method comprising:

obtaining an image captured by a camera;

analyzing said obtained image with an image processor, said analyzing including:

determining a first parameter representative of a combination of a first amount of pixels in substantially the entire image that are sufficiently red and a second amount of pixels in substantially the entire image that are sufficiently yellow; and

determining a second parameter representative of a third amount of pixels in substantially the entire image that are sufficiently light; and

classifying the image as one of a daytime image or a nighttime image based upon the first and second parameters.

2. The method of claim 1 , said analyzing further comprising:

converting the obtained image from a first color space to a Hue-Saturation-Value (HSV) color space, wherein individual pixels of the image are defined by an H-component, an S-component, and a V-component.

3. The method of claim 2 , wherein determining the first parameter comprises:

counting a first number of pixels having an H-component that is equal to or less than a lower H-component threshold or equal to or more than an upper H-component threshold.

4. The method of claim 3 , wherein determining the first parameter further comprises:

computing a first histogram of the pixels' H-components, said first number being counted based on said first histogram.

5. The method of claim 3 , wherein determining the second parameter comprises:

counting a second number of pixels having a V-component that is equal to or more than a V-component threshold.

6. The method of claim 5 , wherein determining the second parameter further comprises:

computing a second histogram of the pixels' V-component, said second number being counted based on said second histogram.

7. The method of claim 1 , wherein if the first parameter is equal to or less than a first threshold or the second parameter is equal to or greater than a second threshold, then the image is classified as a daytime image.

8. The method of claim 1 , wherein if the first parameter is equal to or greater than a first threshold and the second parameter is equal to or less than a second threshold, then the image is classified as a nighttime image.

9. The method of claim 2 , wherein the obtained image is defined in the first color space, said first color space being a Red-Green-Blue (RGB) color space.

10. An apparatus that executes the method of claim 1 .

11. A non-transitory machine-readable medium including a computer program which when executed performs the method of claim 1 .

12. A camera system comprising:

a camera that obtains an image defined in a first color space; and

an image processor that:

determines a first parameter representative of a combination of a first amount of pixels in substantially the entire image that are sufficiently red and a second amount of pixels in substantially the entire image that are sufficiently yellow;

determines a second parameter representative of a third amount of pixels in substantially the entire image that are sufficiently light; and

classifies the image as one of a daytime image or a nighttime image based upon the first and second parameters.

13. The camera system of claim 12 , wherein said image processor is further operative to:

convert the obtained image from the first color space to a Hue-Saturation-Value (HSV) color space, wherein individual pixels of the image are defined by an H-component, an S-component, and a V-component.

14. The camera system of claim 13 , wherein determining the first parameter comprises:

counting a first number of pixels having an H-component that is equal to or less than a lower H-component threshold or equal to or more than an upper H-component threshold.

15. The camera system of claim 14 , wherein determining the first parameter further comprises:

computing a first histogram of the pixels' H-components, said first number being counted based on said first histogram.

16. The camera system of claim 14 , wherein determining the second parameter comprises:

counting a second number of pixels having a V-component that is equal to or more than a V-component threshold.

17. The camera system of claim 16 , wherein determining the second parameter further comprises:

computing a second histogram of the pixels' V-component, said second number being counted based on said second histogram.

18. The camera system of claim 12 , wherein if the first parameter is equal to or less than a first threshold or the second parameter is equal to or greater than a second threshold, then the image is classified as a daytime image.

19. The camera system of claim 12 , wherein if the first parameter is equal to or greater than a first threshold and the second parameter is equal to or less than a second threshold, then the image is classified as a nighttime image.

20. The camera system of claim 13 , wherein the first color space is a Red-Green-Blue (RGB) color space.

21. A method for classifying an image as being one of a daytime image or a nighttime image, said method comprising:

obtaining an image captured by a camera;

analyzing said obtained image with an image processor, said analyzing including:

determining a first parameter representative of at least one of: (i) a combination of an amount of pixels in substantially the entire image that are sufficiently red and an amount of pixels in substantially the entire image that are sufficiently yellow; or (ii) a combination of an amount of pixels in substantially the entire image that are sufficiently blue and an amount of pixels in substantially the entire image that are sufficiently green; and

determining a second parameter representative of at least one of: (i) an amount of pixels in substantially the entire image that are sufficiently light; or (ii) an amount of pixels in substantially the entire image that are sufficiently dark; and

classifying the image as one of a daytime image or a nighttime image based upon the first and second parameters.

Assignments (11)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 6, 2025
From: XEROX CORPORATION
To: GENESEE VALLEY INNOVATIONS, LLC
Reel/Frame 073842/0479 →
SECOND LIEN NOTES PATENT SECURITY AGREEMENT Recorded Jul 2, 2025
From: XEROX CORPORATION
To: U.S. BANK TRUST COMPANY, NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 071785/0550 →
FIRST LIEN NOTES PATENT SECURITY AGREEMENT Recorded Apr 11, 2025
From: XEROX CORPORATION
To: U.S. BANK TRUST COMPANY, NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 070824/0001 →
TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS RECORDED AT RF 064760/0389 Recorded Feb 13, 2024
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: XEROX CORPORATION
Reel/Frame 068261/0001 →
SECURITY INTEREST Recorded Feb 13, 2024
From: XEROX CORPORATION
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 066741/0001 →
SECURITY INTEREST Recorded Nov 20, 2023
From: XEROX CORPORATION
To: JEFFERIES FINANCE LLC, AS COLLATERAL AGENT
Reel/Frame 065628/0019 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVAL OF US PATENTS 9356603, 10026651, 10626048 AND INCLUSION OF US PATENT 7167871 PREVIOUSLY RECORDED ON REEL 064038 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Jun 28, 2023
From: PALO ALTO RESEARCH CENTER INCORPORATED
To: XEROX CORPORATION
Reel/Frame 064161/0001 →
SECURITY INTEREST Recorded Jun 22, 2023
From: XEROX CORPORATION
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 064760/0389 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 20, 2023
From: PALO ALTO RESEARCH CENTER INCORPORATED
To: XEROX CORPORATION
Reel/Frame 064038/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE NOTICE OF RECORDATION OF ASSIGNMENT PREVIOUSLY RECORDED ON REEL 028385 FRAME 0721. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Jul 10, 2012
From: SAHA, BHASKAR; DAVIES, DANIEL; RAGHAVAN, AJAY
To: PALO ALTO RESEARCH CENTER INCORPORATED
Reel/Frame 028542/0138 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 15, 2012
From: SAHA, BHASKAR; DAVIES, DANIEL; RAGHAVAN, AJAY
To: PALO ALTO RESEARCH CENTER INCORPORATED
Reel/Frame 028385/0721 →