CN102129670B - Method for detecting and repairing movie scratch damage - Google Patents

Method for detecting and repairing movie scratch damage Download PDF

Info

Publication number
CN102129670B
CN102129670B CN 201110046698 CN201110046698A CN102129670B CN 102129670 B CN102129670 B CN 102129670B CN 201110046698 CN201110046698 CN 201110046698 CN 201110046698 A CN201110046698 A CN 201110046698A CN 102129670 B CN102129670 B CN 102129670B
Authority
CN
China
Prior art keywords
cut
image
scratch
sub
bbf
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.)
Active
Application number
CN 201110046698
Other languages
Chinese (zh)
Other versions
CN102129670A (en
Inventor
庄晓宇
杨小康
陈立
周智圆
于沛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jiaotong University
Original Assignee
Shanghai Jiaotong University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Jiaotong University filed Critical Shanghai Jiaotong University
Priority to CN 201110046698 priority Critical patent/CN102129670B/en
Publication of CN102129670A publication Critical patent/CN102129670A/en
Application granted granted Critical
Publication of CN102129670B publication Critical patent/CN102129670B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method for detecting and repairing movie scratch damage and belongs to the technical field of image processing. The method comprises two processes of scratch detection and scratch repair, wherein in the process of scratch detection, two modules, i.e., a scratch position location module and a scratch detail obtainment module are provided. The method comprises the following steps of: locating positions of scratches in a horizontal direction by utilizing airspace luminance feature models of vertical scratches and obtaining the detail information of the scratches in a vertical direction by utilizing morphology features of the scratches; and the repair of the scratches comprises the steps of processing an image in a time-space domain and repairing image deletion parts through combining the information of front and back frames, wherein both the self-similarity of the image in a frame and the relativity between the image frames are utilized. In the invention, the system repair process is completely automated; the repair effect on the scratches of an old movie is improved; and the manpower cost and the time cost are reduced; therefore, the method can be widely applied to the scratch repair of all kinds of video sequences.

Description

The detection restorative procedure of movie scratch damage
Technical field
What the present invention relates to is a kind of method of technical field of image processing, specifically a kind of detection restorative procedure of movie scratch damage.
Background technology
Cinefilm is a kind of easily aging chemical substance, and because inappropriate preservation, broadcast and copy, so that many old films or damage or lose.Cut is the damage that often occurs in the cinefilm, forms reason and mainly contains two: the one, and video particle in shooting process has produced scuffing to film, and the 2nd, video film and video camera friction in playing process have produced damage.Therefore, cut usually is wire and is distributed in the cinefilm, is generally 3~10 pixels wide, different in size, or is white or for black, institute's overlay area image information is by havoc.Research is the important process in this field for the detection restorative procedure of scratch damage in the old film.
Scratch detection is an important step before the scratch removal, and the degree of accuracy of detection method directly has influence on the effect of scratch removal.Classical scratch detection method has the detection method based on the cut Intensity model, such as the Bruni model, can comparatively accurately detect the position of vertical cut on the image level direction, but owing to not considering the morphological character of cut, therefore can't obtain vertical cut length and the detailed information such as particular location in vertical direction.Other methods have utilized the local edge of cut to detect, although can obtain the detailed information of cut, but owing to acting on entire image and lacking quantitative analysis, subjectivity is larger, many interfering objects that have equally local edge be can detect inevitably, flase drop and undetected phenomenon produced.
Utilize the resulting cut mask of scratch detection can carry out scratch removal.Most of scratch removal methods all adopt the method based on the interpolation of certain model, and polynomial interpolation hypothesis image disappearance part satisfies multinomial model with its surrounding pixel, selects the polynomial expression exponent number to carry out match, thereby obtains suitable model coefficient.Polynomial interpolation is calculated simple, and effectively the Recovery image low-frequency information still is difficult to the Recovery image high-frequency information, can't keep the image texture details.Random (MRF) model of probabilistic model such as autoregression (AR) model and Markov is match disappearance partial pixel better, especially recover high-frequency information, but calculated amount is large, realizes complicated.2002, BaHester and Bertalmio have proposed the concept of " repairing ", with the method for recurrence image disappearance zone are repaired to inside from the periphery, until fill up whole zone, this method is applicable to contain in the image situation of less disappearance information, is not suitable for scratch removal.
Summary of the invention
The present invention is directed to the prior art above shortcomings, a kind of detection restorative procedure of movie scratch damage is provided, can effectively repair scratch damage, with respect to traditional detection and restorative procedure better effect and lower method complexity be arranged, more wide application prospect is arranged.
The present invention is achieved by the following technical solutions, the present invention includes the detection of cut and two parts of reparation of cut.
Wherein, the detection of cut comprises that locate the cut position and the cut details is obtained two modules, utilize first the brightness model orientation cut position in the horizontal direction, spatial domain of vertical cut, the morphological feature of recycling cut obtains these cuts detailed information in vertical direction, location, cut position and cut details are obtained between these two modules and are complemented each other, thereby the former has removed a large amount of interference noises that the latter detects for the reach that the pre-determined bit of cut horizontal level has been dwindled the latter, thereby and the latter has carried out refinement for the former has extracted the length of vertical cut and the positional information on the vertical direction;
The concrete steps of scratch detection are as follows:
1) image A is carried out vertical projection, the average of each row of computed image matrix obtains an one dimension horizontal vector, does the mean filter on the horizontal direction, obtains the brightness cross section cross (j) of image, and this step has been amplified the characteristic of cut cosine decay;
2) choose all extreme points of cross (j), according to the cut characteristic, the extreme point that obtains is carried out wide constraint, brightness constraint and weber energy constraint, thereby filter out the extreme point that meets the cut characteristic;
3) according to the cut horizontal level of obtaining and the width of cut, obtain the elementary mask of cut;
4) original image A is done histogram equalization, the contrast of cut and background image is carried out rim detection with the canny operator to image in the reinforcement image, and do morphological dilation, increase the cut characteristic along horizontal axis, extract the edge skeleton of image, be denoted as D;
5) use respectively construction operator B L, B R, B HBe denoted as after D opened operation
Figure BDA0000048069320000021
The three is carried out getting after the OR operation D and M are subtracted each other, obtain to comprise noise in interior cut detail view;
6) with step 3) in elementary mask and the step 5 of the cut that obtains) in the effective combination of cut detail view that obtains, and do aftertreatment, obtain the final mask of cut.
Described cut cosine characteristic model is formulated as:
L p ( i , j ) = sgn ( i - r s ( j ) ) - sgn ( i - r θ ( j ) ) 2 × b p k p sgn ( j - ( p i - ω p ) ) - sgn ( j - ( p i + ω p ) ) 2 | j - c p | cos π | j - p i | ω p
I is image x axle in the formula, and j is image y axle.r s(j) be the reference position of image j row cut, r e(j) be the terminal location of image j row cut, b pBe cut minimum brightness, p lRepresent the extreme point position of cosine curve, k pBe the attenuation coefficient of cut, ω pFor the cut width half, sgn is step function.
Step 6) described in the elementary mask of cut and the effective combination of cut detail view, namely two figure are carried out and operation, utilize the noisy cut figure of elementary mask restraint strap of cut, remove cut position interference noise on every side, utilize simultaneously with the cut detail view of noise and extract cut detailed information in the elementary mask, obtain Mask Previous, then carry out aftertreatment, obtain the final mask of cut.
The method of scratch detection part of the present invention is compared with existing method, advantage is: degree of accuracy is high, location, cut position and cut details are obtained between these two modules and are complemented each other, thereby the former has removed a large amount of interference noises that the latter detects for the reach that the pre-determined bit of cut horizontal level has been dwindled the latter, thereby and the latter has carried out refinement for the former has extracted the length of vertical cut and the positional information on the vertical direction; Computation complexity is low, and the method complexity of location, cut position only has O (N) (N is picturewide to be detected), much smaller than the method for carrying out scratch detection by method and the wavelet field of neural network prescreen cut.
Scratch removal part of the present invention expands to existing method for shielding error code-block-based bilateral filtering (BBF) method in the time domain, has proposed the 3D-BBF scratch removal method based on the time-space domain, and concrete steps are:
At first judge the cut type, if cut repeats near the frame same position of front and back, the cut type is I class cut, select the BBF method of two dimension, otherwise if cut only exists at present frame, the cut type is II class cut, image sequence is carried out shot boundary cut apart, adopt again time-space domain 3D-BBF method.
Described time-space domain 3D-BBF method is divided into many sub-blocks with image, be (x if contain the sub-block to be repaired of cut information in the center position of present frame, y), size is m * n, and then the region of search also is (x in the center position of front and back frame, y), size is p * q, (p>m, q>n), the size of p and q is selected as required, is generally 2m * 2n.The zone means greatly the increase of method complexity, but the tolerance for front and back vertical shift degree improves simultaneously, method is assessed from the geographic distance between sub-block to be repaired and the region of search repairing sub-block and difference two aspects of pixel value, and then calculate suitable repairing sub-block weights, after process 3D-BBF method was carried out scratch removal, the pixel value of scored area was that all sizes are the weighted mean sum of the sub-block of m * n in present frame and the frame search zone, front and back.
The method of scratch removal part of the present invention, compare with existing method, advantage is: repairing effect is good, 3D-BBF processes image in the time-space domain, has both utilized the self-similarity of image in a frame, has utilized again the correlativity between picture frame, it is when repairing the cut of continuous a few frame existence, effect is slightly better than BBF, but when repairing only at the cut that present frame exists, effect significantly improves; Computation complexity is low, and great majority need to be used Motion estimation and compensation based on the restorative procedure of time domain, greatly increased the method complexity, and the 3D-BBF method do not need cut is carried out motion compensation.
Compared with prior art, the beneficial effect of scratch detection repair system of the present invention is: the repair process full automation, improved the repairing effect of old movie scratch, reduced human cost and time cost, can be widely used in the scratch removal of various video sequences.
Description of drawings
Fig. 1 is schematic diagram of the present invention.
Fig. 2 is the scratch detection schematic flow sheet.
Fig. 3 is the scratch removal schematic flow sheet.
Fig. 4 is scratch removal Method And Principle schematic diagram.
Fig. 5 is classical cut test pattern.
Fig. 6 is the image after Fig. 5 repairs.
Fig. 7 is the film image frame that contains trickle cut.
Fig. 8 is the image after Fig. 7 repairs.
Fig. 9 is the film image frame that contains obvious cut.
Figure 10 is the image after Fig. 9 repairs.
Embodiment
The below elaborates to embodiments of the invention, and the present embodiment is implemented under take technical solution of the present invention as prerequisite, provided detailed embodiment and concrete operating process, but protection scope of the present invention is not limited to following embodiment.
Embodiment
As shown in Figure 1, the input original sequence obtains the cut mask through scratch detection, passes through scratch removal, the image sequence after obtaining repairing again.
As shown in Figure 2, scratch detection may further comprise the steps:
1) image A (as shown in Figure 5) is carried out vertical projection, it is the average of each row of computed image matrix, obtain an one dimension horizontal vector sig (j), sig (j) is done mean filter on the horizontal direction, obtain the brightness cross section cross (j) (as shown in Figure 6) of image, this step has been amplified the characteristic of cut cosine decay, and formula is as follows:
sig ( j ) = 1 M Σ i = 1 M A ( i , j )
cross ( j ) = sig [ j ] - 1 S + 1 &Sigma; j j + S sig [ j ] ( j &le; S ) sig [ j ] - 1 21 &Sigma; j - S j + S sig ( j ) ( S < j < N - S ) sig [ j ] - 1 S + 1 &Sigma; j - S j sig [ j ] ( j &GreaterEqual; N - S )
2) choose all extreme points of cross (j), according to the cut characteristic, the extreme point that obtains is carried out wide constraint, brightness constraint and weber energy constraint, thereby filter out the extreme point that meets the cut characteristic;
3) according to the cut horizontal level of obtaining and the width of cut, obtain the elementary mask (shown in Fig. 5-3) of cut;
4) original image A is done histogram equalization, the contrast of cut and background image in the reinforcement image, with the canny operator image is carried out rim detection, and do morphological dilation, increase the cut characteristic along horizontal axis, extract the edge skeleton of image, be denoted as D (shown in Fig. 5-4);
5) use respectively construction operator B L, B R, B HBe denoted as after D opened operation The three is carried out getting after the OR operation
Figure BDA0000048069320000044
D and M are subtracted each other, obtain to comprise noise at interior cut detail view (shown in Fig. 5-5);
6) with step 3) in elementary mask and the step 5 of the cut that obtains) in the effective combination of cut detail view that obtains, and do aftertreatment, obtain the final mask (shown in Fig. 5-6) of cut.
Step 2) in extreme point has been carried out wide constraint, brightness constraint and weber energy constraint, concrete constrained procedure is as follows:
If the horizontal ordinate position that certain minimum extreme point is corresponding is j h, j then hAbout the horizontal ordinate position of two maximum extreme points be respectively j H-1And j K+1, cut width width=|j then H+1-j H-1|.Wide according to 3~13 pixels of previously described cut width characteristic, namely 3≤width≤10 filter out the minimum extreme point that meets the cut width characteristic, and the horizontal ordinate position is designated as j IndcThen choose j IndcAbout all maximum extreme points, the horizontal ordinate position is designated as j Indc1
The mean flow rate en of each extreme point of the sequence of calculation:
Figure BDA0000048069320000051
Calculate the mean flow rate enmed of all minimum extreme points
enmed = 1 lindc &Sigma; indc = 1 lindc en ( j indc )
Wherein lindc is the length of array indc.
Calculate the mean flow rate enmedlat of all maximum extreme points
enmedlat = 1 lindc 1 &Sigma; indc = 1 lindc 1 en ( j indc 1 )
Wherein lindc1 is the length of array indc1.
From j Indc1In 1, filter out the extreme point j that meets the brightness constraint Jind, so that cross (j Jind)>enmed.
Filter out qualified extreme point according to Weber's law at last: if the brightness of an object is f 0, background luminance is f sIf, Object as seen.
Step 6) elementary mask and the effective combination of cut detail view with cut described in, namely two figure are carried out and operation, utilize the noisy cut figure of elementary mask restraint strap of cut, remove cut position interference noise on every side, utilize simultaneously with the cut detail view of noise and extract cut detailed information in the elementary mask, obtain Mask Previous, then carrying out aftertreatment, concrete methods of realizing is:
At first carry out the expansive working on vertical direction and the horizontal direction, the large young pathbreaker figure level according to figure is divided into the N section again, and for scored area, vertical initial value of establishing each section is top, and final value is bottom.Record pixel sum on each section with array T, and setting threshold is threshold
T N = &Sigma; i = top bottom Mask previous ( i , j )
Mask N ( i , j ) = 1 ( T N ( j ) > threshold ) 0 else
As shown in Figure 3, scratch removal may further comprise the steps:
At first judge the cut type, if cut repeats near the frame same position of front and back, the cut type is I class cut, select the block-based bilateral filtering method (BBF method) of conventional two-dimensional, otherwise if cut only exists at present frame, the cut type is II class cut, image sequence is carried out shot boundary cut apart, adopt again time-space domain 3D-BBF method.
In the scratch detection stage, all obtained corresponding cut mask for each frame.If the horizontal reference position of each section cut is start on the i frame cut mask i, horizontal final position is end i, vertical reference position is top i, vertical final position is r.If multi-frame to be repaired is the l frame, the repairing frame is the m frame, and the cinematic data statistics according to a large amount of draws following cut type judgment condition:
1) if [start on the m frame horizontal direction l-σ, end i+ σ] scope in no marking, cut is II class cut;
2) if 1) do not satisfy i.e. [start l-σ, end l+ σ] cut is arranged in the scope, but top m<bottom lOr bottom m>top l, cut is II class cut;
3) otherwise, cut is I class cut
The region of search scope of 3D-BBF method is frames before and after the image, and searching is similar in a certain size zone of present frame and front and back frame.Sub-block to be repaired is (x, y) in the center position of present frame, and size is m * n, and then the region of search also is (x in the center position of front and back frame, y), size is p * q, (p>m, q>n), the size of p and q is selected as required, is generally 2m * 2n.The zone means greatly the increase of method complexity, but the while is for the tolerance raising of front and back vertical shift degree.Method is assessed from the geographic distance between sub-block to be repaired and the region of search repairing sub-block and difference two aspects of pixel value, and then calculates suitable repairing sub-block weights.
Fig. 4 has showed three continuous two field pictures, and the black square of intermediate frame is sub-block to be repaired, establishes size and is m * n, and the grey square frame is region of search, and size is p * q.After process 3D-BBF method was carried out scratch removal, the pixel value of black sub-block was that all sizes are the weighted mean sum of the sub-block of m * n in present frame and the front and back frame grey square frame.3D-BBF can be formulated as follows:
B k 1 &prime; = 1 W i &Sigma; t &Element; N I 0 &cup; N I 1 &cup; N I 2 { c ( | | k 0 - l 0 | | ) s ( | | B k 0 - B t 0 | | ) B t 0 + c ( | | k 1 - l 1 | | ) s ( | | B k 1 - B t 1 | | ) B t 1 + c ( | | k 2 - l 2 | | ) s ( | | B k 2 - B t 2 | | ) B t 2 }
Wi = &Sigma; l &Element; N I 0 &cup; N I 1 &cup; N I 2 { c ( | | k 0 - l 0 | | ) s ( | | B k 0 - B l 0 | | ) B l 0 + c ( | | k 1 - l 1 | | ) s ( | | B k 1 - B l 1 | | ) B l 1 + c ( | | k 2 - l 2 | | ) s ( | | B k 2 - B l 2 | | ) }
Figure BDA0000048069320000064
The sub-block (black sub-block among Fig. 4) that is repaired for present frame, Be respectively the sub-block (the grey sub-block in Fig. 4 grey square frame) that is used for reparation in continuous three frames, c (|| k 0,1,2-l 0,1,2||) be || k 0,1,2-l 0,1,2|| the variance of (sub-block distance, namely the interior each point of sub-block is apart from the absolute value sum) is σ dGaussian function,
Figure BDA0000048069320000071
For
Figure BDA0000048069320000072
The variance of (pixel value poor, i.e. the absolute value sum of the difference of each point pixel value in the sub-block) is σ rGaussian function.
Figure BDA0000048069320000073
Be the neighborhood of block of pixels l at present frame and front and back frame.
The present invention can be applicable to the various video sequence.
Fig. 7 is the cut test pattern of the test scratch removal method of a width of cloth classics, and this figure has together top-down cut, and overlay image sky and armor part are damaged very obvious.Fig. 8 is the image after repairing, and picture is smooth, and detail textures information also keeps finely.
Fig. 9 is an image in the old film, has some tiny cuts.Figure 10 is the image after repairing, and has repaired the cut in the image.
Fig. 8-the 1st, the image in the old film of another, more existing tiny cuts also have an obvious cut.Fig. 8-the 2nd, the image after repairing has been repaired the various cuts among the figure effectively.
Significantly cut easily detects difficult the reparation, and trickle cut is easily repaired difficult the detection, and the result shows, the present invention all has preferably repairing effect to these two kinds of cuts.

