CN101510299A - Image self-adapting method based on vision significance - Google Patents

Image self-adapting method based on vision significance Download PDF

Info

Publication number
CN101510299A
CN101510299A CNA2009100469761A CN200910046976A CN101510299A CN 101510299 A CN101510299 A CN 101510299A CN A2009100469761 A CNA2009100469761 A CN A2009100469761A CN 200910046976 A CN200910046976 A CN 200910046976A CN 101510299 A CN101510299 A CN 101510299A
Authority
CN
China
Prior art keywords
image
slit
new
energy
diff
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.)
Granted
Application number
CNA2009100469761A
Other languages
Chinese (zh)
Other versions
CN101510299B (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 Anyan Information Technology Co., Ltd.
State Grid Shanghai Electric Power Co Ltd
Original Assignee
University of Shanghai for Science and Technology
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 University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN2009100469761A priority Critical patent/CN101510299B/en
Publication of CN101510299A publication Critical patent/CN101510299A/en
Application granted granted Critical
Publication of CN101510299B publication Critical patent/CN101510299B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an image self-adaptive method based on visual saliency, comprising the steps as follows: firstly, the energy of an original image is calculated; secondly, a saliency object in the original image are extracted and the relative energy of the saliency object is strengthened; and thirdly, by utilizing a dynamic programming technique, the gaps with the lowest energy on the vertical and horizontal directions in the image are found out and eliminated so as to realize the image self-adaption. As the method eliminates the gaps with the lowest energy in the image, the whole energy loss of the image is the smallest; and as the relative energy of the saliency object is higher, the eliminated gaps can not pass through the saliency object, the saliency object can keep complete after the image self-adaption. Therefore, the method can minimize the image visual effect distortion in intelligent mobile equipment with low resolution and small screen and maintain the completeness of the saliency object, thereby providing a visual effect which is the same as that of display equipment with high resolution.

Description

Image adaptive method based on vision significance
Technical field
The present invention relates to a kind of image adaptive method based on vision significance.The method mainly is to consider from this angle of visual effect that image shows, the image that is intended to be fit to high definition television or widescreen display display environment carries out self-adaptive processing, the whole distortion that can be implemented under intelligent mobile device low resolution and the small screen environment picture material drops to bottom line, keeps the integrality of conspicuousness content in the original image simultaneously.
Background technology
Along with development of multimedia technology, browsing pictures, real-time play TV programme become a reality in mobile device; Along with the raising day by day of people's economic strength, more and more Duo consumer has bought intelligent mobile device.Compare common mobile communication equipment, the sharpest edges of intelligent mobile device have been the more applications medium integrated.By using these equipment, the iPhone of Apple as shown in Figure 8, people almost can obtain required information whenever and wherever possible.But, when browse network picture and editor's photo album, bring very big inconvenience can for the user because the restriction of this mobile device itself is much lower as screen size ten minutes relative high definition television of finite sum resolution and widescreen display.This point mainly shows losing of image content distortion, resolution reduction and excellent detail section.At these problems, press for one and can keep the undistorted visual effect adaptive approach that improves simultaneously of original image content.
In general, the image that touches in people's daily life can be divided three classes: landscape figure, geometry figure and saliency object figure, wherein landscape figure and saliency object figure are the most common.With original high resolution and large-size images, for example, landscape figure among Fig. 2 a, the geometry image among Fig. 2 b and the saliency object image propagates among Fig. 2 c show in intelligent mobile device, shown image is Fig. 9 a in this intelligence mobile device, landscape figure, geometry figure and saliency object figure among Fig. 9 b Fig. 9 c, wherein the distortion of the landscape figure among Fig. 9 a is less, and the distortion of geometry figure among Fig. 9 b and the saliency object figure among Fig. 9 c is big especially.The screen size of intelligence mobile device is more little, resolution is low more, and distortion is just more obvious.
Summary of the invention
The objective of the invention is to defective at the prior art existence, a kind of image adaptive method based on vision significance is proposed, the visual effect distortion that this method can be implemented in the intelligent mobile device under the low resolution and the small screen environment picture drops to minimum, and keep the wherein integrality of saliency object, for the beholder provide with high-resolution display device on duplicate visual effect.
In order to achieve the above object, the scheme of the present invention's employing is as follows.
Dynamic programming often is applied to solve optimization problem, choosing the minimum slit of energy in the image also is that (method of finding out the slit has a variety of a kind of optimization problem, but the slit that diverse ways is found out has different energy, the energy in slit refers to adding up of each pixel energy in this slit), so the present invention adopts dynamic programming to find out these slits.
Above-mentioned image adaptive method based on vision significance is characterized in that it at first being the energy that calculates original image; Next is the relative energy that extracts the saliency object in the original image and strengthen saliency object; Utilize the dynamic programming technology to find out in the image the minimum slit of energy on the vertical direction and horizontal direction then, reject these slits, realize the self-adaptation of image.Its specific implementation step is:
The energy of A, calculating original image: original color image is converted to gray level image, calculates the gradient of gray level image then, the size of each pixel gradient value is the energy value of each pixel of original image correspondence;
B, extract saliency object and improve its relative energy: original color image is carried out color decompose, then carry out the reorganization of difference color, then to the reorganization after image block and calculate corresponding piece average and piece variance, distinguish the information entropy of computing block average and piece variance at last, determine saliency object according to the consistance of institute's computing information entropy.
C, utilize the dynamic programming technology to find out in the image the minimum slit of energy on the vertical direction and horizontal direction, reject these slits: the analysis on the vertical and horizontal direction of definition image, utilize the dynamic programming technology to find out the slit of local optimum repeatedly, rejecting.
The energy of the calculating original image in the steps A of said method by formula (1) calculates:
Adopt gradient operator as energy function.The original image of supposing input is that (m, n), wherein, m, n be the height and width of corresponding original image respectively for I.
E ( I ) = | ∂ I ∂ x | + | ∂ I ∂ y | - - - ( 1 )
Wherein, the energy (hereinafter to be referred as energygram) of E (I) expression original image,
Figure A200910046976D00072
Represent absolute value sign respectively, image is respectively at x, the partial derivative on the y direction.
Saliency object in the extraction original image among the step B of said method and improve its relative energy and carry out according to the following steps:
Quick variation place in the original image is detected by gradient operator, and energy is represented with the numerical value of 0-255 respectively from low to high, the minimum energy of 0 expression, and 255 expression high-energy are the highest.But be to use gradient operator to be merely able to detect quick variation place, for saliency object, it is inner, and its relative energy value is relatively low owing to change gently, can cause when self-adaptation saliency object destroyed like this.The result that this image adaptive that is not based on vision significance is expected must detect salient region and improve its relative energy, makes picture material being kept perfectly property when self-adaptation.This method detects according to following step and strengthens saliency object.
B1, original color image is carried out colour decompose.
If original image is not that (B:blue) image is converted into the RGB image to RGB for R:red, G:green, carries out color according to formula (2) then and decomposes.
R new = r - ( g + b ) / 2 G new = g - ( r + b ) / 2 B new = b - ( r + g ) / 2 Y new = ( r + g ) / 2 - | r - g | / 2 - b - - - ( 2 )
Wherein, r, g, b represent three Color Channel values of original RGB image: redness, and green and blue, R New, G New, B New, Y NewMonochrome image after expression separates respectively: redness, green, blue and yellow.
B2, the monochrome image after will separating carry out mutual calculus of differences, obtain 6 kinds of difference images altogether.
With the monochrome image R after separating New, G New, B New, Y NewThe calculus of differences that process is mutual, with the calculus of differences between the Θ presentation video, concrete steps as shown in Equation (3).
RG diff = R new Θ G new R B diff = R new Θ B new RY diff = R new Θ Y new G B diff = G new Θ B new G Y diff = G new Θ Y new B Y diff = B new Θ Y new - - - ( 3 )
RG Diff, RB Diff, RY Diff, GB Diff, GY Diff, BY DiffCorresponding red green respectively, red indigo plant, reddish yellow, turquoise, greenish-yellow and blue yellow difference image.
B3, the piece average of calculating difference image and piece variance and carry out binaryzation.
Each difference image is carried out piecemeal, and (size of each piece is N * M for i, j) expression with Block.Calculate the piece average and the piece variance of difference image then according to formula (4).
σ i , j = Σ x = 0 N - 1 Σ y = 0 M - 1 ( I i , j ( x , y ) - μ i , j ) 2 / ( N × M ) μ i , j = [ Σ x = 0 N - 1 Σ y = 0 M - 1 I i , j ( x , y ) ] / ( N × M ) - - - ( 4 )
σ I, jAnd μ I, jRepresent piece Block (i, deviation j) and average, I respectively I, j(x, y) expression piece Block (i, j) Nei pixel.This method adopts a kind of block-based local quantization method: if σ I, jAnd μ I, jRespectively greater than
Figure A200910046976D00091
With
Figure A200910046976D00092
If σ I, j=255, μ I, j=255; If σ I, jAnd μ I, jRespectively less than With
Figure A200910046976D00094
If σ I, j=0, μ I, j=0; Calculate the quantity of information that quantizes back average image and offset images, select best difference image, draw conspicuousness figure by the comparison information amount.
According to Shannon information theory principle, calculate the information entropy of each average image and variance image, consistance according to information entropy draws the possibility of each difference image as the conspicuousness image, picks out that image that comprises saliency object and the relative energy that improves saliency object.Shown in the calculating of information entropy (5) formula.
Entropy=-log(P(x)) (5)
Wherein, Entropy represents information entropy, and P (x) represents the probability of corresponding average image of certain difference image or the shared whole total pixel of variance image maximal value pixel.The consistance criterion is: if the relative distance of the quantity of information entropy of average image after quantizing and variance image is near more, the probability as the conspicuousness image of corresponding difference image is big more, finds out the energy that the conspicuousness image strengthens the conspicuousness image then.Last raising the conspicuousness image of relative energy.
Utilize the slit that the dynamic programming technology determines that energy is minimum on the vertical direction and horizontal direction in the image and the step of rejecting the slit as follows among the step C of said method:
The definition in C1, slit.
Following two conditions must strictness be satisfied in vertical direction and the slit on the horizontal direction in this method definition image:
A., for each bar slit, no matter be vertical direction or horizontal direction, only account for a pixel at each row or each row, this expression slit is absolute monotonic;
B. the slit must be 8 connections.The reason that defines these two restrictive conditions is: avoid the bird caging of image in the adaptive process.
Slit on the definition vertical direction is:
Seam y = { seam j y } j = 1 n = { ( j , y ( j ) ) } j = 1 n | y ( j ) - y ( j - 1 ) | ≤ 1 - - - ( 6 )
Slit on the definition horizontal direction is:
Seam x = { seam i x } i = 1 m = { ( i , x ( i ) ) } i = 1 m | x ( i ) - x ( i - 1 ) | ≤ 1 - - - ( 7 )
Wherein, Seam represents slit x (i), and y (j) represents the mapping on vertical direction and the horizontal direction respectively, m, and n, || the height of the corresponding original image of difference, wide and absolute value sign, the slit on vertical direction and the horizontal direction is respectively as Fig. 6 a, shown in the 6b.
C2, utilize dynamic programming to find out the minimum slit of energy.
The purpose of finding out the slit is to reject the slit to reach the adaptively changing of image size.For the distortion of image after the MIN minimizing self-adaptation with keep the integrality of saliency object, must determine slit in the image with a kind of method of optimum.Adopt dynamic programming to determine optimum slit in this method.
Dynamic programming on the vertical direction:
Task(i,j)=E(i,j)+S(i,j)+min(Task(i-1,j-1),Task(i-1,j),Task(i-1,j+1)) (8)
Dynamic programming on the horizontal direction:
Task(i,j)=E(i,j)+S(i,j)+min(Task(i-1,j-1),Task(i,j-1),Task(i+1,j-1)) (9)
Task (i, j), E (i, j), S (i, j), (x, y z) represent the image that dynamic programming calculates respectively to min, the energygram picture of original image, the minimum value function of conspicuousness image and three numbers, i ∈ [0, height), and j ∈ [0, width), height, the height and width of the corresponding original image of width.Slit deterministic process with vertical direction is an example: at first go to the capable Task that calculates of M-1 from the 0th according to the dynamic programming method on the vertical direction; Find out the capable minimum value of M-1 then; Date back to the 0th row from M-1 according to the thinking of dynamic programming at last.Shown in Figure 10,11, suppose that matrix shown in Figure 10 is corresponding with a certain image, three red arrows are represented computation sequence (adopting order from top to down in this programme), coloured square represents that the value in this square is calculated.Suppose to calculate the value that the second row secondary series position goes out among Figure 10, according to connectedness and the monotonicity in slit, front (Seam) definition, the value of current position can only with previous row in relevant with the value of its three the most contiguous positions, utilize these three values of having calculated to determine the value of this position, guarantee simultaneously the value calculate be institute might the result of computing method gained in the value of minimum.With reference to Figure 10, the value of utilizing dynamic programming can obtain this position is: 7=2+min (5,8,12), min (a wherein, b, c) minimum value of three numbers is asked in expression, the preliminary energy in the second row secondary series place in " 2 " representing matrix, " 5 ", " 8 " and " 12 " expression relevant position good as calculated value, calculating the value of coming that other method calculates must be worth more than or equal to this.After the value at the second row secondary series place has been calculated, then calculate the value (i.e. second row the 3rd row) of the next position then, calculate last row of last column always.Among Figure 11, carry out the track of dynamic programming operation in the red lines presentation video, just the slit of mentioning repeatedly in this method (Seam).By repeatedly find out and reject these slits, just can reach the purpose of image adaptive.
The self-adaptation of C3, realization image.
In this method, the self-adaptation of image realizes the self-adaptation of image according to the following steps.Because wide self-adaptation and high adaptive approach be identical, so following step mainly is at wide or high self-adaptation (high self-adaptation wide adaptive step identical).If the original image of input is that (m, n), wherein, m, n be the height and width of corresponding original image respectively for I.The size of the target image that need obtain is m ', n '.Δ M=m '-m represents width or the height that needs change;
C31, find out a slit on the vertical direction, represent with Seam according to the method for introducing above;
C32, reject this slit: find out since first row and belong to the residing position of the capable pixel of i among the Seam, wherein, i ∈ [0, m), the pixel on this right, position is moved to the left a unit one by one, delete capable all pixels of n-1.After finishing this step, the width of image just reduces one, becomes m-1, simultaneously Δ M=Δ M-1;
C33, if Δ M=0, just finish; If be not 0, repeat A, the operation of B is till Δ M=0.By top A, B, the operation of C just can be finished the self-adaptation of picture traverse.Adaptive approach to height also is the same thinking.
Image adaptive method based on vision significance of the present invention has following advantage compared with prior art: this adaptive approach is the minimum slit of energy in the image owing to what reject, so integral image energy loss minimum; Because the relative energy of saliency object is higher, saliency object can not passed in the slit of rejecting, so the result of saliency object and shape can be kept perfectly behind the image adaptive.Therefore, the visual effect distortion that this method can be implemented in the intelligent mobile device under the low resolution and the small screen environment picture drops to minimum, and keep the wherein integrality of saliency object, for the beholder provide with high-resolution display device on duplicate visual effect.
Description of drawings
Fig. 1 is the process flow diagram of the image adaptive method based on vision significance of the present invention;
Fig. 2 a, 2b, 2c are typical landscape figure, geometry figure and saliency object figure;
Fig. 3 is the gradient image (preliminary energy function figure) in the steps A of said method among the present invention;
Fig. 4 a, 4b, 4c, 4d, 4e, 4f are the difference images of B2 among the step B of said method among the present invention;
Fig. 5 a, 5b, 5c are average image, variance image and the final energy function figure of B2 among the step B of said method among the present invention;
Horizontal direction that Fig. 6 a, 6b represent respectively is in the image to be found out and the slit on the vertical direction;
Fig. 7 a, 7b, 7c are the self-adaptation figure as a result among the step C of said method among the present invention;
Fig. 8 is the iPhone outside drawing of Apple;
Fig. 9 a, 9b, 9c are shown landscape figure, geometry figure and the saliency object figure that does not carry out the distortion of the inventive method in intelligent mobile device;
Figure 10 correspondence be from the effect of the angle of microcosmic explanation dynamic programming to each pixel, provided the basic operation and the demonstration of dynamic programming;
Figure 11 correspondence be that angle from macroscopic view illustrates the effect of dynamic programming to image, provided the basic operation and the demonstration of dynamic programming.
Embodiment
Details are as follows in conjunction with the accompanying drawings for the embodiment of the image adaptive method based on vision significance of the present invention:
With reference to Fig. 1, show the process flow diagram of the image adaptive method based on vision significance of the present invention, can under the environment of low resolution and the small screen, realize self-adaptation at picture material.Be that programming realizes on the PC test platform of 1.66GHz, internal memory 1024M at CPU, provided some results in the processing procedure.Its specific implementation step is:
The energy of A, calculating original image: the original image shown in Fig. 2 a, 2b, 2c, original color image is converted to gray level image, calculate the gradient of gray level image then, the size of each pixel gradient value is the energy value of each pixel of original image correspondence;
B, extract saliency object and improve its relative energy: original color image is carried out color decompose, then carry out the reorganization of difference color, then to the reorganization after image block and calculate corresponding piece average and piece variance, distinguish the information entropy of computing block average and piece variance at last, determine saliency object according to the consistance of institute's computing information entropy;
C, utilize the dynamic programming technology to find out in the image the minimum slit of energy on the vertical direction and horizontal direction, reject these slits: the analysis on the vertical and horizontal direction of definition image, utilize the dynamic programming technology to find out the slit of local optimum repeatedly, reject these slits and reached the purpose that changes the change of image size.
The energy of the calculating original image in the steps A of said method by formula (1) calculates:
This core concept based on the adaptive approach of vision significance is to reject some low-energy pixel (slit is made up of the low-yield pixel that satisfies certain condition) in the original image.How therefore, primary problem is: is energy to know that pixel low, the energy height of that pixel? say that instinctively best way is to remove those " inapparent " pixels.People are when browsing pictures in addition, the easier attraction of border or edge people's attention in the image.Gradient operator (Gradient operator) is based on the local derivative of image function, and is bigger in the fast-changing position of image function (edge), and the effect of gradient operator manifests these positions exactly in image.In this method, adopt gradient operator as energy function.Original image shown in Fig. 2 c, the original image of input be I (m, n), m wherein, n is the height and width of corresponding original image respectively,
E ( I ) = | ∂ I ∂ x | + | ∂ I ∂ y | - - - ( 1 )
Wherein, the energy (hereinafter to be referred as energygram) of E (I) expression original image,
Figure A200910046976D00122
Represent absolute value sign respectively, image is respectively at x, the partial derivative on the y direction.
At first original colorful image is converted to gray level image, then, gray level image utilization (1) formula of gained is carried out the gradient computing, obtain the energy of image, the result as shown in Figure 3.
Saliency object in the extraction original image among the step B of said method and improve its relative energy and carry out according to the following steps:
Quick variation place in the original image is detected by gradient operator, and energy is represented with the numerical value of 0-255 respectively from low to high, the minimum energy of 0 expression, and 255 expression high-energy are the highest.But be to use gradient operator to be merely able to detect quick variation place, for saliency object, it is inner, and its relative energy value is relatively low owing to change gently, can cause when self-adaptation saliency object destroyed like this.The result that this image adaptive that is not based on vision significance is expected must detect salient region and improve its relative energy, makes picture material being kept perfectly property when self-adaptation.This method detects according to following step and strengthens saliency object.
The extraction of saliency object and its energy enhancement process performing step in the image among the step B of said method:
B1, original color image is carried out color decompose;
B2, the image after will decomposing carry out calculus of differences, obtain difference image, and calculated result is shown in Fig. 4 a, 4b, 4c, 4d, 4e, 4f.
B3, calculate the average image and the variance image of each difference image respectively, shown in Fig. 5 a, 5b.
B4 calculates the average image of each difference image and the information entropy of difference image respectively.
B5 is the average information entropy and the variance information entropy of each difference image relatively, draws conspicuousness image and enhancing at last, and the result who draws is shown in Fig. 5 c.
The dynamic programming technology of utilizing among the step C of said method is found out in the image the minimum slit of energy on the vertical direction and horizontal direction, rejects these slits, to finish the performing step of image adaptive:
C1, on the basis of the first, two energy that calculates of step and conspicuousness image, according to (6), the vertical direction that (7) formula defines and the slit of horizontal direction;
C2, utilize the dynamic programming technology to seek slit on vertical direction and the horizontal direction, reject the slit, whole the right, mobile slit or following pixel obtain Fig. 6 a, the 6b image of rejecting the slit;
C3, obtain the size of target image, carry out C1 repeatedly according to practical application, the operation of C2, till satisfying target, adaptive net result is shown in Fig. 7 b.
Can be implemented in the intelligent mobile device under the low resolution and the small screen environment visual effect distortion with picture as mentioned above drops to minimum and keeps the wherein integrality of saliency object.This invention can solve the problem that video effect causes loss in detail and sight to reduce because of resolution descends effectively.According to the program flow diagram of Fig. 1, below provide the example of realization, the type of picture is not subjected to any restriction, can be landscape figure, geometry mechanism map and saliency object figure.Fig. 4 to Fig. 7 has provided corresponding results in the processing procedure.Carry out the explanation of each several part test below in conjunction with program flow diagram.
Test: the present invention mainly be for solve traditional adaptive approach to image manipulation after the problem of the image quality decrease of bringing, compare traditional method, this method can keep the complete integrality of image saliency object when changing the picture size size, this method mainly is divided into three parts.According to process flow diagram shown in Figure 1: the preliminary energy of computed image at first, extract saliency object then and strengthen its energy, utilize dynamic programming to seek and reject the minimum slit of energy in the image at last.The preliminary energygram of the original image of mentioning in the steps A of the corresponding said method of Fig. 3, Fig. 5 c correspondence be figure after extracting the saliency object in the original image and strengthening the saliency object energy, Fig. 7 a is an original image, 7b is the self-adaptation figure that classic method obtains for the adapting to image 7c correspondence that obtains with method of the present invention, can significantly find out: under the situation that changes width, method of the present invention can keep the integrality of saliency object (child is saliency object among this figure), and classic method can cause the distortion of saliency object, and method of the present invention has been brought very big improvement on visual effect.Under low resolution and the small screen environment, very big content distortion has appearred in geometry figure and saliency object figure as can be seen from Figure 9, and the distortion of landscape figure is less relatively.

Claims (4)

1, a kind of image adaptive method based on vision significance is characterized in that it at first being the energy that calculates original image; Next is the relative energy that extracts the saliency object in the original image and strengthen saliency object; Utilize the dynamic programming technology to find out in the image the minimum slit of energy on the vertical direction and horizontal direction then, reject these slits, realize the self-adaptation of image, its specific implementation step is:
The energy of A, calculating original image: original color image is converted to gray level image, calculates the gradient of gray level image then, the size of each pixel gradient value is the energy value of each pixel of original image correspondence;
B, extract saliency object and improve its relative energy: original color image is carried out color decompose, then carry out the reorganization of difference color, then to the reorganization after image block and calculate corresponding piece average and piece variance, distinguish the information entropy of computing block average and piece variance at last, determine saliency object according to the consistance of institute's computing information entropy;
C, utilize the dynamic programming technology to find out in the image the minimum slit of energy on the vertical direction and horizontal direction, reject these slits: the analysis on the vertical and horizontal direction of definition image, utilize the dynamic programming technology to find out the slit of local optimum repeatedly, rejecting.
2, according to claims 1 described image adaptive method based on vision significance, the energy that it is characterized in that the calculating original image in the steps A of said method by formula (1) calculates: adopt gradient operator as energy function, the original image of supposing input is I (m, n), wherein, m, n is the height and width of corresponding original image respectively
E ( I ) = | ∂ I ∂ x | + | ∂ I ∂ y | - - - ( 1 )
Wherein, the energy of E (I) expression original image,
Figure A200910046976C00022
Represent absolute value sign respectively, image is respectively at x, the partial derivative on the y direction.
3, according to claims 1 described image adaptive method, it is characterized in that: the saliency object in the extraction original image among the step B of said method and improve its relative energy and detect according to following step and strengthen saliency object based on vision significance:
B1. original color image is carried out colour and decomposes,, be converted into the RGB image, carry out color according to formula (2) then and decompose if original image is not the RGB image,
R new = r - ( g + b ) / 2 G new = g - ( r + b ) / 2 B new = b - ( r + g ) / 2 Y new = ( r + g ) / 2 - | r - g | / 2 - b - - - ( 2 )
Wherein, r, g, b represent three Color Channel values of original RGB image: redness, and green and blue, R New, G New, B New, Y NewMonochrome image after expression separates respectively: redness, green, blue and yellow;
B2, the monochrome image after will separating carry out mutual calculus of differences, obtain 6 kinds of difference images altogether, with the monochrome image R after separating New, G New, B New, Y NewThe calculus of differences that process is mutual, with the calculus of differences between the Θ presentation video, concrete steps as shown in Equation (3),
RG diff = R new Θ G new RB diff = R new Θ B new RY diff = R new Θ Y new GB diff = G new Θ B new GY diff = G new Θ Y new BY diff = B new Θ Y new - - - ( 3 )
Wherein, RG Diff, RB Diff, RY Diff, GB Diff, GY Diff, BY DiffCorresponding red green respectively, red indigo plant, reddish yellow, turquoise, greenish-yellow and blue yellow difference image;
B3, the piece average of calculating difference image and piece variance and carry out binaryzation are carried out piecemeal to each difference image, with Block (size of each piece is N * M, calculates the piece average and the piece variance of difference image then according to formula (4) for i, j) expression,
σ i , j = Σ x = 0 N - 1 Σ y = 0 M - 1 ( I i , j ( x , y ) - μ i , j ) 2 / ( N × M ) μ i , j = [ Σ x = 0 N - 1 Σ y = 0 M - 1 I i , j ( x , y ) ] / ( N × M ) - - - ( 4 )
Wherein, σ I, jAnd μ I, jRepresent piece Block (i, deviation j) and average, I respectively I, j(x, y) (i, j) Nei pixel, this method adopt a kind of block-based local quantization method to expression piece Block: if σ I, jAnd μ I, jRespectively greater than
Figure A200910046976C00033
With
Figure A200910046976C00034
If σ I, j=255, μ I, j=255; If σ I, jAnd μ I, jRespectively less than With If σ I, j=0, μ I, j=0; Calculate the quantity of information that quantizes back average image and offset images, select best difference image, draw conspicuousness figure by the comparison information amount,
According to Shannon information theory principle, calculate the information entropy of each average image and variance image, consistance according to information entropy draws the possibility of each difference image as the conspicuousness image, pick out that image that comprises saliency object and the relative energy that improves saliency object, shown in the calculating of information entropy (5) formula
Entropy=-log(P(x)) (5)
Wherein, Entropy represents information entropy, P (x) represents the probability of corresponding average image of certain difference image or the shared whole total pixel of variance image maximal value pixel, the consistance criterion is: if the relative distance of the quantity of information entropy of average image after quantizing and variance image is near more, the probability as the conspicuousness image of corresponding difference image is big more, finds out the energy that strengthens saliency object behind the conspicuousness image.
4, according to claims 1 described image adaptive method, it is characterized in that: utilize the slit that the dynamic programming technology determines that energy is minimum on the vertical direction and horizontal direction in the image and the step of rejecting the slit as follows among the step C of said method based on vision significance:
The definition in C1, slit, following two conditions must strictness be satisfied in vertical direction and the slit on the horizontal direction in this method definition image:
A, for each bar slit, no matter be vertical direction or horizontal direction, only account for a pixel at each row or each row, this expression slit is absolute monotonic;
B. the slit must be 8 connections, and the reason that defines these two restrictive conditions is: avoid the bird caging of image in the adaptive process;
Slit on the definition vertical direction is:
Seam y = { seam j y } j = 1 n = { ( j , y ( j ) ) } j = 1 n | y ( j ) - y ( j - 1 ) | ≤ 1 - - - ( 6 )
Slit on the definition horizontal direction is:
Seam x = { seam i x } i = 1 m = { ( i , x ( i ) ) } i = 1 m | x ( i ) - x ( i - 1 ) | ≤ 1 - - - ( 7 )
Wherein, Seam represents slit x (i), and y (j) represents the mapping on vertical direction and the horizontal direction respectively, wherein, m, n, || the height of the corresponding original image of difference, wide and absolute value sign;
C2, utilize dynamic programming to find out the minimum slit of energy, the purpose of finding out the slit is to reject the slit to reach the adaptively changing of image size, for the distortion of image after the MIN minimizing self-adaptation and the integrality of maintenance saliency object, must determine slit in the image with a kind of method of optimum, adopt dynamic programming to determine optimum slit, the dynamic programming on the vertical direction in this method:
Task(i,j)=E(i,j)+S(i,j)+min(Task(i-1,j-1),Task(i-1,j),Task(i-1,j+1)) (8)
Dynamic programming on the horizontal direction:
Task(i,j)=E(i,j)+S(i,j)+min(Task(i-1,j-1),Task(i,j-1),Task(i+1,j-1)) (9)
Wherein, and Task (i, j), E (i, j), S (i, j), min (x, y, z) represent the image that dynamic programming calculates respectively, the energygram picture of original image, the minimum value function of conspicuousness image and three numbers, i ∈ [0, height), j ∈ [0, width), height, the height and width of the corresponding original image of width;
Slit deterministic process with vertical direction is an example: at first go to the capable Task that calculates of M-1 from the 0th according to the dynamic programming method on the vertical direction; Select the capable minimum value of M-1 then; Date back to the 0th row from M-1 according to the thinking of dynamic programming at last;
The self-adaptation of C3, realization image; In this method, the self-adaptation of image can realize the self-adaptation of image according to the following steps, and wide self-adaptation is identical with high adaptive approach, so following step mainly is at wide or high self-adaptation, if the original image of input is I (m, n), wherein, m, n is the height and width of corresponding original image respectively, the size of the target image that need obtain is m ', and it is wide or high that n ', Δ M=m '-m represent that needs change;
C31, find out a slit on the vertical direction, represent with Seam according to the method for introducing above;
C32, reject this slit: find out since first row and belong to the residing position of the capable pixel of i among the Seam, wherein, i ∈ [0, m), the pixel on the right of this position is moved to the left a unit one by one, deletes capable all pixels of n-1, after finishing this step, the width of image just reduces one, becomes m-1, simultaneously; Δ M=Δ M-1,
C33, if Δ M=0, just finish; If be not 0, repeat A, the operation of B is till Δ M=0.
CN2009100469761A 2009-03-04 2009-03-04 Image self-adapting method based on vision significance Active CN101510299B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100469761A CN101510299B (en) 2009-03-04 2009-03-04 Image self-adapting method based on vision significance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100469761A CN101510299B (en) 2009-03-04 2009-03-04 Image self-adapting method based on vision significance

Publications (2)

Publication Number Publication Date
CN101510299A true CN101510299A (en) 2009-08-19
CN101510299B CN101510299B (en) 2011-07-20

Family

ID=41002691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100469761A Active CN101510299B (en) 2009-03-04 2009-03-04 Image self-adapting method based on vision significance

Country Status (1)

Country Link
CN (1) CN101510299B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917557A (en) * 2010-08-10 2010-12-15 浙江大学 Method for dynamically adding subtitles based on video content
CN102509072A (en) * 2011-10-17 2012-06-20 上海大学 Method for detecting salient object in image based on inter-area difference
CN102779338A (en) * 2011-05-13 2012-11-14 欧姆龙株式会社 Image processing method and image processing device
CN103218606A (en) * 2013-04-10 2013-07-24 哈尔滨工程大学 Multi-pose face recognition method based on face mean and variance energy images
CN103226824A (en) * 2013-03-18 2013-07-31 上海交通大学 Video retargeting system for maintaining visual saliency
CN103247038A (en) * 2013-04-12 2013-08-14 北京科技大学 Overall image information synthetic method driven by visual cognition model
CN104318514A (en) * 2014-10-17 2015-01-28 合肥工业大学 Three-dimensional significance based image warping method
CN104680143A (en) * 2015-02-28 2015-06-03 武汉烽火众智数字技术有限责任公司 Quick image search method for video investigation
CN104967922A (en) * 2015-06-30 2015-10-07 北京奇艺世纪科技有限公司 Subtitle adding position determining method and device
WO2015196715A1 (en) * 2014-06-24 2015-12-30 小米科技有限责任公司 Image retargeting method and device and terminal
CN105683996A (en) * 2013-11-28 2016-06-15 英特尔公司 Method for determining local differentiating color for image feature detectors
US9665925B2 (en) 2014-06-24 2017-05-30 Xiaomi Inc. Method and terminal device for retargeting images
CN107038699A (en) * 2016-11-09 2017-08-11 重庆医科大学 Strengthen image fault rate detection method
US10062002B2 (en) 2013-11-28 2018-08-28 Intel Corporation Technologies for determining local differentiating color for image feature detectors

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100334880C (en) * 1997-03-17 2007-08-29 松下电器产业株式会社 Method and its device for transmitting and receiving dynamic image data
TWI285055B (en) * 2004-09-30 2007-08-01 Nippon Telegraph & Telephone Method for progressive lossless video coding, method for progressive lossless video decoding, progressive lossless video coding apparatus, progressive lossless video decoding apparatus, and recording media of progressive lossless video coding program...
CN1275469C (en) * 2004-11-10 2006-09-13 华中科技大学 Method for pridicting sortable complex in frame

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917557B (en) * 2010-08-10 2012-06-27 浙江大学 Method for dynamically adding subtitles based on video content
CN101917557A (en) * 2010-08-10 2010-12-15 浙江大学 Method for dynamically adding subtitles based on video content
CN102779338A (en) * 2011-05-13 2012-11-14 欧姆龙株式会社 Image processing method and image processing device
CN102779338B (en) * 2011-05-13 2017-05-17 欧姆龙株式会社 Image processing method and image processing device
CN102509072B (en) * 2011-10-17 2013-08-28 上海大学 Method for detecting salient object in image based on inter-area difference
CN102509072A (en) * 2011-10-17 2012-06-20 上海大学 Method for detecting salient object in image based on inter-area difference
CN103226824A (en) * 2013-03-18 2013-07-31 上海交通大学 Video retargeting system for maintaining visual saliency
CN103226824B (en) * 2013-03-18 2016-07-06 上海交通大学 Maintain the video Redirectional system of vision significance
CN103218606A (en) * 2013-04-10 2013-07-24 哈尔滨工程大学 Multi-pose face recognition method based on face mean and variance energy images
CN103247038A (en) * 2013-04-12 2013-08-14 北京科技大学 Overall image information synthetic method driven by visual cognition model
CN103247038B (en) * 2013-04-12 2016-01-20 北京科技大学 A kind of global image information synthesis method of visual cognition model-driven
CN105683996B (en) * 2013-11-28 2019-10-25 英特尔公司 Method for determining the local differential color of image feature detector
US10062002B2 (en) 2013-11-28 2018-08-28 Intel Corporation Technologies for determining local differentiating color for image feature detectors
CN105683996A (en) * 2013-11-28 2016-06-15 英特尔公司 Method for determining local differentiating color for image feature detectors
WO2015196715A1 (en) * 2014-06-24 2015-12-30 小米科技有限责任公司 Image retargeting method and device and terminal
US9665925B2 (en) 2014-06-24 2017-05-30 Xiaomi Inc. Method and terminal device for retargeting images
CN104318514B (en) * 2014-10-17 2017-05-17 合肥工业大学 Three-dimensional significance based image warping method
CN104318514A (en) * 2014-10-17 2015-01-28 合肥工业大学 Three-dimensional significance based image warping method
CN104680143B (en) * 2015-02-28 2018-02-27 武汉烽火众智数字技术有限责任公司 A kind of fast image retrieval method for video investigation
CN104680143A (en) * 2015-02-28 2015-06-03 武汉烽火众智数字技术有限责任公司 Quick image search method for video investigation
CN104967922A (en) * 2015-06-30 2015-10-07 北京奇艺世纪科技有限公司 Subtitle adding position determining method and device
CN107038699A (en) * 2016-11-09 2017-08-11 重庆医科大学 Strengthen image fault rate detection method
CN107038699B (en) * 2016-11-09 2019-07-23 重庆医科大学 Enhance image fault rate detection method

Also Published As

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

Similar Documents

Publication Publication Date Title
CN101510299B (en) Image self-adapting method based on vision significance
CN104537615B (en) A kind of local Retinex Enhancement Methods based on HSV color spaces
CN1655583B (en) Systems and methods for generating high compression image data files having multiple foreground planes
CN102611828B (en) Real-time enhanced processing system for foggy continuous video image
CN101360250B (en) Immersion method and system, factor dominating method, content analysis method and parameter prediction method
CN104537634B (en) The method and system of raindrop influence is removed in dynamic image
CN106228548A (en) The detection method of a kind of screen slight crack and device
CN102956029B (en) Image processing apparatus and image processing method
CN104299185A (en) Image magnification method, image magnification device and display device
CN103871041A (en) Image super-resolution reconstruction method based on cognitive regularization parameters
CN104574328A (en) Color image enhancement method based on histogram segmentation
CN102103751A (en) Foreground image extraction method and device
CN101795350B (en) Non-linear image double amplifying method based on relevance detection
CN110634147A (en) Image matting method based on bilateral boot up-sampling
CN106550244A (en) The picture quality enhancement method and device of video image
CN105809643A (en) Image enhancing method based on self-adaptive block channel stretching
CN102831579B (en) Text enhancement method and device, text extraction method and device
CN102750671B (en) A kind of Image color noise minimizing technology
Gautam et al. Efficient color image contrast enhancement using range limited bi-histogram equalization with adaptive gamma correction
CN105451094A (en) Subtitle color adjusting method and device
CN105100895A (en) Video and screen resolution matching method and device with no video resolution information
CN104519371B (en) Method for pushing, pusher and server
CN104504672A (en) NormLV feature based low-rank sparse neighborhood-embedding super-resolution method
CN110312134A (en) A kind of screen video coding method based on image procossing and machine learning
CN103544716A (en) Method and device for classifying colors of pixels of image

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
ASS Succession or assignment of patent right

Owner name: STATE GRID SHANGHAI ELECTRIC POWER COMPANY

Free format text: FORMER OWNER: SHANGHAI UNIVERSITY

Effective date: 20141211

Owner name: SHANGHAI ANYAN INFORMATION TECHNOLOGY CO., LTD.

Effective date: 20141211

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 200444 BAOSHAN, SHANGHAI TO: 200122 PUDONG NEW AREA, SHANGHAI

TR01 Transfer of patent right

Effective date of registration: 20141211

Address after: 200122 No. 1671 South Pudong Road, Shanghai, Pudong New Area

Patentee after: State Grid Shanghai Municipal Electric Power Company

Patentee after: Shanghai Anyan Information Technology Co., Ltd.

Address before: 200444 Baoshan District Road, Shanghai, No. 99

Patentee before: Shanghai University