Computer-readable record medium in which a telop character extraction program is recorded, telop character extraction method and telop character extraction apparatus
First Claim
1. A non-transitory computer-readable record medium in which a telop character extraction program to be executed by a computer is stored, the telop character extraction program comprising:
- an image input unit which receives a telop region image that contains telop characters cut out from color image data;
a gray-scale image generation unit which generates a gray-scale image from the telop region image;
an edge region extraction unit which generates an edge region image where an edge is extracted from within the gray-scale image and is inflated;
a histogram creation unit which uses the edge region image as a mask image, and which creates a luminance histogram of pixels of the gray-scale image as belong to the mask image;
a luminance class generation unit which divides a luminance of the luminance histogram into a plurality of luminance classes;
a character pattern candidate selection unit which generates binary images where pixels of luminances belonging to the individual classes are collected for the respective luminance classes, and which selects the binary image of the class of maximum area, as a telop character candidate image; and
a noise elimination unit which decides on a character color used in the telop region image, in correspondence with the telop character candidate image, and which extracts character pixels corresponding to the character color, from within the telop character candidate image, thereby to eliminate noise pixels and to generate a telop character image.
1 Assignment
0 Petitions
Accused Products
Abstract
A telop character extraction apparatus generates a gray-scale image from a telop region image, and generates an edge region image where an edge is extracted from within the gray-scale image. The apparatus uses the edge region image as a mask image, and creates a luminance histogram of pixels of the gray-scale image. The apparatus divides a luminance of the luminance histogram into luminance classes. The apparatus generates binary images where pixels of luminances belonging to the individual classes are collected for the respective luminance classes, and selects the binary image of the class of maximum area, as a telop character candidate image. The apparatus decides on a character color used in the telop region image, in correspondence with the telop character candidate image, and extracts character pixels corresponding to the character color, from within the telop character candidate image, thereby to eliminate noise pixels and to generate telop character image.
-
Citations
19 Claims
-
1. A non-transitory computer-readable record medium in which a telop character extraction program to be executed by a computer is stored, the telop character extraction program comprising:
-
an image input unit which receives a telop region image that contains telop characters cut out from color image data; a gray-scale image generation unit which generates a gray-scale image from the telop region image; an edge region extraction unit which generates an edge region image where an edge is extracted from within the gray-scale image and is inflated; a histogram creation unit which uses the edge region image as a mask image, and which creates a luminance histogram of pixels of the gray-scale image as belong to the mask image; a luminance class generation unit which divides a luminance of the luminance histogram into a plurality of luminance classes; a character pattern candidate selection unit which generates binary images where pixels of luminances belonging to the individual classes are collected for the respective luminance classes, and which selects the binary image of the class of maximum area, as a telop character candidate image; and a noise elimination unit which decides on a character color used in the telop region image, in correspondence with the telop character candidate image, and which extracts character pixels corresponding to the character color, from within the telop character candidate image, thereby to eliminate noise pixels and to generate a telop character image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A telop character extraction method comprising:
-
an image input step of receiving a telop region image that contains telop characters cut out from color image data; a gray-scale image generation step of generating a gray-scale image from the telop region image; an edge region extraction step of generating an edge region image where an edge is extracted from within the gray-scale image and is inflated; a histogram creation step of using the edge region image as a mask image, and creating a luminance histogram of pixels of the gray-scale image from the mask image; a luminance class generation step of dividing a luminance of the luminance histogram into luminance classes; a character pattern candidate selection step of generating binary images where pixels of luminances belonging to the individual classes are collected for the respective luminance classes, and selecting the binary image of the class of maximum area, as a telop character candidate image; and a noise elimination step of deciding a character color used in the telop region image, in correspondence with the telop character candidate image, and extracting character pixels corresponding to the character color, from within the telop character candidate image, thereby to eliminate noise pixels and to generate a telop character image. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. A telop character extraction apparatus comprising:
-
image input unit for receiving a telop region image which contains telop characters cut out from color image data; gray-scale image generation unit for generating a gray-scale image from the telop region image; edge region extraction unit for generating an edge region image where an edge is extracted from within the gray-scale image and is inflated; histogram creation unit for using the edge region image as a mask image, and for creating a luminance histogram of pixels of the gray-scale image as belonging to the mask image; luminance class generation unit for dividing a luminance of the luminance histogram into a plurality of luminance classes; character pattern candidate selection unit for generating binary images where pixels of luminances belonging to the individual classes are collected for the respective luminance classes, and for selecting the binary image of the class of maximum area, as a telop character candidate image; and noise elimination unit for deciding on a character color used in the telop region image, in correspondence with the telop character candidate image, and for extracting character pixels corresponding to the character color, from within the telop character candidate image, thereby to eliminate noise pixels and to generate a telop character image.
-
Specification