CN108055578A - A kind of image processing method, device and vision signal splicing device - Google Patents
A kind of image processing method, device and vision signal splicing device Download PDFInfo
- Publication number
- CN108055578A CN108055578A CN201711290355.9A CN201711290355A CN108055578A CN 108055578 A CN108055578 A CN 108055578A CN 201711290355 A CN201711290355 A CN 201711290355A CN 108055578 A CN108055578 A CN 108055578A
- Authority
- CN
- China
- Prior art keywords
- piecemeal
- pixel unit
- resolution
- resolution ratio
- threshold
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 17
- 238000000034 method Methods 0.000 claims abstract description 35
- 230000008569 process Effects 0.000 claims abstract description 13
- 238000002224 dissection Methods 0.000 claims abstract description 11
- 238000012545 processing Methods 0.000 claims description 33
- 238000004590 computer program Methods 0.000 claims description 3
- 238000005192 partition Methods 0.000 description 10
- 238000006243 chemical reaction Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000002427 irreversible effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440263—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Systems (AREA)
Abstract
The present invention provides a kind of image processing method, device and vision signal splicing device, image processing methods to include:The picture signal of signal source is gathered, obtains the image resolution ratio of picture signal;When judging that described image resolution ratio is more than default resolution threshold, piecemeal is carried out to picture signal, makes the described resolution threshold of resolution ratio for each pixel unit that piecemeal obtains;It determines the resolution ratio of each pixel unit, according to the resolution adjustment clock frequency of pixel unit, dissection process is carried out with each pixel that the clock frequency after adjustment includes the pixel unit.The embodiment of the present invention can reduce the clock frequency of processor, extend the service life of processor.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of image processing method, device and vision signal
Splicing device.
Background technology
With stepping up for digital signal quality, the image resolution ratio of current main-stream has reached 2K ranks, and (resolution ratio is
1920 × 1080) or even 4K ranks (resolution ratio be 3840 × 2160), by taking 4K image quality as an example, it means that each two field picture picture
Comprising pixel number be 3840 × 2160.
Letter of the pixel handled within the unit interval far more than 8,000,000 pixels is needed when handling 4K rank image quality
Breath, causes CPU processor clock frequency can be independently improved, when handling such signal to ensure under conditions of the time is constant
More signal processing work are completed, can so cause CPU processor for a long time in overclocking operating status, CPU processor temperature
Height is spent, easily chip makes physical is caused to damage, the service life of extreme influence chip.It will also result in addition, clock frequency is excessively high
The unstable working condition of CPU processor.
Inventor has found under study for action, in the prior art, can will be defeated in order to realize the purpose for reducing cpu clock frequency
Enter signal image resolution ratio first reduced after, then carry out color space conversion, but so do and can cause irreversible image quality
Loss, it is urgent to provide a kind of signal processing solutions for being able to maintain that original image quality for this field at present.
The content of the invention
In view of this, it is an object of the invention to provide a kind of image processing method and device, to solve the above problems.
In a first aspect, an embodiment of the present invention provides a kind of image processing method, the described method includes:
The picture signal of signal source is gathered, obtains the image resolution ratio of described image signal;
When judging that described image resolution ratio is more than default resolution threshold, piecemeal is carried out to described image signal, is made point
The resolution ratio for each pixel unit that block obtains is respectively less than the resolution threshold;
The resolution ratio of each pixel unit is determined, according to the resolution adjustment clock frequency of the pixel unit, with adjustment
Each pixel that clock frequency afterwards includes the pixel unit carries out dissection process.
Second aspect, the embodiment of the present invention additionally provide a kind of image processing apparatus, including:
Acquisition module for gathering the picture signal of signal source, obtains the image resolution ratio of described image signal;
Piecemeal module, for when judging that described image resolution ratio is more than default resolution threshold, to described image signal
Piecemeal is carried out, the resolution ratio for each pixel unit that piecemeal obtains is made to be respectively less than the resolution threshold;
Determining module, for determining the resolution ratio of each pixel unit, during according to the resolution adjustment of the pixel unit
Clock frequency carries out dissection process with each pixel that the clock frequency after adjustment includes the pixel unit.
The third aspect, an embodiment of the present invention provides a kind of vision signal splicing device, including:Above-mentioned second aspect is appointed
Image processing apparatus described in one possible embodiment.
A kind of fourth aspect, computer readable storage medium of the embodiment of the present invention, is stored thereon with computer program, the journey
The step of the method as any such as first aspect is realized when sequence is executed by processor.
A kind of image processing method provided in an embodiment of the present invention, device and vision signal splicing device, wherein image
In processing method, the picture signal of signal source, the image resolution ratio of detection image signal are gathered;When judging that it is pre- that the resolution ratio is more than
If during resolution threshold, piecemeal processing is carried out to picture signal, obtains multiple pixel units;Determine the resolution of each pixel unit
Rate, with the resolution adjustment clock frequency according to each pixel unit, and with the resolution ratio after adjustment to the picture that is obtained after piecemeal
Each pixel carries out dissection process included in plain unit;With being used in the prior art by the image resolution ratio of input signal
Reduce and compare, method provided herein is able to maintain that the image letter of signal source while cpu clock frequency is reduced
Number original image quality.
For the above objects, features and advantages of the present invention is enable to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate
Appended attached drawing, is described in detail below.
Description of the drawings
It in order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of scope, for those of ordinary skill in the art, without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of flow diagram for image processing method that one embodiment of the present of invention is provided;
Fig. 2 a show a kind of signal that piecemeal processing is carried out to picture signal that one embodiment of the present of invention is provided
Figure;
Fig. 2 b show that the another kind that one embodiment of the present of invention is provided carries out piecemeal processing to picture signal and shows
It is intended to;
Fig. 3 a show that the another kind that one embodiment of the present of invention is provided carries out piecemeal processing to picture signal and shows
It is intended to;
Fig. 3 b show that the another kind that one embodiment of the present of invention is provided carries out piecemeal processing to picture signal and shows
It is intended to;
Fig. 3 c show that the another kind that one embodiment of the present of invention is provided carries out piecemeal processing to picture signal and shows
It is intended to;
Fig. 4 a show that the another kind that one embodiment of the present of invention is provided carries out piecemeal processing to picture signal and shows
It is intended to;
Fig. 4 b show that the another kind that one embodiment of the present of invention is provided carries out piecemeal processing to picture signal and shows
It is intended to;
Fig. 5 shows a kind of flow diagram for image processing method that one embodiment of the present of invention provides;
Fig. 6 shows a kind of structure diagram for image processing apparatus that one embodiment of the present of invention provides;
Fig. 7 shows a kind of structure diagram for image processing apparatus that one embodiment of the present of invention provides.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
The technical solution in the embodiment of the present invention is clearly and completely described in middle attached drawing, it is clear that described embodiment is only
It is part of the embodiment of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings is real
Applying the component of example can configure to arrange and design with a variety of.Therefore, below to provide in the accompanying drawings the present invention
The detailed description of embodiment is not intended to limit the scope of claimed invention, but is merely representative of the selected reality of the present invention
Apply example.Based on the embodiment of the present invention, institute that those skilled in the art are obtained on the premise of creative work is not made
There is other embodiment, belong to the scope of protection of the invention.
In view of in the prior art, with the continuous promotion of user demand, image resolution ratio also steps up, when CPU exists
The pixel for needing to handle within the unit interval when handling 4K rank image quality causes CPU far more than the information of 8,000,000 pixels
Processor can independently improve clock frequency when handling such signal, when CPU is when being chronically at high-frequency operating status,
Performance can be affected;And after use is first reduced the image resolution ratio of input signal, then carry out color space conversion
Mode although reducing the clock frequency of CPU, can cause irreversible image quality to lose;Based on this, the embodiment of the present invention carries
A kind of image processing method, device and vision signal splicing device have been supplied, has been described below by embodiment.
With reference to embodiment shown in FIG. 1, a kind of image processing method is provided in the present embodiment, this method includes following step
Suddenly:
S101, the picture signal for gathering signal source obtain the image resolution ratio of picture signal;
S102, when judging that described image resolution ratio is more than default resolution threshold, piecemeal is carried out to described image signal,
The resolution ratio for each pixel unit that piecemeal obtains is made to be respectively less than the resolution threshold;
After the above-mentioned image resolution ratio for detecting picture signal, the image resolution ratio and default resolution threshold are carried out
Compare, which is permitted by when disclosure satisfy that CPU is worked in the range of the secure threshold of safe clock frequency
Perhaps maximum resolution when the image resolution ratio for detecting picture signal is more than the default resolution threshold, that is, represents that CPU exists
Clock frequency when handling the picture signal can exceed secure threshold scope;Such as this is set to preset resolution threshold and is
1920 × 1080, the secure threshold of corresponding cpu clock frequency is 140MHz.
Substitutability, above-mentioned can also be by calculating when handling the picture signal in the unit interval in fpga chip
CPU needed for pixel number p to be processed, when the pixel number beyond processor can handle secure threshold institute it is right
During the pixel number answered, described image resolution ratio is handled according to segment partition scheme into property piecemeal.FPGA in the above-mentioned unit interval
Pixel number to be processed is calculated in the following manner needed for CPU in chip:P=horizontal resolutions × vertical resolution
Rate × picture frame per second.
It is above-mentioned that piecemeal, each pixel for obtaining piecemeal are carried out to described image signal in a possible embodiment
The resolution ratio of unit is less than the resolution threshold, specifically includes:
The multiple proportion of image resolution ratio and default resolution threshold based on picture signal determines piecemeal number, according to this
Piecemeal number carries out piecemeal to picture signal, so as to get the resolution ratio of each pixel unit be respectively less than the resolution threshold.
Illustratively, when the resolution ratio of picture signal is 3840 × 2160, default resolution threshold for 1920 ×
1080, the resolution ratio of picture signal and the multiple proportion of default resolution threshold are 4 times at this time, are determined based on the multiple proportion
Piecemeal number is the integer more than or equal to 4, is then carried out according to the definite piecemeal number to picture signal according to identical point
Resolution area carries out piecemeal, and the resolution ratio of the pixel unit after piecemeal has been able to meet and make at the clock frequency of CPU at this time
In in the threshold range of safety.
It is above-mentioned that piecemeal, each picture for obtaining piecemeal are carried out to described image signal in another possible embodiment
What the resolution ratio of plain unit was less than the resolution threshold or was accomplished by the following way:
When the resolution ratio for judging picture signal is more than default resolution threshold, piecemeal for the first time is carried out to the picture signal
Obtain M pixel unit;M is integer, and M >=2.
The image resolution ratio of each pixel unit obtained above is obtained respectively, judges the image resolution of each pixel unit
Whether rate is more than default resolution threshold, if being more than, the pixel unit of default resolution threshold is more than to resolution ratio again
Piecemeal is carried out, is constantly repeated according to this, until the resolution ratio of the pixel unit finally obtained is respectively less than default resolution threshold;It is preferred that
Ground, above-mentioned partitioned mode are to carry out decile according to identical elemental area.
With reference to shown in Fig. 2 a, a kind of piecemeal example of picture signal is shown in the figure, by picture signal in the present embodiment
Image resolution ratio halved according to the direction of horizontal resolution;Such as the resolution ratio of picture signal is 1920 × 1080,
Using processing mode line by line, when not using piecemeal processing strategy, CPU will handle 1920 × 1080 pixels each second, and
According to the rule handled line by line, the pixel of single treatment is 1920, is divided into 1080 processing.
At this time if halved along the direction of horizontal resolution, two identical pixel units of elemental area are obtained,
Respectively:First pixel unit 1 and the second pixel unit 2, the pixel list resolution ratio respectively obtained, and whether judge the resolution ratio
More than default resolution threshold, if being more than, then continue to carry out at piecemeal the first pixel unit 1 and the second pixel unit 2
Reason, it is preferable that with reference to shown in Fig. 3 a, continue to halve along horizontal resolution for 1 yuan to the first pixel list, obtain the first sub- picture
Plain 11 and second sub-pixel unit 12 of unit;Second pixel unit 2 is continued to halve along horizontal resolution and obtains the 3rd
21 and the 4th sub-pixel unit 22 of sub-pixel unit;Or with reference to shown in Fig. 3 b, to the first pixel unit 1 and the second pixel unit
2 are halved respectively along vertical resolution.
It is above-mentioned to be halved according to horizontal resolution, the resolution ratio that image resolution ratio is 1920 × 1080 is split into two
A 960 × 1080 resolution ratio, the resolution ratio of 1 and second pixel unit 2 of the first pixel unit is 960 × 1080;Such CPU
The pixel quantity that single is handled line by line is reduced to 960;When not doing piecemeal processing, the clock frequency of CPU processor is
148.5MHz, after piecemeal processing, the clock frequency of CPU processor is reduced to 74.25MHz when handling each rectangular area, when being former
The 1/2 of clock frequency.
With reference to shown in Fig. 2 b, the partitioned mode in the present embodiment is that image resolution ratio is second-class along vertical resolution progress
Point, the first pixel unit 1 and the second pixel unit 2 are obtained, obtains the resolution ratio of the first pixel unit or the second pixel unit,
And by the resolution ratio compared with default resolution threshold, if the resolution of 1 and second pixel unit 2 of the first pixel unit
Rate then further carries out piecemeal still above default resolution threshold to the first pixel unit and the second pixel unit, it is preferable that
With reference to shown in Fig. 3 b, above-mentioned first pixel unit and the second pixel unit according to vertical resolution are halved respectively, obtained
To First Line pixel subelement 11, the second pixel subelement 12, the 3rd pixel subelement 21 and the 4th pixel subelement 22;Or
With reference to shown in Fig. 3 c, above-mentioned first pixel unit and the second pixel unit are halved respectively along horizontal resolution by person;On
Vertical point of the equal and each pixel unit of the horizontal resolution for each pixel unit (or pixel subelement) stated
Resolution is equal.
In examples detailed above, when the image resolution ratio of picture signal is 3840 × 2160, it will scheme along horizontal resolution direction
As resolution ratio is divided into four identical pixel units of elemental area, the resolution ratio of each pixel unit is 960 × 2160.It is not doing
During piecemeal processing, the clock frequency of CPU processor is 594MHz, after the processing of above-mentioned piecemeal, when handling each rectangular area
The clock frequency of CPU processor is reduced to 148.5MHz, for the 1/4 of former clock frequency.
Alternatively, when the resolution ratio for judging picture signal is more than default resolution threshold, which is carried out first
Secondary piecemeal obtains M pixel unit;The image resolution ratio of each pixel unit obtained above is calculated respectively, judges each pixel
Whether the image resolution ratio of unit is more than default resolution threshold, if more than to get to pixel unit resolution ratio it is big
In default resolution threshold, then piecemeal is re-started to above-mentioned picture signal, obtain N number of pixel unit, judge N number of picture respectively
The resolution ratio of plain unit, if the resolution ratio for still having pixel unit is more than default resolution threshold, to picture signal again into
Row piecemeal obtains pixel units more more than number before, is repeated in the image point until each pixel unit finally obtained
Resolution is respectively less than the default resolution threshold;Wherein, above-mentioned M, N are integer, and M >=2, N>M.
With reference to shown in Fig. 4 a, in the present embodiment, when being split for the first time to picture signal, by picture signal along horizontal resolution
Rate (can also be according to vertical resolution) is split into two pixel units, is respectively the first pixel unit 1 and the second picture
Plain unit 2 judges the resolution ratio of first pixel unit and the second pixel unit respectively, by the resolution ratio and default resolution ratio threshold
Value is compared, if the resolution ratio is more than default resolution threshold, with reference to shown in Fig. 4 b, then picture signal is re-started point
Three pixel units are cut into, are respectively:First pixel unit 1, the second pixel unit 2 and the 3rd pixel unit 3, and further really
It is fixed this time to split the resolution ratio of obtained pixel unit and the relation of default resolution threshold, preset resolution ratio threshold if less than this
Value then stops continuing to split, if more than the pixel unit being then split again for 4 or more than 4;Preferably, on
The piecemeal stated be according to homalographic carry out piecemeal to get to each pixel unit elemental area it is equal, and make
The vertical resolution of the equal and each pixel unit of horizontal resolution of each pixel unit is equal.
S103, the resolution ratio for determining each pixel unit, according to the resolution adjustment clock frequency of the pixel unit, with
Each pixel that clock frequency after adjustment includes the pixel unit carries out dissection process.
It is above-mentioned that picture signal is carried out after piecemeal obtains pixel unit (or sub-pixel unit), to determine the pixel list
The resolution ratio of first (or sub-pixel unit), according to the resolution adjustment clock frequency, and with the clock frequency pair after adjustment
Each pixel that the pixel unit is included carries out dissection process.
A kind of image processing method provided in the present embodiment, for high-resolution input signal (mainly for figure
Picture resolution ratio is more than 1920 × 1080, and frame per second is the picture signal of more than 60fps, when handling the level image signal, at CPU
The clock frequency of reason device reaches 148.5MHz, it is generally the case that the clock frequency secure threshold of CPU processor is 140MHz), it adopts
With the mode that piecemeal processing is carried out to picture signal, so as to get each pixel unit resolution ratio reduce, less than default resolution
Rate threshold value reduces the elemental area (i.e. pixel number) handled by CPU processor in the unit interval, to control CPU processor
Clock frequency be in the range of secure threshold.
In the specific embodiment of the present invention, a kind of image processing method is provided, with reference to shown in Fig. 5, at the image
Reason method includes the following steps:
S301, the first fpga chip (Field-Programmable Gate Array, field programmable gate array) obtain
The image resolution ratio of the picture signal of the signal source collected, and described image resolution ratio is sent to microprocessor;
When S302, microprocessor judge that described image resolution ratio is more than default resolution threshold, based on the resolution ratio and
The resolution threshold determines segment partition scheme, and the segment partition scheme is sent to the first fpga chip;
The default resolution threshold is that disclosure satisfy that the CPU in the first fpga chip works in safe reference clock frequency
Permitted maximum resolution when interior, CPU handle the clock frequency of the image resolution ratio as secure threshold, are somebody's turn to do when resolution ratio is more than
During default resolution threshold, clock frequency of the processor when handling the picture signal can exceed secure threshold scope;
Such as it is 1920 × 1080 to set the default resolution threshold, the secure threshold of cpu clock frequency is 140MHz at this time.
After S303, the first fpga chip receive above-mentioned segment partition scheme, described image resolution ratio is carried out based on segment partition scheme
Piecemeal processing,;
The above-mentioned configuration information based in control command carries out piecemeal processing to image resolution ratio, including in the following manner:
S304, the first fpga chip determine the resolution ratio of above-mentioned multiple pixel units, the resolution ratio based on the pixel unit
Cpu clock frequency is adjusted, is clicked through with each pixel that the clock frequency after adjustment included to the pixel unit
Row dissection process.
In the present embodiment, the first above-mentioned fpga chip gathers the picture signal of outside source, and detects image letter
Number image resolution ratio, image resolution ratio is sent to microprocessor, microprocessor receives the image resolution ratio, by the image resolution
Rate is compared with default resolution threshold, when the image resolution ratio is more than default resolution threshold, based on the image resolution
Rate and default resolution threshold determine segment partition scheme, this determines that segment partition scheme includes:Based on described image resolution ratio and default point
The multiple proportion of resolution threshold value determines piecemeal number;And then first fpga chip according to the piecemeal number carry out piecemeal so that
To the resolution ratio of each pixel unit be respectively less than the resolution threshold;Or microprocessor determines piecemeal in the following manner
Scheme:Calculate the image resolution ratio that the M pixel unit that piecemeal obtains for the first time is carried out to picture signal;Judge each pixel unit
Image resolution ratio whether be more than default resolution threshold, if it does, being more than the pixel unit of resolution threshold to resolution ratio
Piecemeal is carried out again or piecemeal is re-started to described image signal obtaining N number of pixel unit, until finally obtaining each
The image resolution ratio of pixel unit is respectively less than the default resolution threshold;Wherein, M, N are integer, and M >=2, N>M;And then
Finally definite partitioned mode and piecemeal number, the first fpga chip, and then first are sent to by the partitioned mode and piecemeal number
Fpga chip carries out piecemeal according to the partitioned mode and piecemeal number to picture signal.
Above-mentioned partitioned mode includes:Piecemeal is carried out along horizontal resolution and/or carries out piecemeal along vertical resolution.
Preferably, above-mentioned segment partition scheme, further includes:Described image signal is divided according to identical resolution ratio area
Block;And piecemeal is carried out along horizontal resolution and/or vertical resolution, makes the level for each pixel unit that piecemeal obtains
Resolution ratio and vertical resolution difference correspondent equal.
After microprocessor determines segment partition scheme, the first fpga chip is carried out according to above-mentioned segment partition scheme to image resolution ratio
Piecemeal processing is carried out, obtains multiple pixel units, and determines the resolution ratio of each pixel unit, based on the resolution adjustment
The clock frequency of CPU;And then it reduces clock frequency and obtains effect.
It should be noted that above-mentioned be merely illustrative of the mode for carrying out image block, it in the specific implementation can be with
There are many other partitioned modes, therefore above-mentioned it should not be construed as limitation of the invention.
In another specific embodiment of the present invention, the above method further includes following steps:
Each pixel unit is carried out RGB color conversion by the first fpga chip, obtains the RGB numbers of each pixel unit
According to, which is stored respectively to DDR (Double Data Rate, Double Data Rate synchronous DRAM) chip,
And the storage address correspondence of each pixel unit and the pixel unit is sent to microprocessor, so that the microprocessor
The correspondence is further sent to the second fpga chip, the second fpga chip is obtained based on the storage address in the correspondence
The RGB color data of corresponding pixel unit are taken, which is subjected to color space inverse conversion, and obtains and shows
The consistent signal of video signal format that terminal can be shown, transmits the signal to display terminal and is shown.
In another possible embodiment, the first fpga chip of input card to the image resolution ratio of picture signal into
After the processing of row piecemeal, the pixel unit obtained after processing is subjected to RGB color information conversion, obtains corresponding RGB data,
And the RGB data is transmitted to the second fpga chip of corresponding output card by switch card, the second fpga chip, which receives, to be cut
The RGB data that card is sent is changed, after which is carried out color space inverse conversion, exports to corresponding display terminal and is shown
Show.
In another embodiment of the present invention, there is also provided a kind of image processing apparatus, with reference to shown in Fig. 5, the device bag
It includes:
Acquisition module 401 for gathering the picture signal of signal source, obtains the resolution ratio of described image signal;
Piecemeal module 402, for when judging that described image resolution ratio is more than default resolution threshold, believing described image
Number piecemeal is carried out, the resolution ratio for each pixel unit that piecemeal obtains is made to be respectively less than the resolution threshold;
Determining module 404, for determining the resolution ratio of each pixel unit, according to the resolution adjustment of the pixel unit
Clock frequency carries out dissection process with each pixel that the clock frequency after adjustment includes the pixel unit.
In a possible embodiment, above-mentioned piecemeal module is specifically used for:
Piecemeal number is determined based on the multiple proportion of described image resolution ratio and default resolution threshold, according to the piecemeal
Number carries out piecemeal, so as to get the resolution ratio of each pixel unit be respectively less than the resolution threshold.
In another possible embodiment, above-mentioned piecemeal module is specifically used for:
Piecemeal for the first time is carried out to described image signal and obtains M pixel unit, calculates each pixel unit respectively
Image resolution ratio;
Judge whether the image resolution ratio of each pixel unit is more than default resolution threshold, if it does, to institute
It states pixel unit to carry out piecemeal again or re-start piecemeal to described image signal obtaining N number of pixel unit, until final
The image resolution ratio of obtained each pixel unit is respectively less than the default resolution threshold;Wherein, M, N are integer, and M >=
2,N>M。
Preferably, above-mentioned piecemeal module, for carrying out piecemeal according to identical resolution ratio area to described image signal.
Preferably, above-mentioned piecemeal module, is additionally operable to:Horizontal resolution according to each pixel unit made is equal,
And the equal principle of vertical resolution of each pixel unit carries out piecemeal to described image signal.
In one embodiment of the invention, a kind of vision signal splicing device is additionally provided, including:Such as any one above-mentioned reality
Apply the image processing apparatus described in example.
In a possible embodiment, above-mentioned vision signal splicing device can include:Microprocessor, first
Fpga chip, DDR memory and the 2nd PPGA chips, in control card, the first fpga chip is encapsulated in defeated microprocessor package
Enter in card, the second fpga chip is encapsulated in output card;Using the area resource of FPGA, high-definition picture is not being sacrificed into letter
The conversion of signal format is carried out on the premise of number quality, while makes the clock frequency control of the first fpga chip innernal CPU processor
System in the reasonable scope, the service life of chip is effectively extended while image quality is ensured, improves the signal of chip
Treatment effeciency and stability.
Alternatively, above-mentioned vision signal splicing device can include:Microprocessor, the first fpga chip, switch card and
Second fpga chip, in control card, the first fpga chip is encapsulated in input card microprocessor package, the second fpga chip envelope
In output card.
A kind of vision signal abnormity splicing device is additionally provided in the present embodiment, including above-mentioned input card, output card,
Control card and internal storage, the write-in port of internal storage, read port connect the first fpga chip and second respectively
Fpga chip, the MCU of control card are electrically connected respectively with the first fpga chip and the second fpga chip, and signal trend is double
To.
The quantity of input card is one, and for gathering single channel input signal, the quantity of output card is 4, and maximum is supported defeated
Go out 4 road signals.
As shown in fig. 7, the image signal processing apparatus schematic diagram provided by another embodiment of the application, the device 700
Including:Processor 701, memory 702 and bus 703, memory 702, which is stored with, to be executed instruction, when device is run, processor
It is communicated between 701 and memory 702 by bus 703, what is stored in the execution memory 702 of processor 701 executes instruction as follows:
The picture signal of signal source is gathered, obtains the image resolution ratio of described image signal;
When judging that described image resolution ratio is more than default resolution threshold, piecemeal is carried out to described image signal, is made point
The resolution ratio for each pixel unit that block obtains is respectively less than the resolution threshold;
The resolution ratio of each pixel unit is determined, according to the resolution adjustment clock frequency of the pixel unit, with adjustment
Each pixel that clock frequency afterwards includes the pixel unit carries out dissection process.
Processor 701 is specifically used for:
Piecemeal number is determined based on the multiple proportion of described image resolution ratio and default resolution threshold, according to the piecemeal
Number carries out piecemeal, so as to get the resolution ratio of each pixel unit be respectively less than the resolution threshold.
Processor 701 is specifically used for:
Piecemeal for the first time is carried out to described image signal and obtains M pixel unit, calculates each pixel unit respectively
Image resolution ratio;
Judge whether the image resolution ratio of each pixel unit is more than default resolution threshold, if it does, to dividing
Resolution be more than resolution threshold pixel unit carry out piecemeal again or described image signal is re-started piecemeal obtain it is N number of
Pixel unit, until the image resolution ratio of each pixel unit finally obtained is respectively less than the default resolution threshold;Wherein,
M, N is integer, and M >=2, N>M.
Processor 701 is specifically additionally operable to:
Piecemeal is carried out according to identical resolution ratio area to described image signal.
Processor 701 is specifically additionally operable to:
According to the vertical resolution of the equal and each pixel unit of the horizontal resolution of each pixel unit made
Equal principle carries out piecemeal to described image signal.
A kind of computer program product of image processing method of progress that the embodiment of the present invention is provided, including storing journey
The computer readable storage medium of sequence code, the instruction that said program code includes can be used for performing institute in previous methods embodiment
The method stated, specific implementation can be found in embodiment of the method, and details are not described herein.
Image procossing that the embodiment of the present invention is provided, the device of output can be specific hardware or installation in equipment
In the software in equipment or firmware etc..The technique effect of the device that the embodiment of the present invention is provided, realization principle and generation and
Preceding method embodiment is identical, and to briefly describe, device embodiment part does not refer to part, can refer in preceding method embodiment
Corresponding contents.It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description is
The specific work process of system, device and unit, may be referred to the corresponding process in above method embodiment, no longer superfluous herein
It states.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, it can be by others side
Formula is realized.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, is only that one kind is patrolled
The division of volume function, can there is other dividing mode in actual implementation, in another example, multiple units or component can combine or can
To be integrated into another system or some features can be ignored or does not perform.Another, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some communication interfaces, device or unit
It connects, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in embodiment provided by the invention can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be
People's computer, server or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing, in addition, term " the
One ", " second ", " the 3rd " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
Finally it should be noted that:Embodiment described above is only the specific embodiment of the present invention, to illustrate the present invention
Technical solution, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, it will be understood by those of ordinary skill in the art that:Any one skilled in the art
In the technical scope disclosed by the present invention, can still modify to the technical solution recorded in previous embodiment or can be light
It is readily conceivable that variation or equivalent substitution is carried out to which part technical characteristic;And these modifications, variation or replacement, do not make
The essence of appropriate technical solution departs from the spirit and scope of technical solution of the embodiment of the present invention.The protection in the present invention should all be covered
Within the scope of.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.
Claims (12)
1. a kind of image processing method, which is characterized in that the described method includes:
The picture signal of signal source is gathered, obtains the image resolution ratio of described image signal;
When judging that described image resolution ratio is more than default resolution threshold, piecemeal is carried out to described image signal, obtains piecemeal
To the resolution ratio of each pixel unit be respectively less than the resolution threshold;
The resolution ratio of each pixel unit is determined, according to the resolution adjustment clock frequency of the pixel unit, after adjustment
Each pixel that clock frequency includes the pixel unit carries out dissection process.
2. according to the method described in claim 1, it is characterized in that, it is described to described image signal carry out piecemeal, obtain piecemeal
To the resolution ratio of each pixel unit be respectively less than the resolution threshold, including:
Piecemeal number is determined based on the multiple proportion of described image resolution ratio and default resolution threshold, according to the piecemeal number
Carry out piecemeal, so as to get the resolution ratio of each pixel unit be respectively less than the resolution threshold.
3. according to the method described in claim 1, it is characterized in that, it is described to described image signal carry out piecemeal, obtain piecemeal
To the resolution ratio of each pixel unit be respectively less than the resolution threshold, including:
Piecemeal for the first time is carried out to described image signal and obtains M pixel unit, calculates the image of each pixel unit respectively
Resolution ratio;
Judge whether the image resolution ratio of each pixel unit is more than default resolution threshold, if it does, to resolution ratio
Pixel unit more than resolution threshold carries out piecemeal or re-starts piecemeal to described image signal obtaining N number of pixel again
Unit, until the image resolution ratio of each pixel unit finally obtained is respectively less than the default resolution threshold;Wherein, M, N
It is integer, and M >=2, N>M.
4. according to any methods of claim 1-3, which is characterized in that described that piecemeal, bag are carried out to described image signal
It includes:
Piecemeal is carried out according to identical resolution ratio area to described image signal.
5. according to the method described in claim 4, it is characterized in that, it is described to described image signal carry out piecemeal, including:
Vertical resolution according to the equal and each pixel unit of the horizontal resolution of each pixel unit made is equal
Principle to described image signal carry out piecemeal.
6. a kind of image processing apparatus, which is characterized in that described device includes:
Acquisition module for gathering the picture signal of signal source, obtains the image resolution ratio of described image signal;
Piecemeal module, for when judging that described image resolution ratio is more than default resolution threshold, being carried out to described image signal
Piecemeal makes the resolution ratio for each pixel unit that piecemeal obtains be respectively less than the resolution threshold;
Determining module, for determining the resolution ratio of each pixel unit, according to the resolution adjustment clock of pixel unit frequency
Rate carries out dissection process with each pixel that the clock frequency after adjustment includes the pixel unit.
7. device according to claim 6, which is characterized in that the piecemeal module is specifically used for:
Piecemeal number is determined based on the multiple proportion of described image resolution ratio and default resolution threshold, according to the piecemeal number
Carry out piecemeal, so as to get the resolution ratio of each pixel unit be respectively less than the resolution threshold.
8. device according to claim 6, which is characterized in that the piecemeal module is specifically used for:
Piecemeal for the first time is carried out to described image signal and obtains M pixel unit, calculates the image of each pixel unit respectively
Resolution ratio;
Judge whether the image resolution ratio of each pixel unit is more than default resolution threshold, if it does, to image point
Resolution carries out piecemeal or re-starts piecemeal to described image signal to obtain again more than the pixel unit of default resolution threshold
To N number of pixel unit, until the image resolution ratio of each pixel unit finally obtained is respectively less than the default resolution threshold;
Wherein, M, N are integer, and M >=2, N>M.
9. according to any methods of claim 6-8, which is characterized in that the piecemeal module is specifically used for:
Piecemeal is carried out according to identical resolution ratio area to described image signal.
10. device according to claim 9, which is characterized in that the piecemeal module is additionally operable to:
Vertical resolution according to the equal and each pixel unit of the horizontal resolution of each pixel unit made is equal
Principle to described image signal carry out piecemeal.
11. a kind of vision signal splicing device, including:Image processing apparatus as described in claim 6-10 is any.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The step of the method as any such as claim 1-5 is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711290355.9A CN108055578A (en) | 2017-12-08 | 2017-12-08 | A kind of image processing method, device and vision signal splicing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711290355.9A CN108055578A (en) | 2017-12-08 | 2017-12-08 | A kind of image processing method, device and vision signal splicing device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108055578A true CN108055578A (en) | 2018-05-18 |
Family
ID=62122894
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711290355.9A Pending CN108055578A (en) | 2017-12-08 | 2017-12-08 | A kind of image processing method, device and vision signal splicing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108055578A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109901907A (en) * | 2019-03-15 | 2019-06-18 | 北京星网锐捷网络技术有限公司 | A kind of method and server of transfer of virtual desktop |
CN110930292A (en) * | 2018-09-19 | 2020-03-27 | 珠海金山办公软件有限公司 | Image processing method and device, computer storage medium and terminal |
CN110941589A (en) * | 2018-09-21 | 2020-03-31 | 珠海金山办公软件有限公司 | Picture exporting method and device, electronic equipment and readable storage medium |
CN113205452A (en) * | 2021-03-31 | 2021-08-03 | 北京达佳互联信息技术有限公司 | Image processing method and device, electronic equipment and storage medium |
CN113409687A (en) * | 2021-06-04 | 2021-09-17 | 青岛信芯微电子科技股份有限公司 | Screen-folding display device |
CN113438474A (en) * | 2021-06-28 | 2021-09-24 | 杭州加速科技有限公司 | Camera module testing device and control method thereof |
CN113535631A (en) * | 2020-04-22 | 2021-10-22 | 苏州华兴源创科技股份有限公司 | Data distribution method and device, integrated chip and video image processing system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101710938A (en) * | 2009-10-20 | 2010-05-19 | 北京中星微电子有限公司 | Image signal processor, image processing system and image processing method |
CN102956027A (en) * | 2011-08-30 | 2013-03-06 | 安凯(广州)微电子技术有限公司 | Image enhancement processing system and method based on camera image processing chip |
CN104104888A (en) * | 2014-07-01 | 2014-10-15 | 大连民族学院 | Parallel multi-core FPGA digital image real-time zooming processing method and device |
US20170262058A1 (en) * | 2016-03-11 | 2017-09-14 | Electronics And Telecommunications Research Institute | Apparatus and method for providing image |
-
2017
- 2017-12-08 CN CN201711290355.9A patent/CN108055578A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101710938A (en) * | 2009-10-20 | 2010-05-19 | 北京中星微电子有限公司 | Image signal processor, image processing system and image processing method |
CN102956027A (en) * | 2011-08-30 | 2013-03-06 | 安凯(广州)微电子技术有限公司 | Image enhancement processing system and method based on camera image processing chip |
CN104104888A (en) * | 2014-07-01 | 2014-10-15 | 大连民族学院 | Parallel multi-core FPGA digital image real-time zooming processing method and device |
US20170262058A1 (en) * | 2016-03-11 | 2017-09-14 | Electronics And Telecommunications Research Institute | Apparatus and method for providing image |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110930292A (en) * | 2018-09-19 | 2020-03-27 | 珠海金山办公软件有限公司 | Image processing method and device, computer storage medium and terminal |
CN110930292B (en) * | 2018-09-19 | 2024-01-26 | 珠海金山办公软件有限公司 | Image processing method, device, computer storage medium and terminal |
CN110941589A (en) * | 2018-09-21 | 2020-03-31 | 珠海金山办公软件有限公司 | Picture exporting method and device, electronic equipment and readable storage medium |
CN109901907A (en) * | 2019-03-15 | 2019-06-18 | 北京星网锐捷网络技术有限公司 | A kind of method and server of transfer of virtual desktop |
CN109901907B (en) * | 2019-03-15 | 2022-05-20 | 北京星网锐捷网络技术有限公司 | Method and server for transmitting virtual desktop |
CN113535631A (en) * | 2020-04-22 | 2021-10-22 | 苏州华兴源创科技股份有限公司 | Data distribution method and device, integrated chip and video image processing system |
CN113205452A (en) * | 2021-03-31 | 2021-08-03 | 北京达佳互联信息技术有限公司 | Image processing method and device, electronic equipment and storage medium |
CN113409687A (en) * | 2021-06-04 | 2021-09-17 | 青岛信芯微电子科技股份有限公司 | Screen-folding display device |
CN113438474A (en) * | 2021-06-28 | 2021-09-24 | 杭州加速科技有限公司 | Camera module testing device and control method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108055578A (en) | A kind of image processing method, device and vision signal splicing device | |
CN106383689B (en) | Display font scale adjusting method, device and terminal device | |
US10930252B2 (en) | Dividing image data into regional images of different resolutions based on a gaze point and transmitting the divided image data | |
CN111615684B (en) | Variable pixel rate display interface | |
CN108287678B (en) | Image processing method, device, equipment and medium based on virtual reality | |
CN103677701B (en) | The method and system of large-size screen monitors simultaneous display | |
CN113055742A (en) | Video display method, device, terminal and storage medium | |
CN113299245A (en) | Method and device for adjusting local backlight of display equipment, display equipment and storage medium | |
EP4401401A1 (en) | Image processing apparatus and method | |
CN113253877B (en) | Electronic whiteboard system and control method thereof | |
CN113286100B (en) | Configuration method and device of video output interface and video output equipment | |
CN113839998A (en) | Image data transmission method, device, equipment, storage medium and program product | |
CN103747191B (en) | Network interaction high-definition character superimposition system | |
CN110364127A (en) | The adaptive display method and device of intelligent large screen system | |
CN104424646A (en) | Image processing apparatus and control method | |
CN108427544B (en) | single-screen and double-screen application switching method and interface | |
CN111179883B (en) | Image display method and device, mobile terminal, computer equipment and storage medium | |
CN114301983A (en) | Method and system for compressing bytes of electronic ink screen picture, electronic equipment and storage medium | |
CN102902504B (en) | Connection system and connection method for computer base map signal of embedded image control platform | |
CN112162719A (en) | Display content rendering method and device, computer readable medium and electronic equipment | |
CN112083901A (en) | Image processing method, device, equipment and storage medium | |
CN102340638B (en) | A kind of method and apparatus of parallel data processing in video processing device | |
US20240257302A1 (en) | Image processing apparatus and method | |
CN103680402A (en) | An asynchronous full color LED display control system based on an LEON3 soft core CPU | |
CN111161135B (en) | Picture conversion method and related product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180518 |