HSV color space-based document image processing method and system
A document image, color space technology, applied in the field of image processing, to achieve the effect of retaining effective pixels, saving manpower and time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] Such as figure 1 Shown, a kind of document image processing method based on HSV color space of the present invention comprises steps:
[0046] S1. Acquire the document image, and use the acquired RGB value of the document image.
[0047] S2. Convert the RGB values into corresponding HSV values to obtain a document image based on the HSV color space.
[0048] S3. Establish three channel masks respectively for hue, saturation and lightness, and pass the document image based on the HSV color space through the three mask channels respectively to obtain a filter mask of the target color.
[0049] Among them, such as figure 2 As shown, the steps to create three mask channels include:
[0050] A1, establish three channels that are respectively hue (H), saturation (S) and lightness (V);
[0051] A2. Set the filtering values of the three channels to obtain three channel masks.
[0052] Such as image 3 As shown, the step of obtaining the filter mask of the target co...
Embodiment 2
[0063] Such as Figure 8 Shown, a kind of document image processing system based on HSV color space of the present invention comprises:
[0064] The image acquisition module is used to acquire the document image, and according to the RGB value of the acquired document image;
[0065] An image conversion module, configured to convert the RGB value into a corresponding HSV value to obtain a document image based on the HSV color space;
[0066] A mask filter module, used to pass the document image based on the HSV color space through three mask channels respectively to obtain the filter mask of the target color;
[0067] The connected region analysis module is used to analyze the connected region of the filter mask of the target color to obtain the connected region of the target color.
[0068] Among them, the mask filtering module includes:
[0069] A separation unit for separating the document image based on the HSV color space into three channels, namely hue, saturation and...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


