Disclosure of Invention
The invention needs to have the following two important points:
(1) the image block with the lowest ambiguity grade in each image block is used as a representative image block, and corresponding median filtering processing is executed on each image block based on the noise type number of the representative image block, so that the self-adaptive capacity of image processing is improved;
(2) and adjusting the definition of the video playing picture of the current mobile terminal based on the number of the video terminals in the environment of the wireless local area network so as to fully utilize the wireless data resources of the wireless local area network.
According to an aspect of the present invention, there is provided a definition adjusting mechanism based on the number of video terminals, the mechanism including:
the source identification equipment is arranged in the mobile terminal and used for identifying whether the source of the video picture currently played by the playing driving equipment is from a wireless local area network or not;
the content selection equipment is arranged in the mobile terminal, is respectively connected with the first shooting equipment and the second shooting equipment of the mobile terminal, and is used for taking the shooting equipment with the face object with the area exceeding the limit in the first shooting equipment and the second shooting equipment as non-content output equipment and taking the rest shooting equipment as content output equipment;
the quantity analysis equipment is arranged in the mobile terminal, is connected with the shooting equipment serving as content output equipment, and is used for carrying out object detection on the received image content to obtain each area where each object in the image content is respectively located and outputting the quantity of each area as representative quantity;
the image block extraction device is connected with the quantity analysis device and is used for executing segmentation processing on the image content to obtain each image block with the quantity consistent with the representative quantity;
the ambiguity detection equipment is connected with the image block extraction equipment and is used for executing ambiguity detection operation on each image block of the received image content to obtain a corresponding ambiguity grade, wherein the higher the ambiguity grade is, the more ambiguous the image content of the corresponding image block is;
the parameter identification equipment is used for receiving each ambiguity grade of each image block of the image content, comparing each ambiguity grade and outputting the image block with the lowest ambiguity grade as a representative image block;
the type identification equipment is connected with the parameter identification equipment and is used for carrying out content identification operation on the representative image block so as to obtain the corresponding noise type number;
the adaptive filtering device is connected with the type identification device and is used for executing the following operations on each image block: performing corresponding median filtering processing on the image blocks based on the number of the noise types to output corresponding adaptive filtering blocks;
the signal combination equipment is connected with the self-adaptive filtering equipment and used for receiving each self-adaptive filtering block and carrying out signal combination on each self-adaptive filtering block so as to obtain a self-adaptive filtering image corresponding to the image content;
the content arrangement device is connected with the signal combination device and is used for respectively executing image smoothing operation on each block combination part in the self-adaptive filtering image so as to obtain a corresponding content arrangement image;
the definition adjusting device is arranged in the mobile terminal, is connected with the content sorting device, and is used for analyzing the number of video terminals in the content sorting image based on the imaging characteristics of the video terminals and adjusting the definition of a target based on the number of the video terminals;
and the playing driving equipment is arranged in the mobile terminal, is respectively connected with the source identification equipment and the definition adjusting equipment, and is used for adjusting the currently played video picture to enable the definition of the currently played video picture to be consistent with the definition of the target when the source of the currently played video picture comes from a wireless local area network.
According to another aspect of the present invention, there is also provided a definition adjusting method based on the number of video terminals, the method including using a definition adjusting mechanism based on the number of video terminals as described above for adjusting the definition of the video playing picture of the current mobile terminal based on the number of video terminals in the environment of the wireless local area network.
The definition adjusting mechanism based on the number of the video terminals is compact in design and convenient to operate. The definition of the video playing picture of the current mobile terminal is adjusted based on the number of the video terminals in the environment of the wireless local area network, so that the wireless data resources of the wireless local area network are fully utilized.
Detailed Description
Embodiments of the sharpness adjustment mechanism based on the number of video terminals according to the present invention will be described in detail below with reference to the accompanying drawings.
Definition refers to the definition of detail, image lines and their boundaries in a video, and is generally a term used to compare image quality by looking at the definition of the reproduced image from the point of view of a video recorder.
The horizontal resolution can reach 575x4/3 as high as 766 line. But one of the main factors limiting the number of lines is also the bandwidth. Empirical data indicates that 80 lines/MHz can be used to calculate the number of tv lines (number of lines) that can be reproduced. Such as 6MHz bandwidth, can be resolved by the horizontal resolution force to image quality of 480 lines. The low-grade home video recorder, such as VHS, can have the definition of 240 lines at most, the high-grade home video recorder, such as S-V, records the digital signal format, the definition is above 500 lines, the definition of a common television is about 280 lines, and the definition of VCD is 230 lines.
At present, it is fashionable to use the wireless lan to obtain video data for local playing of the mobile terminal, so as to ensure that the user can enjoy the richest video resources while spending less cost, however, if a plurality of video terminals are placed in the limited wireless lan for video playing, the wireless bandwidth resources obtained by each video terminal are limited, and the playing progress will be seriously affected.
In order to overcome the defects, the definition adjusting mechanism based on the number of the video terminals is built, and the corresponding technical problems can be effectively solved.
Fig. 1 is a schematic structural diagram of a video terminal to which a mechanism for adjusting sharpness based on the number of video terminals is applied according to an embodiment of the present invention.
The definition adjusting mechanism based on the number of video terminals shown according to the embodiment of the present invention includes:
the source identification equipment is arranged in the mobile terminal and used for identifying whether the source of the video picture currently played by the playing driving equipment is from a wireless local area network or not;
the content selection equipment is arranged in the mobile terminal, is respectively connected with the first shooting equipment and the second shooting equipment of the mobile terminal, and is used for taking the shooting equipment with the face object with the area exceeding the limit in the first shooting equipment and the second shooting equipment as non-content output equipment and taking the rest shooting equipment as content output equipment;
the quantity analysis equipment is arranged in the mobile terminal, is connected with the shooting equipment serving as content output equipment, and is used for carrying out object detection on the received image content to obtain each area where each object in the image content is respectively located and outputting the quantity of each area as representative quantity;
the image block extraction device is connected with the quantity analysis device and is used for executing segmentation processing on the image content to obtain each image block with the quantity consistent with the representative quantity;
the ambiguity detection equipment is connected with the image block extraction equipment and is used for executing ambiguity detection operation on each image block of the received image content to obtain a corresponding ambiguity grade, wherein the higher the ambiguity grade is, the more ambiguous the image content of the corresponding image block is;
the parameter identification equipment is used for receiving each ambiguity grade of each image block of the image content, comparing each ambiguity grade and outputting the image block with the lowest ambiguity grade as a representative image block;
the type identification equipment is connected with the parameter identification equipment and is used for carrying out content identification operation on the representative image block so as to obtain the corresponding noise type number;
the adaptive filtering device is connected with the type identification device and is used for executing the following operations on each image block: performing corresponding median filtering processing on the image blocks based on the number of the noise types to output corresponding adaptive filtering blocks;
the signal combination equipment is connected with the self-adaptive filtering equipment and used for receiving each self-adaptive filtering block and carrying out signal combination on each self-adaptive filtering block so as to obtain a self-adaptive filtering image corresponding to the image content;
the content arrangement device is connected with the signal combination device and is used for respectively executing image smoothing operation on each block combination part in the self-adaptive filtering image so as to obtain a corresponding content arrangement image;
the definition adjusting device is arranged in the mobile terminal, is connected with the content sorting device, and is used for analyzing the number of video terminals in the content sorting image based on the imaging characteristics of the video terminals and adjusting the definition of a target based on the number of the video terminals;
and the playing driving equipment is arranged in the mobile terminal, is respectively connected with the source identification equipment and the definition adjusting equipment, and is used for adjusting the currently played video picture to enable the definition of the currently played video picture to be consistent with the definition of the target when the source of the currently played video picture comes from a wireless local area network.
Next, a detailed structure of the definition adjusting mechanism based on the number of video terminals of the present invention will be further described.
In the definition adjusting mechanism based on the number of video terminals:
performing a corresponding median filtering process on the image block based on the number of noise types to output a corresponding adaptive filtering partition comprises: the smaller the number of noise types, the smaller the median filtering window used by the corresponding median filtering process performed.
The definition adjusting mechanism based on the number of the video terminals may further include:
and the smooth spatial filtering equipment is connected with the content finishing equipment and is used for executing smooth spatial filtering processing on the received content finishing image so as to obtain and output a corresponding smooth spatial filtering image.
The definition adjusting mechanism based on the number of the video terminals may further include:
and the filter sharpening device is connected with the smooth spatial filtering device and is used for carrying out image sharpening processing based on a Smart Sharpen filter on the received smooth spatial filtering image so as to obtain a filter sharpened image and outputting the filter sharpened image.
The definition adjusting mechanism based on the number of the video terminals may further include:
and the quantity identification device is connected with the filter sharpening device and is used for receiving the filter sharpened image and the smooth spatial filtering image, analyzing the quantity of the noise types of the smooth spatial filtering image based on each pixel value of each pixel point of the smooth spatial filtering image, and analyzing the quantity of the noise types of the filter sharpened image based on each pixel value of each pixel point of the filter sharpened image.
The definition adjusting mechanism based on the number of the video terminals may further include:
and the command analysis device is connected with the quantity identification device and is used for sending a first control command when the proportion obtained by dividing the quantity of the noise types of the filter sharpened image by the quantity of the noise types of the smooth spatial filtering image is less than or equal to a preset proportion threshold value.
In the definition adjusting mechanism based on the number of video terminals:
the command parsing device is further configured to issue a second control command when a ratio obtained by dividing the number of noise types of the filter-sharpened image by the number of noise types of the smooth spatial filtering image is greater than the preset ratio threshold.
The definition adjusting mechanism based on the number of the video terminals may further include:
a CP L D device, respectively connected to the sharpness adjusting device, the command parsing device, and the filter sharpening device, and configured to control the filter sharpening device to perform image sharpening processing based on a Smart sharp filter on the filter sharpened image again when receiving the second control command, so as to obtain a corresponding double-filtered image;
wherein the CP L D device is further configured to output the filter-sharpened image as a double-filtered image upon receiving the first control command;
wherein the CP L D device is further configured to send the dual filtered image to the sharpness adjusting apparatus in place of the content groomed image;
the CP L D device is internally provided with a storage unit, and the internally arranged storage unit is used for temporarily storing the double-filtering image.
In the definition adjusting mechanism based on the number of video terminals:
a serial communication link and a parallel communication link are arranged between the command analysis equipment and the quantity identification equipment, and the serial communication link is used for transmitting control commands between the command analysis equipment and the quantity identification equipment;
wherein the parallel communication link is used to transfer image data between the command parsing device and the quantity recognition device.
Meanwhile, in order to overcome the defects, the invention also provides a definition adjusting method based on the number of the video terminals, and the method comprises the step of using the definition adjusting mechanism based on the number of the video terminals to adjust the definition of the video playing picture of the current mobile terminal based on the number of the video terminals in the environment where the wireless local area network is located.
The CP L D (Complex Programmable L organic Device) Complex Programmable logic Device is a Device developed from PA L and GA L devices, is relatively large-scale and Complex in structure, belongs to the large-scale integrated circuit range, and is a digital integrated circuit with logic functions built by users according to respective needs.
The CP L D is mainly composed of programmable logic Macro cells (MC, Macro cells) surrounding a programmable interconnection matrix unit, wherein the MC structure is complex and has a complex I/O unit interconnection structure, a specific circuit structure can be generated by a user according to needs to complete a certain function, and a logic circuit designed by the CP L D adopts metal wires with fixed length to interconnect each logic block, so that the logic circuit has time predictability and the defect of incomplete time sequence prediction of a segmented interconnection structure is avoided.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
Although the present invention has been described with reference to the above embodiments, it should be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the spirit and scope of the invention. Therefore, the protection scope of the present invention should be subject to the scope defined by the claims of the present application.