Claims (6)

1. the detection restorative procedure of a movie scratch damage comprises the detection of cut and two parts of reparation of cut, it is characterized in that:
A. the detection of cut: the testing process of cut is divided into location, cut position and obtains two steps with the cut details: the brightness model orientation cut position in the horizontal direction, spatial domain that utilizes first vertical cut, the morphological feature of recycling cut obtains these cuts detailed information in vertical direction, location, cut position and cut details are obtained between these two steps and are complemented each other, thereby the former has removed a large amount of interference noises that the latter detects for the reach that the pre-determined bit of cut horizontal level has been dwindled the latter, thereby and the latter has carried out refinement for the former has extracted the length of vertical cut and the positional information on the vertical direction;
B. the reparation of cut: method for shielding error code-block-based bilateral filtering method is expanded in the time domain, and be applied in the scratch removal, 3D-BBF scratch removal method based on the time-space domain has been proposed, the 3D-BBF method is processed image in the time-space domain, both utilized the self-similarity of image in a frame, utilized again the correlativity between picture frame, because some cuts continued presence in several frames of film sequence, other cuts only exist at present frame, the 3D-BBF method is when repairing the former, effect is slightly better than BBF, but when repairing the latter, effect significantly improves.
2. the detection restorative procedure of movie scratch damage according to claim 1 is characterized in that, for 1) described in the scratch detection method, be divided into following step:
1) image A is carried out vertical projection, the average of each row of computed image matrix obtains an one dimension horizontal vector, does the mean filter on the horizontal direction, obtains the brightness cross section cross (j) of image, and this step has been amplified the characteristic of cut cosine decay;
2) choose all extreme points of cross (j), according to the cut characteristic, the extreme point that obtains is carried out wide constraint, brightness constraint and weber energy constraint, thereby filter out the extreme point that meets the cut characteristic;
3) according to the cut horizontal level of obtaining and the width of cut, obtain the elementary mask of cut;
4) original image A is done histogram equalization, the contrast of cut and background image is carried out rim detection with the canny operator to image in the reinforcement image, and do morphological dilation, increase the cut characteristic along horizontal axis, extract the edge skeleton of image, be denoted as D;
5) use respectively construction operator B L, B R, B HBe denoted as after D opened operation
Figure FDA00002145825100011
The three is carried out getting after the OR operation
Figure FDA00002145825100012
D and M are subtracted each other, obtain to comprise noise in interior cut detail view;
6) with step 3) in elementary mask and the step 5 of the cut that obtains) in the effective combination of cut detail view that obtains, and do aftertreatment, obtain the final mask of cut.
3. the detection restorative procedure of movie scratch damage according to claim 2 is characterized in that step 1) described in cut cosine, its model represents with following formula:
I is image x axle in the formula, and j is image y axle, r s(j) be the reference position of image j row cut, r θ(j) be the terminal location of image j row cut, b pBe cut minimum brightness, p lRepresent the extreme point position of cosine curve, k pBe the attenuation coefficient of cut, ω pFor the cut width half, sgn is step function.
4. the detection restorative procedure of movie scratch damage according to claim 2, it is characterized in that, step 6) elementary mask and the effective combination of cut detail view with cut described in, namely two figure are carried out and operation, utilize the noisy cut figure of elementary mask restraint strap of cut, remove the interference noise around the cut position, utilize simultaneously with the cut detail view of noise and extract cut detailed information in the elementary mask, obtain Mask Previous, then carrying out aftertreatment, concrete methods of realizing is:
At first carry out the expansive working on vertical direction and the horizontal direction, the large young pathbreaker figure level according to figure is divided into the N section again, and for scored area, vertical initial value of establishing each section is top, and final value is bottom, uses array T NRecord the pixel sum on each section, and setting threshold is threshold
Figure FDA00002145825100022
5. the detection restorative procedure of movie scratch damage according to claim 1, it is characterized in that, 2) the 3D-BBF scratch removal method described in, specifically comprise: traditional BBF method is a kind of method for shielding error code, utilized the Self-similar Feature of image, has preferably effect, consider that cut is the part disappearance information in the image, and some cut is continued presence in several frames, some cut only exists at present frame, therefore, the BBF method is expanded in the time domain, the 3D-BBF method has been proposed, made up the complete scratch removal system of a cover: at first judge the cut type, if cut repeats near the frame same position of front and back, the cut type is I class cut, select the BBF method of two dimension, otherwise if cut only exists at present frame, the cut type is II class cut, image sequence is carried out shot boundary cut apart, adopt again time-space domain 3D-BBF method.
6. the detection restorative procedure of movie scratch damage according to claim 5 is characterized in that, the concrete steps that 3D-BBF realizes:
Image is divided into many sub-blocks, be (x if contain the sub-block to be repaired of cut information in the center position of present frame, y), size is m * n, then the region of search also is (x in the center position of front and back frame, y), size is p * q, wherein, p>m, q>n, the size of p and q is selected as required, the zone means greatly the increase of method complexity, but simultaneously for the tolerance raising of front and back vertical shift degree, method is assessed from the geographic distance between sub-block to be repaired and the region of search repairing sub-block and difference two aspects of pixel value, and then calculate suitable repairing sub-block weights, after process 3D-BBF method was carried out scratch removal, the pixel value of scored area was that all sizes are the weighted mean sum of the sub-block of m * n in present frame and the frame search zone, front and back, and formula is expressed as follows:
Figure FDA00002145825100023
Figure FDA00002145825100025
The sub-block that is repaired for present frame,
Figure FDA00002145825100026
Be respectively the sub-block that is used for reparation in continuous three frames, c (‖ k 0,1,2-l 0,1,2‖) be ‖ k 0,1,2-l 0,1,2The variance of ‖ is σ dGaussian function, ‖ k 0,1,2-l 0,1,2‖ is the sub-block distance, and namely the interior each point of sub-block is apart from the absolute value sum;
Figure FDA00002145825100027
For
Figure FDA00002145825100028
Variance be σ rGaussian function,
Figure FDA00002145825100029
Poor for pixel value, i.e. the absolute value sum of the difference of each point pixel value in the sub-block; N I0, N I1, N I2Be the neighborhood of block of pixels l at present frame and front and back frame.
CN 201110046698 2011-02-25 2011-02-25 Method for detecting and repairing movie scratch damage Active CN102129670B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110046698 CN102129670B (en) 2011-02-25 2011-02-25 Method for detecting and repairing movie scratch damage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110046698 CN102129670B (en) 2011-02-25 2011-02-25 Method for detecting and repairing movie scratch damage

