Terminal and image processing method and device
An image processing device and image processing technology, applied in the field of image processing, can solve the problems of cartooning failure, large amount of calculation, cartooning, etc., and achieve the effect of strengthening edge transition, small amount of calculation, and strong self-adaptation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] In this embodiment, the color space of the first image includes a brightness channel and a color channel, such as: CIELab color space or YUV color space. image 3 It is a schematic flow chart of the image processing method in the first embodiment of the present invention, such as image 3 As shown, the image processing method includes:
[0045] Step S11: quantizing the pixel points of the first image based on the brightness channel value of the first image to obtain a second image including at least one region with consistent texture;
[0046] Step S12: Use an edge detection algorithm to determine the edge area in the first image;
[0047] Step S13: Combine the color channel of the first image and the brightness channel of the second image to fill the texture consistent area;
[0048] Step S14: Fill the edge area to separate the texture consistent area.
[0049] The above steps are explained one by one below.
[0050] If the color space of the image to be processed is the RGB colo...
Embodiment 2
[0095] In this embodiment, the color space of the first image includes color channels. Specifically, the color space of the first image in this embodiment is an RGB color space. Image 6 It is a schematic flowchart of the image processing method of the second embodiment of the present invention, such as Image 6 As shown, the image processing method includes:
[0096] Step S21: Calculate the color distance of the pixel based on the color channel value of the pixel of the first image;
[0097] Step S22: Determine the area where the pixel points with the color distance within the predetermined range are located as the texture consistent area;
[0098] Step S23: Set a predetermined area close to the edge in the texture consistency area as the edge area;
[0099] Step S24: setting corresponding color channel values for pixels in the texture consistent area;
[0100] Step S25: Fill the edge area to separate the texture uniform area.
[0101] The steps are described below. In this embodimen...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 