[go: up one dir, main page]

RU2008120938A - METHOD AND DEVICE FOR INCREASING CONTRAST - Google Patents

METHOD AND DEVICE FOR INCREASING CONTRAST Download PDF

Info

Publication number
RU2008120938A
RU2008120938A RU2008120938/09A RU2008120938A RU2008120938A RU 2008120938 A RU2008120938 A RU 2008120938A RU 2008120938/09 A RU2008120938/09 A RU 2008120938/09A RU 2008120938 A RU2008120938 A RU 2008120938A RU 2008120938 A RU2008120938 A RU 2008120938A
Authority
RU
Russia
Prior art keywords
brightness
histogram
image
value
zero
Prior art date
Application number
RU2008120938/09A
Other languages
Russian (ru)
Inventor
Ксения Юрьевна ПЕТРОВА (RU)
Ксения Юрьевна Петрова
Сергей Михайлович СЕДУНОВ (RU)
Сергей Михайлович Седунов
Артем Константинович ИГНАТОВ (RU)
Артем Константинович Игнатов
Original Assignee
Корпорация "САМСУНГ ЭЛЕКТРОНИКС Ко., Лтд." (KR)
Корпорация "САМСУНГ ЭЛЕКТРОНИКС Ко., Лтд."
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 Корпорация "САМСУНГ ЭЛЕКТРОНИКС Ко., Лтд." (KR), Корпорация "САМСУНГ ЭЛЕКТРОНИКС Ко., Лтд." filed Critical Корпорация "САМСУНГ ЭЛЕКТРОНИКС Ко., Лтд." (KR)
Priority to RU2008120938/09A priority Critical patent/RU2008120938A/en
Publication of RU2008120938A publication Critical patent/RU2008120938A/en

Links

