Method for automatic generation of ternary map and foreground extraction method using the ternary map
An automatic generation and ternary graph technology, applied in the field of image processing, can solve problems such as limited work efficiency, limited application scenarios, difficult to popularize and apply algorithms, etc., and achieve the effect of good real-time performance and satisfactory solution speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] Such as figure 1 As shown, first obtain figure 2 Shown in the input image and according to image 3 The image shown is continuously scanned through windows, where adjacent windows have overlapping parts, and the horizontal step length and vertical step length of the window are obtained by the following formulas:
[0075] step_w=(int)(percentage*rate*width)+1;
[0076] step_h=(int)(percentage*rate*height)+1;
[0077] step_w is the horizontal step length of the window, step_h is the vertical step length of the window, width is the width of the input image, height is the height of the input image, percentage is the typical low value of the proportion of the foreground to the input image, according to this input image can be selected 40 %, rate is a typical low value of the ratio of bright and dark foreground. According to the input image this time, 25% can be selected, so step_w is slightly larger than 10% width and step_h is slightly larger than 10% height, thus setting 100 win...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