Publications (2)

Publication Number Publication Date
CN102129670A CN102129670A (en) 2011-07-20
CN102129670B true CN102129670B (en) 2013-02-06

Family

ID=44267746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110046698 Active CN102129670B (en) 2011-02-25 2011-02-25 Method for detecting and repairing movie scratch damage

Country Status (1)

Country Link
CN (1) CN102129670B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436641B (en) * 2011-10-10 2013-09-25 上海交通大学 Automatic film restoration method based on wave atom transformation and nonparametric model
US9324157B2 (en) * 2013-03-26 2016-04-26 Kabushiki Kaisha Toshiba Medical image data processing apparatus and method
KR101534973B1 (en) * 2013-12-19 2015-07-07 현대자동차주식회사 Image Processing Apparatus and Method for Removing Rain From Image Data
CN104092943B (en) * 2014-07-18 2016-09-14 小米科技有限责任公司 The method and device of image procossing
CN106920233B (en) * 2017-02-24 2019-10-08 中国人民解放军国防科学技术大学 Scratch detection method, apparatus and electronic equipment based on image procossing
CN112508937A (en) * 2020-12-22 2021-03-16 北京百度网讯科技有限公司 Method and device for generating scratch data, electronic equipment and storage medium
CN113989281B (en) * 2021-12-28 2022-05-31 中国传媒大学 Film sound reproduction system and method based on optical imaging

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101865859B (en) * 2009-04-17 2012-07-04 华为技术有限公司 Detection method and device for image scratch
CN101674397B (en) * 2009-09-27 2013-01-09 上海大学 Repairing method of scratch in video sequence