Landscapes

  • Studio Devices (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

1. Способ адаптивной коррекции экспозиции видеосигналов стандартной и высокой четкости, предусматривающий выполнение следующих операций: ! представляют видеопоследовательность в виде набора кадров и представляют каждый кадр в виде трех каналов - канала яркости и двух каналов цветности; ! определяют, имело ли место преобразование широкоэкранного изображения в стандартное и, если такое преобразование имело место, определяют верхнюю границу нижней горизонтальной черной полосы и нижнюю границу верхней горизонтальной черной полосы по краям изображения; ! определяют, имело ли место преобразование стандартного изображения в широкоэкранное и, если такое преобразование имело место, определяют левую границу правой вертикальной черной полосы и правую границу левой вертикальной черной полосы по краям изображения; ! вычисляют гистограмму яркости части изображения, лежащей между черными полосами, а также гистограмму однородных областей изображения, лежащих между черными полосами; ! определяют признак изменения сцены Reset_flag, как равный нулю в случае, если в текущем и предыдущем кадре изображена одна и та же сцена, и равный некоторому ненулевому значению, меньшему или равному единице, и пропорциональному вероятности того, что в текущем и предыдущем кадре изображены разные сцены, если сцены не идентичны; ! вычисляют коэффициент усиления для коррекции экспозиции, пропорциональный желаемой степени коррекции экспозиции; ! корректируют экспозицию в канале яркости, осветляя и повышая резкость темных областей изображения пропорционально коэффициенту усиления коррекции экспозиции, сохраняя однородные области; ! корректи1. A method for adaptive exposure correction of standard and high definition video signals, which includes the following operations:! present a video sequence in the form of a set of frames and represent each frame in the form of three channels - a brightness channel and two color channels; ! determining whether there has been a conversion of the widescreen image to a standard one and, if such a conversion has taken place, determining the upper boundary of the lower horizontal black strip and the lower boundary of the upper horizontal black strip at the edges of the image; ! determine whether there has been a conversion of the standard image to widescreen and, if such a conversion has taken place, determine the left border of the right vertical black strip and the right border of the left vertical black strip at the edges of the image; ! calculating a histogram of the brightness of the portion of the image lying between the black stripes, as well as a histogram of homogeneous regions of the image lying between the black stripes; ! determine the sign of changing the scene Reset_flag as equal to zero if the same scene is depicted in the current and previous frame, and equal to some non-zero value less than or equal to one, and proportional to the probability that different scenes are shown in the current and previous frame if the scenes are not identical; ! calculating a gain for exposure compensation proportional to the desired degree of exposure correction; ! adjust the exposure in the brightness channel, brightening and sharpening the dark areas of the image in proportion to the gain of the exposure correction, while maintaining uniform areas; ! adjust

Claims (13)

1. Способ адаптивной коррекции экспозиции видеосигналов стандартной и высокой четкости, предусматривающий выполнение следующих операций:1. A method for adaptive exposure correction of standard and high definition video signals, comprising the following operations: представляют видеопоследовательность в виде набора кадров и представляют каждый кадр в виде трех каналов - канала яркости и двух каналов цветности;present a video sequence in the form of a set of frames and represent each frame in the form of three channels - a brightness channel and two color channels; определяют, имело ли место преобразование широкоэкранного изображения в стандартное и, если такое преобразование имело место, определяют верхнюю границу нижней горизонтальной черной полосы и нижнюю границу верхней горизонтальной черной полосы по краям изображения;determining whether there has been a conversion of the widescreen image to a standard one and, if such a conversion has taken place, determining the upper boundary of the lower horizontal black strip and the lower boundary of the upper horizontal black strip at the edges of the image; определяют, имело ли место преобразование стандартного изображения в широкоэкранное и, если такое преобразование имело место, определяют левую границу правой вертикальной черной полосы и правую границу левой вертикальной черной полосы по краям изображения;determine whether there has been a conversion of the standard image to widescreen and, if such a conversion has taken place, determine the left border of the right vertical black strip and the right border of the left vertical black strip at the edges of the image; вычисляют гистограмму яркости части изображения, лежащей между черными полосами, а также гистограмму однородных областей изображения, лежащих между черными полосами;calculating a histogram of the brightness of the portion of the image lying between the black stripes, as well as a histogram of homogeneous regions of the image lying between the black stripes; определяют признак изменения сцены Reset_flag, как равный нулю в случае, если в текущем и предыдущем кадре изображена одна и та же сцена, и равный некоторому ненулевому значению, меньшему или равному единице, и пропорциональному вероятности того, что в текущем и предыдущем кадре изображены разные сцены, если сцены не идентичны;determine the sign of changing the scene Reset_flag as equal to zero if the same scene is depicted in the current and previous frame, and equal to some non-zero value less than or equal to one, and proportional to the probability that different scenes are shown in the current and previous frame if the scenes are not identical; вычисляют коэффициент усиления для коррекции экспозиции, пропорциональный желаемой степени коррекции экспозиции;calculating a gain for exposure compensation proportional to the desired degree of exposure correction; корректируют экспозицию в канале яркости, осветляя и повышая резкость темных областей изображения пропорционально коэффициенту усиления коррекции экспозиции, сохраняя однородные области;adjust the exposure in the brightness channel, brightening and sharpening the dark areas of the image in proportion to the gain of the exposure correction, while maintaining uniform areas; корректируют каналы цветности после коррекции экспозиции.correct color channels after exposure compensation. 2. Способ по п.1, отличающийся тем, что в процессе вычисления гистограммы яркости в однородных областях учитывают только те пиксели, для которых количество соседних пикселей, лежащих в окрестности заданного размера и с яркостью, отличающейся от яркости исходного пикселя не более, чем на заданное количество градаций яркости, превышает заданный порог.2. The method according to claim 1, characterized in that in the process of calculating the histogram of brightness in homogeneous areas, only those pixels are taken into account for which the number of neighboring pixels lying in the vicinity of a given size and with a brightness that differs from the brightness of the original pixel by no more than a specified number of gradations of brightness exceeds a predetermined threshold. 3. Способ по п.1, отличающийся тем, что признак изменения сцены определяют в два этапа, при этом на первом этапе для предварительной оценки используют сумму моделей разностей элементов гистограммы яркости текущего и предыдущего кадра, и, в случае, если эта сумма не превышает заданного порога, считают, что изменения сцены не произошло, в противном случае выполняют второй этап, предусматривающий выполнение следующих операций:3. The method according to claim 1, characterized in that the sign of the scene change is determined in two stages, while in the first stage, for the preliminary assessment, use the sum of the models of the differences of the brightness histogram elements of the current and previous frame, and if this amount does not exceed of a given threshold, it is believed that the scene has not changed, otherwise they perform the second stage, which involves the following operations: разбивают текущий кадр на непересекающиеся прямоугольные блоки;split the current frame into disjoint rectangular blocks; для каждого блока текущего кадра находят оптимальный блок совпадающего размера в предыдущем кадре, который имеет минимальную сумму модулей разностей яркостей с текущим блоком, и сохраняют для каждого пикселя блока значение ошибки предсказания в виде модуля разности яркости этого пикселя и яркости соответствующего пикселя оптимального блока предыдущего кадра, при этом поиск в предыдущем кадре ведут в пределах заданного максимального смещения относительно текущего блока;for each block of the current frame, find the optimal block of the same size in the previous frame, which has a minimum sum of modules of brightness differences with the current block, and save for each block pixel the value of the prediction error in the form of a module of the difference of the brightness of this pixel and the brightness of the corresponding pixel of the optimal block of the previous frame while the search in the previous frame is within the specified maximum offset relative to the current block; вычисляют относительную площадь области, которая не может быть предсказана с достаточной точностью на основании предыдущего кадра, при этом подсчитывают количество пикселей, лежащих между черными полосами по краям изображения, для которых значение ошибки предсказания не превышает заданного порога, и делят его на общее количество пикселей, лежащих между черными полосами по краям изображения, а затем вычитают это число из единицы;calculate the relative area of the area that cannot be predicted with sufficient accuracy based on the previous frame, while counting the number of pixels lying between the black bars at the edges of the image for which the value of the prediction error does not exceed a predetermined threshold, and divide it by the total number of pixels, lying between the black stripes at the edges of the image, and then subtract this number from unity; определяют признак изменения сцены Reset_flag, применив к относительной площади области, которая не может быть предсказана с достаточной точностью на основании предыдущего кадра, нелинейную функцию, которая равна нулю при значениях аргумента, меньших нижнего порога, равна единице при значениях аргумента, превышающих верхний порог, и монотонно возрастает в диапазоне от нуля до единицы для значений аргумента, лежащих между верхним и нижним порогами.determine the sign of the scene change Reset_flag, applying to the relative area of the area that cannot be predicted with sufficient accuracy based on the previous frame, a non-linear function that is equal to zero for argument values less than the lower threshold is equal to one for argument values greater than the upper threshold, and monotonically increases in the range from zero to unity for the values of the argument lying between the upper and lower thresholds. 4. Способ по п.1, отличающийся тем, что вычисление коэффициента усиления коррекции экспозиции осуществляют за счет выполнения следующих операций:4. The method according to claim 1, characterized in that the calculation of the gain of the exposure correction is carried out by performing the following operations: вычисляют эффективную гистограмму, учитывая гистограмму текущего кадра и эффективную гистограмму предыдущего кадра;calculate the effective histogram, taking into account the histogram of the current frame and the effective histogram of the previous frame; вычисляют нормализованный коэффициент коррекции экспозиции для текущего кадра с использованием эффективной гистограммы;calculating a normalized exposure correction coefficient for the current frame using an effective histogram; вычисляют эффективный нормализованный коэффициент коррекции экспозиции для текущего кадра.calculate the effective normalized exposure compensation coefficient for the current frame. 5. Способ по п.4, отличающийся тем, что при вычислении нормализованного коэффициента коррекции экспозиции для одного кадра выполняют следующие операции:5. The method according to claim 4, characterized in that when calculating the normalized exposure correction coefficient for one frame, the following operations are performed: вычисляют по гистограмме нижнюю границу bottom5p, левее которой лежит 5% пикселей с минимальной яркостью;calculate the lower border bottom5p from the histogram, to the left of which lies 5% of the pixels with minimum brightness; вычисляют по гистограмме верхнюю границу top5p, правее которой лежит 5% пикселей с максимальной яркостью;calculate the upper border top5p from the histogram, to the right of which lies 5% of the pixels with maximum brightness; вычисляют кумулятивное значение нижнего диапазона яркости lo_с в виде суммы элементов гистограммы на интервале
Figure 00000001
calculate the cumulative value of the lower brightness range lo_c as the sum of the histogram elements in the interval
Figure 00000001
вычисляют кумулятивное значение среднего диапазона яркости mid_c в виде суммы элементов гистограммы на интервале
Figure 00000002
calculate the cumulative value of the average brightness range mid_c as the sum of the histogram elements in the interval
Figure 00000002
вычисляют кумулятивное значение верхнего диапазона яркости hi_с в виде суммы элементов гистограммы на интервале
Figure 00000003
вычисляют максимальное значение гистограммы для нижнего диапазона яркости lo_max на интервале
Figure 00000004
calculate the cumulative value of the upper brightness range hi_c as the sum of the histogram elements in the interval
Figure 00000003
calculate the maximum histogram value for the lower range of brightness lo_max in the interval
Figure 00000004
вычисляют максимальное значение гистограммы для среднего диапазона яркости mid_max на интервале
Figure 00000005
calculate the maximum histogram value for the average brightness range mid_max in the interval
Figure 00000005
вычисляют первое положительное условие с1, как некоторую возрастающую функцию аргумента
Figure 00000006
определенную на интервале [0, 1], принимающую значения из интервала [0, 1] и имеющую более крутой наклон вблизи нуля и меньший наклон вблизи единицы;
calculate the first positive condition c1, as some increasing function of the argument
Figure 00000006
defined on the interval [0, 1], taking values from the interval [0, 1] and having a steeper slope near zero and a smaller slope near unity;
вычисляют второе положительное условие с2, соответствующее ситуации, когда максимальное значение гистограммы для нижнего диапазона яркости превышает максимальное значение для среднего диапазона яркости, в виде убывающей функции от отношения
Figure 00000007
определенной на интервале [0, 1] и принимающей значения из интервала [0, 1], равной нулю при lo_max<mid_max и равной единице в нуле;
calculate the second positive condition c2 corresponding to the situation when the maximum histogram value for the lower brightness range exceeds the maximum value for the average brightness range, in the form of a decreasing function of the ratio
Figure 00000007
defined on the interval [0, 1] and taking values from the interval [0, 1], equal to zero for lo_max <mid_max and equal to unity at zero;
вычисляют второе положительное условие с3, соответствующее ситуации, когда изображение содержит обширные темные области и незначительные области в среднем диапазоне яркости, в виде гладкой убывающей функции от аргументов mid_c и bottom5p, принимающей значения из интервала [0, 1], равной нулю при mid_c>θ1 и bottom5p>θ2, где θ1, и θ2 - предопределенные пороговые значения, равной единице в нуле и равной очень малому числу если аргументы близки по значениям к величинамcalculate the second positive condition c3, corresponding to the situation when the image contains extensive dark areas and small areas in the average brightness range, in the form of a smooth decreasing function of the arguments mid_c and bottom5p, which takes values from the interval [0, 1], which is zero for mid_c> θ 1 and bottom5p> θ 2 , where θ 1 and θ 2 are predefined threshold values equal to unity at zero and equal to a very small number if the arguments are close in value to the values θ1 и θ2, соответственно;θ 1 and θ 2 , respectively; вычисляют комбинированное условие с в виде возрастающей функции f от максимального значения из с1 и с2, где функция f определена на интервале [0, 1] и принимает значения из интервала [0, 1], и является выпуклой при малых значениях аргумента и вогнутой при больших значениях аргумента;calculate the combined condition c in the form of an increasing function f of the maximum value from c1 and c2, where the function f is defined on the interval [0, 1] and takes values from the interval [0, 1], and is convex for small values of the argument and concave for large argument values вычисляют первое отрицательное условие n1 в виде гладкой функции от разности между величинами top5p и bottom5p и третьего положительного условия с3, которая близка к нулю, когда оба аргумента малы;calculate the first negative condition n1 as a smooth function of the difference between the values of top5p and bottom5p and the third positive condition c3, which is close to zero when both arguments are small; вычисляют второе отрицательное условие n2 в виде гладкой возрастающей функции от количества ненулевых элементов гистограммы N, равной нулю в нуле и равной единице, если значение N превышает заданный порог;calculate the second negative condition n2 in the form of a smooth increasing function of the number of nonzero elements of the histogram N, equal to zero at zero and equal to unity if the value of N exceeds a predetermined threshold; вычисляют третье отрицательное условие n3 как гладкую возрастающую функцию аргумента mid_c, которая равна нулю в нуле и равна единице, если аргумент превышает заданный порог;calculate the third negative condition n3 as a smooth increasing function of the argument mid_c, which is zero at zero and equal to one if the argument exceeds a given threshold; вычисляют четвертое отрицательное условие n4 как гладкую убывающую функцию аргумента bottom5p, которая равна единице в нуле и равна нулю, если аргумент превышает заданный порог;calculate the fourth negative condition n4 as a smooth decreasing function of the argument bottom5p, which is equal to one at zero and equal to zero if the argument exceeds a given threshold; вычисляют нормализованный коэффициент коррекции экспозиции, как максимальное из значений произведения с·n1·n2·n3·n4, c3·n2 и произведения с3·n2.calculate the normalized exposure correction coefficient as the maximum of the values of the product with · n1 · n2 · n3 · n4, c3 · n2 and the product c3 · n2.
6. Способ по п.4, отличающийся тем, что вычисление эффективного нормализованного коэффициента коррекции экспозиции осуществляют путем выполнения следующих операций:6. The method according to claim 4, characterized in that the calculation of the effective normalized coefficient of exposure correction is carried out by performing the following operations: находят корректированное значение величины нормализованного коэффициента коррекции экспозиции K′ для текущего кадра с учетом величины нормализованного коэффициента коррекции экспозиции K для текущего кадра, эффективного нормализованного коэффициента коррекции экспозиции для предыдущего кадра Kprev и признака изменения сцены Reset_flag по формулеfind the corrected value of the normalized exposure compensation coefficient K ′ for the current frame, taking into account the value of the normalized exposure compensation coefficient K for the current frame, the effective normalized exposure compensation coefficient for the previous frame K prev and the sign of scene change Reset_flag according to the formula K′=Reset_flag·K+(1,0-Reset_flag)·Kprev.;K ′ = Reset_flag · K + (1,0-Reset_flag) · K prev .; находят корректированное значение величины нормализованного коэффициента коррекции экспозиции Ksat для текущего кадра с учетом ограничения на скорость изменения этого коэффициента для соседних кадров по формуле Ksat=Kprev+MAX(MIN(K′-Kprev,DT),-DT), где DT - предопределенное пороговое значение;find the corrected value of the normalized exposure compensation coefficient K sat for the current frame, taking into account the restriction on the rate of change of this coefficient for neighboring frames according to the formula K sat = K prev + MAX (MIN (K′-K prev , DT), - DT), where DT is a predetermined threshold value; находят минимальное min_K и максимальное max_K исторические значения эффективного нормализованного коэффициента коррекции экспозиции и номера кадров min_I и max_I, соответственно, в которых эти значения достигались;find the minimum min_K and maximum max_K historical values of the effective normalized exposure compensation coefficient and frame numbers min_I and max_I, respectively, at which these values were achieved; находят корректированное значение величины нормализованного коэффициента коррекции экспозиции
Figure 00000008
, для текущего кадра с учетом ограничения на среднюю скорость изменения этого коэффициента по формуле K′sat=Kprev+f(Ksat-Kprev,max_K,min_K,max_I,min_I),
find the corrected value of the normalized exposure correction coefficient
Figure 00000008
, for the current frame, taking into account the restrictions on the average rate of change of this coefficient according to the formula K ′ sat = K prev + f (K sat -K prev , max_K, min_K, max_I, min_I),
где функция от пяти аргументов f(х, M1, М2, I1, I2) принимает значение PT·I1 при
Figure 00000009
принимает значение NT-I2 при
Figure 00000010
и тождественно равна своему первому аргументу во всех остальных случая, при этом РТ и NT являются заданными пороговыми величинами.
where the function of the five arguments f (x, M1, M2, I1, I2) takes the value PT · I1 for
Figure 00000009
takes on the value of NT-I2 when
Figure 00000010
and is identically equal to its first argument in all other cases, while RT and NT are given threshold values.
7. Способ по п.1, отличающийся тем, что значения эффективной гистограммы eff_histo[i] вычисляют в виде выпуклой комбинации значений эффективной гистограммы предыдущего кадра prev_histo[i] и гистограммы текущего кадра histo[i]no формуле eff_histo[i]=(1-α)-prev_histo[i]+α-histo[i], где коэффициент α вычисляют как максимальное из значений Reset_flag и histo_change_thresh, где histo_change_thresh - заданное пороговое значение.7. The method according to claim 1, characterized in that the values of the effective histogram eff_histo [i] are calculated as a convex combination of the effective histogram values of the previous frame prev_histo [i] and the histogram of the current frame histo [i] no formula eff_histo [i] = (1 -α) -prev_histo [i] + α-histo [i], where the coefficient α is calculated as the maximum of the values Reset_flag and histo_change_thresh, where histo_change_thresh is the specified threshold value. 8. Способ по п.1, отличающийся тем, что локальное тоновое преобразование в канале яркости осуществляют путем выполнения для каждого пикселя изображения преобразования согласно формуле8. The method according to claim 1, characterized in that the local tone conversion in the luminance channel is carried out by performing a conversion for each pixel of the image according to the formula
Figure 00000011
Figure 00000011
где Y - яркость исходного пикселя,
Figure 00000012
- корректированное значение величины нормализованного коэффициента коррекции экспозиции, Kuser - глобальный коэффициент усиления, задаваемый пользователем, MaxPixelValue - максимальное допустимое значение яркости, PRESERVE_DARK - настраиваемый параметр, контролирующий степень обострения в темных областях изображения и задаваемый пользователем, а функция тонового преобразования FSHADOW(Y) является неотрицательной функцией яркости, равной нулю в нуле и при значениях аргумента больших или равных MaxPixelValue.
where Y is the brightness of the original pixel,
Figure 00000012
is the adjusted value of the normalized exposure compensation coefficient, K user is the global gain set by the user, MaxPixelValue is the maximum allowable brightness value, PRESERVE_DARK is a custom parameter that controls the degree of sharpening in dark areas of the image and is set by the user, and the tone conversion function F SHADOW (Y ) is a non-negative function of brightness equal to zero at zero and for argument values greater than or equal to MaxPixelValue.
9. Способ по п.8, отличающийся тем, что при локальном тоновом преобразовании в канале яркости функцию тонового преобразования FSHADOW(Y) обнуляют при Y<T1 или Y>T2, где T1 и Т2 - заданные пороговые величины, и определялась формулой9. The method according to claim 8, characterized in that, with a local tone transform in the luminance channel, the tone transform function F SHADOW (Y) is reset to zero at Y <T1 or Y> T2, where T1 and T2 are predetermined threshold values, and was determined by the formula (t-T1)2·(t-T2)2·tP для значений аргумента, лежащих между этими пороговыми величинами, при этом величину Р подбирают таким образом, чтобы абсцисса максимума функции имела заданное значение.(t-T1) 2 · (t-T2) 2 · t P for the argument values lying between these threshold values, and the value of P is selected so that the abscissa of the maximum of the function has a given value. 10. Способ по п.8, отличающийся тем, что восстановление исходного значение яркости в однородных областях изображения выполняют таким образом, что для каждого пикселя с яркостью Y вычисляют скорректированное значение Ycorrected по формуле 10. The method according to claim 8, characterized in that the restoration of the original brightness value in homogeneous areas of the image is performed in such a way that for each pixel with brightness Y, the corrected value Y corrected is calculated by the formula
Figure 00000013
,
Figure 00000013
,
где вычисление функции PUniform(Y) предусматривает выполнение следующих операций:where the calculation of the function P Uniform (Y) involves the following operations: находят ближайшее к Y значение яркости Yuniform, для которого значение в гистограмме однородных областей превышает заданный порог;find the brightness value Y uniform closest to Y, for which the value in the histogram of homogeneous regions exceeds a predetermined threshold; вычисляют модуль разности
Figure 00000014
;
calculate the difference modulus
Figure 00000014
;
сравнивают значение d с заданным порогом EC_PRESERVE_RADIUS и присваивают функции PUniform значение ноль, если d меньше этого порога, присваивают единицу, если d больше удвоенного порога, а в остальных случаях интерполируют линейно по формулеcompare the value of d with the given threshold EC_PRESERVE_RADIUS and assign the function P Uniform a value of zero if d is less than this threshold, assign one if d is greater than twice the threshold, and in other cases interpolate linearly by the formula
Figure 00000015
.
Figure 00000015
.
11. Способ по п.1, отличающийся тем, что коррекцию экспозиции в канале яркости выполняют за счет следующих операций:11. The method according to claim 1, characterized in that the exposure correction in the brightness channel is performed due to the following operations: для каждого пикселя в канале яркости вычисляют среднее значение YBLURRED в заданной окрестности при помощи сглаживающего фильтра, сохраняющего края, например, билатерального или сигма-фильтра;for each pixel in the luminance channel, the average Y BLURRED value in a given neighborhood is calculated using a smoothing filter that preserves the edges, for example, bilateral or sigma filter; выполняют локальное тоновое преобразование в канале яркости;perform local tone conversion in the brightness channel; восстанавливают исходное значение яркости в однородных областях изображения.restore the original brightness value in homogeneous areas of the image. 12. Устройство для реализации способа адаптивной коррекции экспозиции видеосигнала, состоящее из детектора преобразования широкоэкранного изображения в стандартное, детектора преобразования стандартного изображения в широкоэкранное, блока вычисления гистограммы, блока вычисления гистограммы однородных областей изображения, детектора изменения сцены, блока адаптации коэффициента коррекции экспозиции, блока коррекции экспозиции и блока коррекции каналов цветности, в котором:12. A device for implementing a method for adaptively adjusting the exposure of a video signal, consisting of a detector for converting a widescreen image to a standard, a detector for converting a standard image to a widescreen, a histogram calculation unit, a histogram calculation unit for homogeneous image areas, a scene change detector, an exposure correction coefficient adaptation block, a correction unit exposure and block correction of color channels, in which: канал яркости текущего кадра соединен с входами детектора изменения сцены, детектора преобразования широкоэкранного изображения в стандартное, детектора преобразования стандартного изображения в широкоэкранное, блока вычисления гистограммы, блока вычисления гистограммы однородных областей изображения, блока коррекции экспозиции и блока коррекции каналов цветности;the brightness channel of the current frame is connected to the inputs of a scene change detector, a widescreen standard image conversion detector, a standard image widescreen conversion detector, a histogram calculation unit, a histogram calculation unit of homogeneous image areas, an exposure compensation unit and a color channel correction unit; канал яркости предыдущего кадра соединен с входом детектора изменения сцены;the brightness channel of the previous frame is connected to the input of the scene change detector; каналы цветности исходного изображения соединены с входом блока коррекции каналов цветности;the color channels of the source image are connected to the input of the color channel correction block; выходы детектора преобразования широкоэкранного изображения в стандартное изображение и детектора преобразования стандартного изображения в широкоэкранное изображение соединены с входами блока вычисления гистограммы, блока вычисления гистограммы однородных областей изображения, и детектора изменения сцены;the outputs of the detector for converting a widescreen image into a standard image and the detector for converting a standard image to a widescreen image are connected to the inputs of the histogram calculation unit, the histogram calculation unit of homogeneous image areas, and the scene change detector; разность выходов блока вычисления гистограммы и блока вычисления гистограммы однородных областей изображения соединена с входами детектора изменения сцены и блока адаптации коэффициента коррекции экспозиции;the difference between the outputs of the histogram calculation unit and the histogram calculation unit of homogeneous image areas is connected to the inputs of the scene change detector and the exposure compensation coefficient adaptation block; выход блока вычисления гистограммы однородных областей соединен с входами блока адаптации коэффициента коррекции экспозиции и блока коррекции экспозиции;the output of the histogram calculation unit of homogeneous regions is connected to the inputs of the exposure compensation coefficient adaptation block and the exposure correction block; выход детектора изменения сцены соединен с входом блока адаптации коэффициента коррекции экспозиции, выполненного с возможностью передачи эффективной гистограммы для предыдущего кадра, формируемую на выходе блока адаптации коррекции экспозиции, на вход детектора изменения сцены, и с возможностью передачи коэффициента коррекции экспозиции, также вычисляемого в блоке адаптации коэффициента коррекции экспозиции, на вход блока коррекции экспозиции;the output of the scene change detector is connected to the input of the exposure compensation coefficient adaptation block adapted to transmit the effective histogram for the previous frame generated at the output of the exposure correction adaptation block to the input of the scene change detector and with the possibility of transmitting the exposure correction coefficient also calculated in the adaptation block exposure compensation coefficient, to the input of the exposure compensation unit; выход блока коррекции экспозиции соединен с входом блока коррекции каналов цветности;the output of the exposure compensation unit is connected to the input of the color channel correction unit; выход блока коррекции каналов цветности соединен с выходом устройства.the output of the color channel correction block is connected to the output of the device. 13. Устройство по п.12, отличающееся тем, что блок коррекции экспозиции включает в себя блок вычисления средней яркости, блок тонового преобразования и блок восстановления яркости для однородных областей. 13. The device according to p. 12, characterized in that the exposure compensation unit includes an average brightness calculation unit, a tone conversion unit and a brightness recovery unit for homogeneous areas.
RU2008120938/09A 2008-05-28 2008-05-28 METHOD AND DEVICE FOR INCREASING CONTRAST RU2008120938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2008120938/09A RU2008120938A (en) 2008-05-28 2008-05-28 METHOD AND DEVICE FOR INCREASING CONTRAST

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2008120938/09A RU2008120938A (en) 2008-05-28 2008-05-28 METHOD AND DEVICE FOR INCREASING CONTRAST

Publications (1)

Publication Number Publication Date
RU2008120938A true RU2008120938A (en) 2009-12-10

Family

ID=41488852

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2008120938/09A RU2008120938A (en) 2008-05-28 2008-05-28 METHOD AND DEVICE FOR INCREASING CONTRAST

Country Status (1)

Country Link
RU (1) RU2008120938A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2477007C1 (en) * 2011-09-05 2013-02-27 Открытое акционерное общество "Государственный Рязанский приборный завод" System for correcting dark, light and middle tones on digital images
CN109118424A (en) * 2018-09-26 2019-01-01 旺微科技(上海)有限公司 Image processing memory management method and management system for target detection

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2477007C1 (en) * 2011-09-05 2013-02-27 Открытое акционерное общество "Государственный Рязанский приборный завод" System for correcting dark, light and middle tones on digital images
CN109118424A (en) * 2018-09-26 2019-01-01 旺微科技(上海)有限公司 Image processing memory management method and management system for target detection

Similar Documents

Publication Publication Date Title
US8942475B2 (en) Image signal processing device to emphasize contrast
US7538822B2 (en) Apparatus and method for filtering digital image signal
US9230304B2 (en) Apparatus and method for enhancing image using color channel
US7995135B2 (en) Image capturing apparatus for adjusting an exposure value that is set lower than the correct exposure value
US8391598B2 (en) Methods for performing local tone mapping
US8526736B2 (en) Image processing apparatus for correcting luminance and method thereof
US7421120B2 (en) Apparatus correcting image by luminance histogram
US20100238356A1 (en) Video signal processing method and apparatus
US11941791B2 (en) High-dynamic-range image generation with pre-combination denoising
CN110827225A (en) A method for underwater image enhancement with non-uniform illumination based on double exposure framework
US8917419B2 (en) Image processing apparatus and control method thereof
CN102447815B (en) Video image processing method and device
CN115330621A (en) Image processing method, apparatus, device, storage medium, and program product
JP5648849B2 (en) Image processing apparatus and image processing method
JP2012108898A (en) Image processing device and image processing method
US20060153446A1 (en) Black/white stretching system using R G B information in an image and method thereof
CN101543042A (en) Image processing apparatus, video reception apparatus, and image processing method
US9530191B2 (en) Methods and systems for detection and estimation of mosquito noise
US11153467B2 (en) Image processing
JP2014010776A (en) Image processing apparatus, image processing method, and program
US8305499B2 (en) Image processing circuit and method for image processing
JP2000350055A (en) Outline correction device for digital video camera
RU2008120938A (en) METHOD AND DEVICE FOR INCREASING CONTRAST
US7471336B2 (en) Global motion adaptive system with motion values correction with respect to luminance level
JP5297897B2 (en) Image signal processing device

Legal Events

Date Code Title Description
FA92 Acknowledgement of application withdrawn (lack of supplementary materials submitted)

Effective date: 20100701