Also Published As

Publication number Publication date
CN102129670A (en) 2011-07-20

Similar Documents

Publication Publication Date Title
CN102129670B (en) Method for detecting and repairing movie scratch damage
CN110348376B (en) Pedestrian real-time detection method based on neural network
CN102768760B (en) Quick image dehazing method on basis of image textures
CN109460764B (en) Satellite video ship monitoring method combining brightness characteristics and improved interframe difference method
CN103337053B (en) A kind of salt-pepper noise pollution image filtering method based on the non local full variation of switch
CN105913396A (en) Noise estimation-based image edge preservation mixed de-noising method
CN107909556A (en) Video image rain removing method based on convolutional neural networks
CN104599256B (en) The method and system of removal image rain line based on single image
CN103942758A (en) Dark channel prior image dehazing method based on multiscale fusion
CN105976330A (en) Embedded foggy-weather real-time video image stabilization method
CN103020628A (en) Smoke detection method based on red, green and blue (RGB) contrast image and target shape
CN105046658A (en) Low-illumination image processing method and device
CN103347190B (en) Edge-related and color-combined demosaicing and amplifying method
CN110866455B (en) Pavement water body detection method
CN103578083A (en) Single image defogging method based on joint mean shift
CN107292830A (en) Low-light (level) image enhaucament and evaluation method
CN105550999A (en) Video image enhancement processing method based on background reuse
Patil et al. Motion saliency based generative adversarial network for underwater moving object segmentation
CN112488046A (en) Lane line extraction method based on high-resolution images of unmanned aerial vehicle
CN113284070A (en) Non-uniform fog image defogging algorithm based on attention transfer mechanism
CN105184761A (en) Image rain removing method based on wavelet analysis and system
CN102663703A (en) Treelet-based Bayer type CFA image denoising method
CN104318537A (en) Method and system for detecting and removing raindrop in heavy rain scene video data
CN105913383A (en) Image noise reduction method based on image block prior estimation mixed framework
CN105335930A (en) Edge data driven robustness-based face super-resolution processing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant