RU2493668C1 - Method of encoding/decoding multi-view video sequence based on local adjustment of brightness and contract of reference frames without transmitting additional service data - Google Patents

Method of encoding/decoding multi-view video sequence based on local adjustment of brightness and contract of reference frames without transmitting additional service data Download PDF

Info

Publication number
RU2493668C1
RU2493668C1 RU2012109843/08A RU2012109843A RU2493668C1 RU 2493668 C1 RU2493668 C1 RU 2493668C1 RU 2012109843/08 A RU2012109843/08 A RU 2012109843/08A RU 2012109843 A RU2012109843 A RU 2012109843A RU 2493668 C1 RU2493668 C1 RU 2493668C1
Authority
RU
Russia
Prior art keywords
reference block
block
brightness
contrast
pixel
Prior art date
Application number
RU2012109843/08A
Other languages
Russian (ru)
Other versions
RU2012109843A (en
Inventor
Алексей Михайлович Фартуков
Игорь Миронович Ковлига
Михаил Наумович Мишуровский
Original Assignee
Корпорация "САМСУНГ ЭЛЕКТРОНИКС Ко., Лтд."
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 Корпорация "САМСУНГ ЭЛЕКТРОНИКС Ко., Лтд." filed Critical Корпорация "САМСУНГ ЭЛЕКТРОНИКС Ко., Лтд."
Priority to RU2012109843/08A priority Critical patent/RU2493668C1/en
Priority to KR1020130025130A priority patent/KR20130105402A/en
Priority to US13/795,301 priority patent/US20130243085A1/en
Application granted granted Critical
Publication of RU2493668C1 publication Critical patent/RU2493668C1/en
Publication of RU2012109843A publication Critical patent/RU2012109843A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/57Control of contrast or brightness
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/597Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding specially adapted for multi-view video sequence encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

FIELD: information technology.
SUBSTANCE: method for local adjustment of brightness and contrast of a reference frame for encoding a multi-view video sequence including: obtaining pixel values of the current encoded block belonging to the encoded frame, and pixel values of a reference block belonging to a reference frame; obtaining restored pixel values neighbouring with respect to the current block of the encoded frame, and pixel values neighbouring with respect to the reference block of the reference frame; determining numerical relationships between pixel values of the reference block and pixel values neighbouring with respect to the reference block, and relationships between the restored pixel values, neighbouring with respect to the current encoded block, and pixel values neighbouring with respect to the reference block; numerical relationships found at the previous step are used to determine parameters for adjusting brightness and contrast for adjusting differences in brightness and contrast for the reference block compared to the current encoded block; and adjusting differences in brightness and contrast for the reference block using the found adjustment parameters.
EFFECT: high encoding efficiency.
13 cl, 10 dwg

Description

Настоящее изобретение относится к способу коррекции различий в яркости и контрастности, которые могут возникать между кадрами многоракурсной видеопоследовательности. В частности, настоящее изобретение может быть использовано при кодировании и декодировании многоракурсных видеопоследовательностей.The present invention relates to a method for correcting differences in brightness and contrast that may occur between frames of a multi-angle video sequence. In particular, the present invention can be used in the encoding and decoding of multi-angle video sequences.

Один из способов, применяемых для кодирования многоракурсных видеопоследовательностей, заключается в использовании кадров, принадлежащих соседним видам (ракурсам), а также кадров, синтезированных с помощью кадров соседних видов (ракурсов) и карт глубин. Такие кадры выступают в качестве опорных кадров при проведении кодирования с предсказанием [1]. При этом производится устранение смещения объекта в текущем кадре относительно одного из опорных кадров. Под смещением может пониматься движение объекта или различие в положении объекта между текущим кодируемым кадром и кадрами, принадлежащими соседним видам (ракурсам), или синтезированным кадром. Цель устранения указанного смещения заключается в получении минимальной межкадровой разности. Полученная межкадровая разность затем кодируется (например, путем применения декоррелирующего преобразования, квантования и энтропийного кодирования) и помещается в выходной битовый поток.One of the methods used for coding multi-angle video sequences is to use frames belonging to neighboring views (angles), as well as frames synthesized using frames of neighboring views (angles) and depth maps. Such frames act as reference frames during prediction coding [1]. This eliminates the offset of the object in the current frame relative to one of the reference frames. Under the displacement can be understood the movement of the object or the difference in the position of the object between the current encoded frame and frames belonging to neighboring views (angles), or a synthesized frame. The purpose of eliminating this bias is to obtain a minimum inter-frame difference. The resulting inter-frame difference is then encoded (for example, by applying decorrelating transform, quantization, and entropy encoding) and placed in the output bitstream.

Возможные различия в параметрах камер, используемых для съемки многоракурсных видеопоследовательностей, а также различие в световом потоке, поступающем от объектов съемки к камерам, приводят к различию в яркости и контрастности между кадрами, принадлежащими разным ракурсам. Указанные различия в яркости и контрастности также влияют на характеристики синтезированных кадров. Это может приводить к увеличению абсолютных значений межкадровой разности, что негативно сказывается на эффективности кодирования.Possible differences in the parameters of the cameras used for shooting multi-angle video sequences, as well as the difference in the luminous flux coming from the objects being shot to the cameras, lead to a difference in brightness and contrast between frames belonging to different angles. The indicated differences in brightness and contrast also affect the characteristics of the synthesized frames. This can lead to an increase in the absolute values of the interframe difference, which negatively affects the coding efficiency.

Для решения указанной выше проблемы в стандарте Н.264 [2] используется взвешенный прогноз, изначально предназначенный для эффективного кодирования одновидовых (одноракурсных) видеопоследовательностей, в которых встречаются эффекты плавного введения и выведения изображения, мерцания или смены сцены. Взвешенный прогноз позволяет устранять различие в яркости между кодируемым кадром и опорными кадрами на уровне макроблоков. При этом используются одни и те же значения весовых коэффициентов для всех макроблоков, принадлежащих одному и тому же слою. Весовые коэффициенты могут определяться в процессе кодирования и сохраняться в выходном битовом потоке («явный» взвешенный прогноз) или вычисляться в процессе кодирования/декодирования («неявный» взвешенный прогноз). Однако в случае многоракурсных последовательностей, где могут наблюдаться локальные изменения яркости и/или контрастности, такой способ может оказаться неэффективным.To solve the above problem, the H.264 standard [2] uses a weighted forecast, which was originally intended for efficient coding of single-species (single-view) video sequences in which there are effects of smooth input and output of images, flicker or scene change. Weighted prediction eliminates the difference in brightness between the encoded frame and reference frames at the macroblock level. In this case, the same values of the weighting coefficients are used for all macroblocks belonging to the same layer. Weights can be determined during the encoding process and stored in the output bitstream (“explicit” weighted forecast) or calculated in the encoding / decoding process (“implicit” weighted forecast). However, in the case of multi-angle sequences, where local changes in brightness and / or contrast can be observed, this method may be ineffective.

Другим решением указанной проблемы является адаптивная поблочная коррекция различия в яркости [3]. Одним из способов, реализующих указанный подход, является способ одношаговой аффинной коррекции яркости для многоракурсных видеопоследовательностей (Multiview One-Step Affine Illumination Compensation - MOSAIC) [4, 5]. Указанный способ предполагает комбинацию поблочной коррекции различия в яркости с описанными в стандарте Н.264 режимами межкадрового предсказания. В процессе такого кодирования для каждого макроблока вычисляют средние значения пикселей текущего кодируемого блока и опорного блока-кандидата. Для указанных блоков формируют модифицированные блоки путем вычитания среднего значения для каждого пикселя блока. Затем для полученных блоков вычисляют сумму абсолютных разностей (Mean-Removed Sun of Absolute Difference - MRSAD). Результатом межкадрового предсказания являются относительные координаты опорного блока (вектор смещения), которые дают минимальное значение стоимости кодирования, а также разность между модифицированным кодируемым блоком и модифицированным опорным блоком. При этом вычисление стоимости кодирования основывается на вычисленном значении MRSAD и оценке битовых затрат на передачу дополнительной информации, необходимой для последующего декодирования. Помимо вектора смещения, дополнительная информация включает в себя разность между средними значениями текущего и опорного блоков. Эта разность обозначается как DVIC (Difference Value of Illumination Compensation) и является параметром коррекции яркости. Значение DVIC подвергается дифференциальному кодированию и помещается в выходной битовый поток. Необходимо отметить, что в случае режима "Р Skip" значение DVIC определяется на основании значений DVIC соседних макроблоков, которые уже были закодированы на момент кодирования текущего макроблока. Таким образом, приведенный способ не позволяет полностью устранить необходимость явной передачи дополнительной информации, необходимой для последующего декодирования.Another solution to this problem is adaptive block correction of differences in brightness [3]. One of the methods that implements this approach is the method of one-step affine brightness correction for multi-angle video sequences (Multiview One-Step Affine Illumination Compensation - MOSAIC) [4, 5]. This method involves a combination of block correction of differences in brightness with the inter-frame prediction modes described in the H.264 standard. In the process of such coding, for each macroblock, the average pixel values of the current encoded block and the candidate reference block are calculated. For these blocks, modified blocks are formed by subtracting the average value for each pixel of the block. Then, for the blocks obtained, the sum of the absolute differences (Mean-Removed Sun of Absolute Difference - MRSAD) is calculated. The result of inter-frame prediction is the relative coordinates of the reference block (offset vector), which give the minimum value of the encoding, as well as the difference between the modified encoded block and the modified reference block. In this case, the calculation of the encoding cost is based on the calculated MRSAD value and an estimate of the bit cost of transmitting additional information necessary for subsequent decoding. In addition to the displacement vector, additional information includes the difference between the average values of the current and reference blocks. This difference is referred to as DVIC (Difference Value of Illumination Compensation) and is a brightness correction parameter. The DVIC value is differential encoded and placed in the output bitstream. It should be noted that in the case of the "P Skip" mode, the DVIC value is determined based on the DVIC values of neighboring macroblocks that were already encoded at the time of encoding the current macroblock. Thus, the above method does not completely eliminate the need for explicit transmission of additional information necessary for subsequent decoding.

Параметры, необходимые для коррекции различия яркости и контрастности, могут быть получены путем анализа восстановленных (закодированных, а затем декодированных) областей кадров. Это помогает уменьшить количество дополнительной информации, которая должна быть закодирована и явным образом помещена в выходной битовый поток. Указанный подход был реализован в способе взвешенного предсказания с использованием соседних пикселей (WPNP - Weighted Prediction using Neighboring Pixels) [6]. Этот способ использует значения пикселей кодируемого кадра, соседних с текущим кодируемым блоком, и значения пикселей опорного кадра, соседних с опорным блоком, для попиксельной оценки изменения яркости. При этом изменения яркости для выбираемых двух соседних пикселей умножаются на весовые коэффициенты и складываются, образуя оценку изменения яркости и контрастности между отдельными пикселями текущего и опорного блоков. Необходимо отметить, что весовые коэффициенты вычисляются отдельно для каждого положения пикселя кодируемого блока. Значения весовых коэффициентов определяются исходя из взаимного расстояния между пикселем кодируемого блока и выбранными соседними пикселями. Основной недостаток описанного способа заключается в том, что сокращение объема дополнительной информации достигается за счет возможного снижения качества коррекции. Причина снижения качества состоит в том, что изменение яркости пикселей, соседних по отношению к кодируемому и опорному блокам, может отличаться от изменения яркости пикселей, принадлежащих непосредственно кодируемому и опорному блокам.The parameters necessary for correcting the differences in brightness and contrast can be obtained by analyzing the reconstructed (encoded and then decoded) areas of the frames. This helps to reduce the amount of additional information that must be encoded and explicitly placed in the output bitstream. The indicated approach was implemented in the method of weighted prediction using neighboring pixels (WPNP - Weighted Prediction using Neighboring Pixels) [6]. This method uses the pixel values of the encoded frame adjacent to the current encoded block and the pixel values of the reference frame adjacent to the reference block for pixel-by-pixel estimation of brightness changes. In this case, the brightness changes for the selected two neighboring pixels are multiplied by weighting factors and added up, forming an estimate of the brightness and contrast changes between the individual pixels of the current and reference blocks. It should be noted that weights are calculated separately for each pixel position of the encoded block. The values of the weighting coefficients are determined based on the mutual distance between the pixel of the encoded block and the selected neighboring pixels. The main disadvantage of the described method is that the reduction in the amount of additional information is achieved due to a possible decrease in the quality of correction. The reason for the decrease in quality is that a change in the brightness of pixels adjacent to the encoded and reference blocks may differ from a change in the brightness of pixels belonging directly to the encoded and reference blocks.

Другой вариант, реализующий подход, связанный с оценкой параметров изменения яркости и контрастности путем анализа восстановленных (закодированных, а затем декодированных) областей кадров, описан в патентной заявке США 2011/0286678 [7]. Описываемый в заявке способ кодирования многоракурсных видеопоследовательностей включает в себя коррекцию различия яркости в процессе кодирования с предсказанием. Параметры коррекции изменения яркости оцениваются исходя из оценки изменения яркости для смежных, по отношению к кодируемому и опорному блокам, областей. Так как указанные смежные области доступны как при кодировании, так и при декодировании, то отпадает необходимость явной передачи параметров коррекции в выходном битовом потоке. Получаемые параметры применяются для коррекции опорного блока. Надежность оценки параметров изменения яркости определяется путем коррекции яркости для области опорного кадра, смежной с опорным блоком, и сравнения полученной скорректированной области с восстановленной (закодированной и затем декодированной) областью кодируемого кадра, смежной с текущим кодируемым блоком. Недостаток указанного способа заключается в том, что надежность коррекции изменения яркости определяется только путем анализа смежных областей. Данные, содержащиеся в опорном блоке, не используются при анализе надежности коррекции изменения яркости, что может приводить к ошибочной коррекции, тем самым снижая ее эффективность.Another option that implements the approach associated with assessing the parameters of changing the brightness and contrast by analyzing the reconstructed (encoded, and then decoded) areas of the frames is described in US patent application 2011/0286678 [7]. The encoding method for multi-angle video sequences described in the application includes the correction of the brightness difference in the prediction encoding process. The correction parameters of the brightness change are estimated based on the assessment of the brightness change for adjacent areas with respect to the coded and reference blocks. Since these adjacent areas are available both in encoding and in decoding, there is no need to explicitly transmit correction parameters in the output bitstream. The resulting parameters are used to correct the reference block. The reliability of the estimation of brightness variation parameters is determined by adjusting the brightness for the region of the reference frame adjacent to the reference block, and comparing the obtained corrected region with the reconstructed (encoded and then decoded) region of the encoded frame adjacent to the current encoded block. The disadvantage of this method lies in the fact that the reliability of the correction of changes in brightness is determined only by analysis of adjacent areas. The data contained in the reference block are not used in the analysis of the reliability of the correction of brightness changes, which can lead to erroneous correction, thereby reducing its effectiveness.

Наиболее близким к заявляемому изобретению является способ, описанный в патентной заявке США 2008/0304760 [8]. Указанный способ коррекции изменения яркости и контрастности для опорного блока включает в себя следующие этапы: получение восстановленных значений пикселей, соседних по отношению к текущему кодируемому блоку, и восстановленных значений пикселей, соседних по отношению к опорному блоку, в качестве входной информации; предсказание средних значений для текущего кодируемого и опорного блоков на основании восстановленных значений пикселей, соседних по отношению к текущему кодируемому блоку, и восстановленных значений пикселей, соседних по отношению к опорному блоку; определение параметров коррекции яркости для опорного блока на основе предсказанного среднего значения пикселей текущего кодируемого блока, предсказанного среднего значения опорного блока и значений пикселей текущего кодируемого блока и опорного блока; и выполнение коррекции яркости для опорного блока, используя ранее определенный параметр коррекции яркости.Closest to the claimed invention is the method described in US patent application 2008/0304760 [8]. The specified method for correcting changes in brightness and contrast for the reference block includes the following steps: obtaining the restored pixel values adjacent to the current encoded block, and the restored pixel values adjacent to the reference block, as input information; predicting average values for the current encoded and reference blocks based on the restored pixel values adjacent to the current encoded block and the restored pixel values adjacent to the reference block; determining brightness correction parameters for the reference block based on the predicted average pixel value of the current encoded block, the predicted average value of the reference block and pixel values of the current encoded block and the reference block; and performing luminance correction for the reference block using a previously determined luminance correction parameter.

Недостаток прототипа заключается в следующем. Восстановленные значения пикселей, соседних по отношению к текущему кодируемому блоку и опорному блоку, используются исключительно для предсказания средних значений. Это ограничение не позволяет использовать информацию, которая содержится в соседних пикселях. Кроме того, отсутствует анализ соотношений между значениями пикселей опорного блока и значениями пикселей, соседних по отношению к опорному блоку. Таким образом, не принимаются во внимание возможные различия в параметрах коррекции изменения яркости и контрастности между рассматриваемыми блоками и областями, соседними по отношению к рассматриваемым блокам. Это может приводить к снижению надежности процедуры коррекции различия в яркости и контрастности, что негативным образом будет сказываться на эффективности кодирования.The disadvantage of the prototype is as follows. The reconstructed values of pixels adjacent to the current encoded block and the reference block are used solely to predict average values. This restriction does not allow the use of information contained in neighboring pixels. In addition, there is no analysis of the relationship between the pixel values of the reference block and the values of pixels adjacent to the reference block. Thus, possible differences in the correction parameters of changes in brightness and contrast between the considered blocks and areas adjacent to the considered blocks are not taken into account. This can lead to a decrease in the reliability of the procedure for correcting differences in brightness and contrast, which will negatively affect the encoding efficiency.

В соответствии с описанием, в прототипе [8] предлагается способ кодирования цифровых изображений (кадров), основанный на использовании коррекции изменения яркости. Этот способ включает в себя следующие шаги: определение опорного блока, предназначенного для формирования блока-предсказания для текущего кодируемого блока; определение параметра коррекции яркости для коррекции найденного опорного блока; выполнение коррекции яркости найденного опорного блока на основе определенного на предыдущем шаге параметра коррекции яркости; формирование блока-предсказания для текущего кодируемого блока, используя скорректированный опорный блок; кодирование разности между сформированным блоком-предсказанием и текущим кодируемым блоком; формирование выходного битового потока и сохранение информации о параметре коррекции яркости в предопределенном месте внутри сформированного битового потока. Недостатком описанного метода является необходимость сохранения параметров коррекции в выходном битовом потоке.In accordance with the description, the prototype [8] proposes a method of encoding digital images (frames) based on the use of correction of brightness changes. This method includes the following steps: determining a reference block for generating a prediction block for the current encoded block; determining a brightness correction parameter for correcting the found reference block; performing brightness correction of the found reference block based on the brightness correction parameter determined in the previous step; generating a prediction block for the current block being encoded using the adjusted reference block; encoding the difference between the generated prediction block and the current encoded block; generating an output bitstream and storing information about a brightness correction parameter in a predetermined location within the generated bitstream. The disadvantage of the described method is the need to save the correction parameters in the output bitstream.

Заявляемое изобретение направлено на повышение эффективности кодирования многоракурсных видеопоследовательностей в случае, если используется модель гибридного видеокодирования. Изобретение заключается в применении более надежной адаптивной процедуры оценки параметров изменения яркости и контрастности опорного блока, а также процедуры коррекции яркости и контрастности опорного блока.The claimed invention is aimed at improving the coding efficiency of multi-angle video sequences in the case when a hybrid video coding model is used. The invention consists in the application of a more reliable adaptive procedure for evaluating the parameters of changing the brightness and contrast of the reference block, as well as the procedure for correcting the brightness and contrast of the reference block.

Технический результат достигается за счет использования большего количества данных для оценки параметров изменения яркости и контрастности. В частности, в заявляемом способе проводится анализ соотношений между значениями пикселей опорного блока и значениями пикселей, соседних по отношению к опорному блоку, а также соотношений между восстановленными значениями пикселей, соседних по отношению к текущему кодируемому блоку, и значениями пикселей, соседних по отношению к опорному блоку. При реализации способа предусмотрено также применение усовершенствованных способов кодирования и декодирования многоракурсных видеопоследовательностей, причем такие способы основаны на использовании коррекции яркости и контрастности, что позволяет повысить эффективность сжатия благодаря тому, что при оценке изменения яркости и контрастности используются значения пикселей, которые доступны как при проведении кодирования, так и при декодировании. В этом случае параметры коррекции яркости и контрастности могут быть точно восстановлены без необходимости передачи дополнительных данных в выходном битовом потоке.The technical result is achieved through the use of more data to assess the parameters of changes in brightness and contrast. In particular, in the claimed method, an analysis is made of the relationships between the pixel values of the reference block and the pixel values adjacent to the reference block, as well as the ratios between the restored pixel values adjacent to the current encoded block and the pixel values adjacent to the reference block. When implementing the method, it is also envisaged to use improved methods of encoding and decoding multi-angle video sequences, and such methods are based on the use of brightness and contrast correction, which allows to increase the compression efficiency due to the fact that when evaluating changes in brightness and contrast, pixel values are used that are available as during encoding , and when decoding. In this case, the brightness and contrast correction parameters can be accurately restored without the need for additional data to be transmitted in the output bitstream.

Согласно основному аспекту заявляемого изобретения предложен способ коррекции различия яркости и контрастности между опорным блоком и текущим кодируемым блоком при проведении межкадрового предсказания для кодирования многоракурсной видеопоследовательности, причем такой способ включает в себя:According to the main aspect of the claimed invention, a method for correcting differences in brightness and contrast between the reference block and the current encoded block when conducting inter-frame prediction for encoding a multi-angle video sequence, and this method includes:

- получение значений пикселей текущего кодируемого блока, принадлежащего кодируемому кадру, и значений пикселей опорного блока, принадлежащего опорному кадру;- obtaining pixel values of the current encoded block belonging to the encoded frame, and pixel values of the reference block belonging to the reference frame;

- получение восстановленных (закодированных и затем декодированных) значений пикселей, соседних по отношению к текущему блоку кодируемого кадра, и значений пикселей, соседних по отношению к опорному блоку опорного кадра;- obtaining the restored (encoded and then decoded) pixel values adjacent to the current block of the encoded frame, and pixel values adjacent to the reference block of the reference frame;

- определение соотношений между значениями пикселей опорного блока и значениями пикселей, соседних по отношению к опорному блоку, а также соотношений между восстановленными значениями пикселей, соседних по отношению к текущему кодируемому блоку, и значениями пикселей, соседних по отношению к опорному блоку;- determination of the relationship between the pixel values of the reference block and the values of pixels adjacent to the reference block, as well as the ratios between the restored pixel values adjacent to the current encoded block and the pixel values adjacent to the reference block;

- определение параметров коррекции изменения яркости и контрастности для коррекции различия в яркости и контрастности между опорным блоком и текущим кодируемым блоком на основе найденных на предыдущем шаге соотношений, значениями пикселей опорного блока, восстановленными значениями пикселей, соседних по отношению к текущему кодируемому блоку, и значениями пикселей, соседних по отношению к опорному блоку;- determination of correction parameters for changing the brightness and contrast to correct differences in brightness and contrast between the reference block and the current encoded block based on the relationships found in the previous step, the pixel values of the reference block, the restored pixel values adjacent to the current encoded block, and pixel values adjacent to the support block;

- выполнение коррекции различия в яркости и контрастности между опорным блоком и текущим кодируемым блоком на основе найденных на предыдущем шаге параметров коррекции.- performing correction of differences in brightness and contrast between the reference block and the current encoded block based on the correction parameters found in the previous step.

В одном из вариантов реализации заявляемого изобретения предлагается модификация упомянутого выше способа, заключающаяся в том, что процесс определения соотношений между пикселями текущего кодируемого кадра и опорного кадра, а также процесс определения параметров коррекции яркости и контрастности включают в себя:In one of the embodiments of the claimed invention, a modification of the above method is proposed, which consists in the fact that the process of determining the relationship between the pixels of the current encoded frame and the reference frame, as well as the process of determining the brightness and contrast correction parameters, include:

- вычисление статистических характеристик для восстановленных значений пикселей, соседних по отношению к текущему кодируемому блоку, статистических характеристик для пикселей опорного блока и статистических характеристик для пикселей, соседних по отношению к опорному блоку;- calculation of statistical characteristics for the restored values of pixels adjacent to the current encoded block, statistical characteristics for pixels of the reference block and statistical characteristics for pixels adjacent to the reference block;

- определение соотношений между статистическими характеристиками для пикселей опорного блока и статистическими характеристиками для восстановленных значений пикселей, соседних по отношению к опорному блоку;- determination of the relationship between the statistical characteristics for the pixels of the reference block and the statistical characteristics for the restored values of pixels adjacent to the reference block;

- вычисление оценки значения статистической характеристики для текущего кодируемого блока на основе вычисленных статистических характеристик и соотношений между ними производят;- calculating an estimate of the value of the statistical characteristic for the current encoded block based on the calculated statistical characteristics and the relationships between them;

- определение параметра коррекции изменения яркости и контрастности для коррекции различия в яркости и контрастности между опорным и текущим кодируемым блоками на основе найденной оценки статистической характеристики для текущего блока и статистической характеристики опорного блока.- determination of a correction parameter for changing brightness and contrast to correct differences in brightness and contrast between the reference and the current encoded blocks based on the found estimate of the statistical characteristics for the current block and the statistical characteristics of the reference block.

В другом варианте реализации заявляемого изобретения предлагается модификация упомянутого выше способа, в рамках которой процесс вычисления статистических характеристик, определения соотношений между статистическими характеристиками и определения параметра коррекции изменения яркости и контрастности включает в себя:In another embodiment of the claimed invention, a modification of the above method is proposed, in which the process of calculating statistical characteristics, determining relationships between statistical characteristics and determining a correction parameter for changing brightness and contrast includes:

- вычисление среднего значения для восстановленных пикселей, соседних по отношению к текущему кодируемому блоку и расположенных слева от текущего кодируемого блока, в случае их наличия; вычисление среднего значения для восстановленных пикселей, соседних по отношению к текущему кодируемому блоку и расположенных сверху над текущим кодируемым блоком, в случае их наличия, вычисление среднего значения для пикселей опорного блока, вычисление среднего значения для пикселей, соседних по отношению к опорному блоку и расположенных слева от опорного блока, в случае их наличия, и вычисление среднего значения для пикселей, соседних по отношению к опорному блоку и расположенных сверху над опорным блоком, в случае их наличия;- calculation of the average value for the recovered pixels adjacent to the current encoded block and located to the left of the current encoded block, if any; calculating the average value for the restored pixels adjacent to the current encoded block and located above the current encoded block, if any, calculating the average value for the pixels of the reference block, calculating the average value for pixels adjacent to the reference block and located to the left from the reference block, if any, and calculating an average value for pixels adjacent to the reference block and located above the reference block, if any;

- в случае наличия восстановленных пикселей, соседних по отношению к текущему кодируемому блоку и расположенных слева от текущего кодируемого блока, а также наличия пикселей, соседних по отношению к опорному блоку и расположенных слева от опорного блока, вычисление отношения между средним значением пикселей опорного блока и средним значением пикселей, соседних по отношению к опорному блоку и расположенным слева от опорного блока; вычисление произведения полученного отношения и среднего значения восстановленных пикселей, соседних по отношению к текущему кодируемому блоку и расположенных слева от текущего кодируемого блока; определение параметра коррекции изменения яркости и контрастности как отношения между вычисленным произведением и средним значением для пикселей опорного блока;- in the case of the presence of restored pixels adjacent to the current encoded block and located to the left of the current encoded block, as well as the presence of pixels adjacent to the reference block and located to the left of the reference block, calculating the ratio between the average pixel value of the reference block and the average the value of pixels adjacent to the reference block and located to the left of the reference block; calculating the product of the obtained ratio and the average value of the restored pixels adjacent to the current encoded block and located to the left of the current encoded block; determining a correction parameter for changing the brightness and contrast as a relationship between the calculated product and the average value for the pixels of the reference block;

- иначе, в случае наличия восстановленных пикселей, соседних по отношению к текущему кодируемому блоку и расположенных сверху над текущим кодируемым блоком, и наличия пикселей, соседних по отношению к опорному блоку и расположенных сверху над опорным блоком, вычисление отношения между средним значением пикселей опорного блока и средним значением пикселей, соседних по отношению к опорному блоку и расположенным сверху над опорным блоком; вычисление произведения полученного отношения и среднего значения восстановленных пикселей, соседних по отношению к текущему кодируемому блоку и расположенных сверху от текущего кодируемого блока; определение параметра коррекции изменения яркости и контрастности как отношения между вычисленным произведением и средним значением для пикселей опорного блока;- otherwise, in the case of the presence of restored pixels adjacent to the current encoded block and located above the current encoded block, and the presence of pixels adjacent to the reference block and located above the reference block, calculating the ratio between the average pixel value of the reference block and the average value of pixels adjacent to the reference block and located above the reference block; calculating the product of the obtained ratio and the average value of the restored pixels adjacent to the current encoded block and located above the current encoded block; determining a correction parameter for changing the brightness and contrast as a relationship between the calculated product and the average value for the pixels of the reference block;

- иначе, путем использования Метода Медианного Предсказания для вычисления оценки среднего значения текущего кодируемого блока;- otherwise, by using the Median Prediction Method to calculate an estimate of the average value of the current encoded block;

- определение параметра коррекции изменения яркости и контрастности как отношения между оценкой среднего значения для пикселей текущего кодируемого блока и средним значением для пикселей опорного блока.- determination of the correction parameter for changing the brightness and contrast as the ratio between the average value for the pixels of the current encoded block and the average for the pixels of the reference block.

Еще одна модификация заявляемого изобретения состоит в том, что способ коррекции яркости и контраста опорного блока в процессе кодирования многоракурсной видеопоследовательности, включает в себя:Another modification of the claimed invention is that the method for correcting the brightness and contrast of the reference block in the process of coding a multi-angle video sequence includes:

- получение значений пикселей текущего блока кодируемого кадра и значений пикселей опорного блока опорного кадра;- obtaining pixel values of the current block of the encoded frame and pixel values of the reference block of the reference frame;

- получение восстановленных (закодированных и затем декодированных) значений пикселей, соседних по отношению к текущему кодируемому блоку, и значений пикселей, соседних по отношению к опорному блоку;- obtaining restored (encoded and then decoded) pixel values adjacent to the current block being encoded, and pixel values adjacent to the reference block;

- вычисление первой оценки estDi,j для каждого положения (i,j) пикселя в опорном блоке; причем первая оценка estDi,j является функцией линейной комбинации восстановленных значений T k D

Figure 00000001
пикселей, соседних по отношению к текущему кодируемому блоку, k=0, …, N-1, N - число пикселей, соседних по отношению к текущему кодируемому и опорному блокам;- calculating a first estimate estD i, j for each position (i, j) of the pixel in the reference block; moreover, the first estimate estD i, j is a function of a linear combination of reconstructed values T k D
Figure 00000001
pixels adjacent to the current encoded block, k = 0, ..., N-1, N is the number of pixels adjacent to the current encoded and reference blocks;

- вычисление второй оценки estRi,j для каждого положения (i,j) пикселя в опорном блоке; причем вторая оценка estRi,j является функцией линейной комбинации значений T k R

Figure 00000002
пикселей, соседних по отношению к опорному блоку, k=0, …, N-1;- calculating a second estimate estR i, j for each position (i, j) of the pixel in the reference block; moreover, the second estimate estR i, j is a function of a linear combination of values T k R
Figure 00000002
pixels adjacent to the reference block, k = 0, ..., N-1;

- определение параметров коррекции изменения яркости и контрастности для коррекции каждого пикселя в опорном блоке; при этом определение этих параметров основывается на значении первой оценки estDi,j, значении второй оценки estRi,j, а также на значениях Ri,j пикселей опорного блока, на восстановленных значениях T k D

Figure 00000003
пикселей, соседних по отношению к текущему блоку, и на значениях T k R
Figure 00000004
пикселей, соседних по отношению к опорному блоку;- determination of correction parameters for changes in brightness and contrast for the correction of each pixel in the reference block; the determination of these parameters is based on the value of the first estimate estD i, j , the value of the second estimate estR i, j , as well as on the values R i, j of the pixels of the reference block, on the restored values T k D
Figure 00000003
pixels adjacent to the current block and at the values T k R
Figure 00000004
pixels adjacent to the reference block;

- выполнение коррекции изменения яркости и контрастности для каждого пикселя в опорным блоке, используя найденные на предыдущем шаге параметры коррекции изменения яркости и контрастности.- performing correction of changes in brightness and contrast for each pixel in the reference block using the parameters for correcting changes in brightness and contrast found in the previous step.

Согласно другой модификации заявляемого изобретения, способ предусматривает, что вычисление первой и второй оценок для каждого положения пикселя в опорном блоке и определение параметров коррекции изменения яркости и контрастности для каждого положения пикселя в опорном блоке включает в себя:According to another modification of the claimed invention, the method provides that the calculation of the first and second estimates for each pixel position in the reference block and the determination of correction parameters for changing the brightness and contrast for each pixel position in the reference block includes:

- вычисление первой оценки estDi,j как- calculation of the first estimate estD i, j as

e s t D i , j = k = 0, , N 1 W k ( i , j ) T k D

Figure 00000005
, e s t D i , j = k = 0 ... , N - one W k ( i , j ) T k D
Figure 00000005
,

где Wk(i,j), k=0, …, N-1 - весовые коэффициенты, и T k D

Figure 00000006
, k=0, …, N-1 - это восстановленные значения пикселей, соседних по отношению к текущему кодируемому блоку, N - это число пикселей, соседних по отношению к текущему кодируемому и опорному блокам;where W k (i, j), k = 0, ..., N-1 are weights, and T k D
Figure 00000006
, k = 0, ..., N-1 are the restored values of pixels adjacent to the current encoded block, N is the number of pixels adjacent to the current encoded and reference blocks;

- вычисление второй оценки estRi,j как - calculation of the second estimate estR i, j as

e s t R i , j = k = 0, , N 1 W k ( i , j ) T k R

Figure 00000007
e s t R i , j = k = 0 ... , N - one W k ( i , j ) T k R
Figure 00000007

где Wk(i,j), k=0, …, N-1 - весовые коэффициенты, и T k R

Figure 00000008
, k=0, …, N-1 - значения пикселей, соседних по отношению к опорному блоку;where W k (i, j), k = 0, ..., N-1 are weights, and T k R
Figure 00000008
, k = 0, ..., N-1 are the values of pixels adjacent to the reference block;

- определение параметров коррекции изменения яркости и контрастности для каждого положения (i,j) пикселя в опорном блоке; этот параметр представляет собой отношение α i , j = e s t D i , j e s t R i , j

Figure 00000009
, если вторая оценка estRi,j не равна нулю. В противном случае αi,j полагается равным 1.- determination of correction parameters for changes in brightness and contrast for each position (i, j) of the pixel in the reference block; this parameter is the ratio α i , j = e s t D i , j e s t R i , j
Figure 00000009
if the second estimate estR i, j is not equal to zero. Otherwise, α i, j is assumed to be equal to 1.

- выполнение коррекции изменения яркости и контрастности для опорного блока путем умножения значения каждого пикселя опорного блока Ri,j на соответствующий параметр коррекции αi,j.- performing correction of changes in brightness and contrast for the reference block by multiplying the values of each pixel of the reference block R i, j by the corresponding correction parameter α i, j .

Еще одна модификация заявляемого изобретения предусматривает, что вычисление первой и второй оценок для каждого положения пикселя в опорном блоке включает в себя:Another modification of the claimed invention provides that the calculation of the first and second estimates for each pixel position in the reference block includes:

- вычисление весовых коэффициентов Wk(i,j), k=0, …, N-1 для первой оценки estDi,j, и второй оценки estRi,j, для каждого положения (i,j) пикселя в опорном блоке весовой коэффициент Wk(i,j) равен невозрастающей функции абсолютной разности:- calculation of the weighting coefficients W k (i, j), k = 0, ..., N-1 for the first estimate estD i, j, and the second estimate estR i, j , for each position (i, j) of the pixel in the weight reference block the coefficient W k (i, j) is equal to a non-increasing function of the absolute difference:

| R i , j T k R |

Figure 00000010
, | R i , j - T k R |
Figure 00000010
,

что обеспечивает обратно пропорциональное увеличение/уменьшение значения Wk(i,j) в зависимости от уменьшения/увеличения абсолютной разности. Здесь Ri,j - это значение пикселя опорного блока; T k R

Figure 00000011
(k=0, …, N-1) - значение пикселя, соседнего по отношению к опорному блоку; N - число пикселей, соседних по отношению к текущему кодируемому и опорному блокам.which provides an inversely proportional increase / decrease in the value of W k (i, j) depending on the decrease / increase in the absolute difference. Here R i, j is the pixel value of the reference block; T k R
Figure 00000011
(k = 0, ..., N-1) is the value of a pixel adjacent to the reference block; N is the number of pixels adjacent to the current encoded and reference blocks.

В другом варианте реализации заявляемого изобретения предлагается модификация упомянутого выше метода, которая предусматривает, что вычисление первой и второй оценок для каждого положения пикселя в опорном блоке включает в себя:In another embodiment of the claimed invention, a modification of the above method is proposed, which provides that the calculation of the first and second estimates for each pixel position in the reference block includes:

- вычисление весовых коэффициентов Wk(i,j), k=0, …, N-1 для первой оценки estDi,j и второй оценки estRi,j; для каждого положения (i,j) пикселя в опорном блоке весовой коэффициент Wk(i,j) равен невозрастающей функции абсолютной разности:- calculation of weighting factors W k (i, j), k = 0, ..., N-1 for the first estimate estD i, j and the second estimate estR i, j ; for each position (i, j) of the pixel in the reference block, the weight coefficient W k (i, j) is equal to a non-increasing function of the absolute difference:

| R i , j T k R |

Figure 00000010
, | R i , j - T k R |
Figure 00000010
,

что обеспечивает обратно пропорциональное увеличение/уменьшение значения Wk(i,j) в зависимости от уменьшения/увеличения абсолютной разности; в случае | T k R R i , j | T h r

Figure 00000012
, где Thr - предопределенное пороговое значение; иначе Wk(i,j). Здесь Ri,j - значение пикселя опорного блока; T k R
Figure 00000013
(k=0, …, N-1) - значение пикселя, соседнего по отношению к опорному блоку; N - число пикселей, соседних по отношению к текущему кодируемому и опорному блокам.which provides an inversely proportional increase / decrease in the value of W k (i, j) depending on the decrease / increase in the absolute difference; when | T k R - R i , j | T h r
Figure 00000012
where Thr is a predetermined threshold value; otherwise W k (i, j). Here R i, j is the pixel value of the reference block; T k R
Figure 00000013
(k = 0, ..., N-1) is the value of a pixel adjacent to the reference block; N is the number of pixels adjacent to the current encoded and reference blocks.

При реализации заявляемого изобретения имеет смысл применить еще одну модификацию упомянутого выше метода, которая предусматривает, что вычисление первой и второй оценок для каждого положения пикселя в опорном блоке включает в себя:When implementing the claimed invention, it makes sense to apply another modification of the above method, which provides that the calculation of the first and second estimates for each pixel position in the reference block includes:

- вычисление весовых коэффициентов Wk(i,j), k=0, …, N-1 для первой оценки estDi,j и второй оценки estRi,j, для каждого положения (i,j) пикселя в опорном блоке весовой коэффициент Wk(i,j) равен невозрастающей функции абсолютной разности:- calculation of weight coefficients W k (i, j), k = 0, ..., N-1 for the first estimate estD i, j and the second estimate estR i, j, for each position (i, j) of the pixel in the reference block, the weight coefficient W k (i, j) is equal to the non-increasing function of the absolute difference:

| R i , j T k R |

Figure 00000010
, | R i , j - T k R |
Figure 00000010
,

что обеспечивает обратно пропорциональное увеличение/уменьшение значения Wk(i,j) в зависимости от уменьшения/увеличения абсолютной разности; в случае | T k R T k D | T h r 1

Figure 00000014
, где T k D
Figure 00000015
(k=0, …, N) - значение пикселя, соседнего по отношению к текущему кодируемому блоку, Thr1 - первый предопределенный порог; и | T k R R i , j | T h r 2
Figure 00000016
, где Thr2 - второй предопределенный порог; иначе Wk(i,j)=0. Здесь Ri,j - значение пикселя опорного блока; T k R
Figure 00000017
(k=0, …, N - 1) - значение пикселя, соседнего по отношению к опорному блоку; N - число пикселей, соседних по отношению к текущему кодируемому и опорному блокам.which provides an inversely proportional increase / decrease in the value of W k (i, j) depending on the decrease / increase in the absolute difference; when | T k R - T k D | T h r one
Figure 00000014
where T k D
Figure 00000015
(k = 0, ..., N) is the value of a pixel adjacent to the current block being encoded, Thr1 is the first predetermined threshold; and | T k R - R i , j | T h r 2
Figure 00000016
where Thr2 is the second predetermined threshold; otherwise, W k (i, j) = 0. Here R i, j is the pixel value of the reference block; T k R
Figure 00000017
(k = 0, ..., N - 1) is the value of a pixel adjacent to the reference block; N is the number of pixels adjacent to the current encoded and reference blocks.

Согласно другому варианту реализации заявляемого изобретения, предлагается модификация упомянутого выше метода, которая предусматривает, что вычисление первой и второй оценки для каждого положения пикселя в опорном блоке включает в себя:According to another embodiment of the claimed invention, a modification of the aforementioned method is proposed, which provides that the calculation of the first and second estimates for each pixel position in the reference block includes:

- вычисление весовых коэффициентов Wk(i,j), k=0, …, N - 1 для первой оценки estDi,j и второй оценки estRi,j; для каждого положения (i,j) пикселя в опорном блоке весовой коэффициент Wk(i,j) равен Wk(i,j)=exp(-C·Ak(i,j)), где С - предопределенная константа больше 0, и Ak(i,j) равняется A k ( i , j ) = | R i , j T k R |

Figure 00000018
, где Ri,j - значение пикселя опорного блока, T k R
Figure 00000019
(k=0, …, N - 1) - значение пикселя, соседнего по отношению к опорному блоку, в случае | T k R R i , j | T h r
Figure 00000020
, где Thr - предопределенный порог; иначе Wk(i,j)=0.- calculation of weighting factors W k (i, j), k = 0, ..., N - 1 for the first estimate estD i, j and the second estimate estR i, j ; for each position (i, j) of the pixel in the reference block, the weight coefficient W k (i, j) is equal to W k (i, j) = exp (-C · A k (i, j)), where C is a predetermined constant greater than 0, and A k (i, j) equals A k ( i , j ) = | R i , j - T k R |
Figure 00000018
where R i, j is the pixel value of the reference block, T k R
Figure 00000019
(k = 0, ..., N - 1) is the value of a pixel adjacent to the reference block, in the case | T k R - R i , j | T h r
Figure 00000020
where Thr is a predetermined threshold; otherwise, W k (i, j) = 0.

В качестве альтернативы при реализации заявляемого изобретения, предлагается модификация упомянутого выше метода, которая предусматривает, что вычисление первой и второй оценок для каждого положения пикселя в опорном блоке включает в себя:As an alternative to the implementation of the claimed invention, a modification of the above method is proposed, which provides that the calculation of the first and second estimates for each pixel position in the reference block includes:

- вычисление весовых коэффициентов Wk(i,j), k=0, …, N - 1 для первой оценки estDi,j и второй оценки estRi,j; для каждого положения (i,j) пикселя в опорном блоке весовой коэффициент Wk(i,j) равен Wk(i,j)=exp(-C·Ak(i,j)), где С - предопределенная константа больше 0, и Ak(i,j) равняется A k ( i , j ) = | R i , j T k R |

Figure 00000018
, где Ri,j - значение пикселя опорного блока T k R
Figure 00000019
(k=0, …, N - 1) - значение пикселя, соседнего по отношению к опорному блоку, в случае | T k R T k D | T h r 1
Figure 00000021
, где T k D
Figure 00000022
, k=0, …, N - 1 - значение пикселя, соседнего по отношению к текущему кодируемому блоку, Thr1 - первый предопределенный порог; | T k R R i , j | T h r 2
Figure 00000023
, где Thr2 - второй предопределенный порог; иначе Wk(i,j)=0.- calculation of weighting factors W k (i, j), k = 0, ..., N - 1 for the first estimate estD i, j and the second estimate estR i, j ; for each position (i, j) of the pixel in the reference block, the weight coefficient W k (i, j) is equal to W k (i, j) = exp (-C · A k (i, j)), where C is a predetermined constant greater than 0, and A k (i, j) equals A k ( i , j ) = | R i , j - T k R |
Figure 00000018
where R i, j is the pixel value of the reference block T k R
Figure 00000019
(k = 0, ..., N - 1) is the value of a pixel adjacent to the reference block, in the case | T k R - T k D | T h r one
Figure 00000021
where T k D
Figure 00000022
, k = 0, ..., N - 1 - the value of a pixel adjacent to the current block being encoded, Thr1 - the first predetermined threshold; | T k R - R i , j | T h r 2
Figure 00000023
where Thr2 is the second predetermined threshold; otherwise, W k (i, j) = 0.

Согласно другому варианту реализации заявляемого изобретения, предлагается модификация упомянутого выше метода, в которой предусматривается, что позиции восстановленных значений пикселей, соседних по отношению к текущему кодируемому блоку, и позиции значений пикселей, соседних по отношению к опорному блоку, определяются адаптивно вместо соответствующих пикселей с наперед заданными позициями.According to another embodiment of the claimed invention, a modification of the aforementioned method is proposed, in which it is provided that the positions of the restored pixel values adjacent to the current encoded block and the positions of the pixel values adjacent to the reference block are determined adaptively instead of the corresponding pixels in advance given positions.

В группу связанных единым замыслом изобретений входит также оригинальный способ кодирования многоракурсных видеопоследовательностей на основе коррекции изменения яркости и контрастности. Этот способ включает в себя:The group of inventions related by a single concept also includes an original method of coding multi-angle video sequences based on correction of changes in brightness and contrast. This method includes:

- определение опорного блока, который используется для формирования блока-предсказания для текущего кодируемого блока;- determining the reference block, which is used to form the prediction block for the current encoded block;

- определение параметров коррекции изменения яркости и контрастности для коррекции различия в яркости и контрастности между опорным блоком и текущим кодируемым блоком в процессе поиска или по завершении поиска опорного блока;- determination of correction parameters for changes in brightness and contrast to correct differences in brightness and contrast between the reference block and the current encoded block during the search or upon completion of the search for the reference block;

- выполнение коррекции изменения яркости и контрастности найденного опорного блока за счет использования найденных параметров коррекции изменения яркости и контрастности;- performing correction of changes in brightness and contrast of the found reference block through the use of the found correction parameters for changes in brightness and contrast;

- формирование блока-предсказания для текущего кодируемого блока за счет использования скорректированного по яркости и контрастности опорного блока;- formation of a prediction block for the current encoded block through the use of a reference block adjusted for brightness and contrast;

- кодирование текущего блока с помощью сформированного блока-предсказания без кодирования найденных параметров коррекции изменения яркости и контрастности; кодирование информации об опорном блоке, если это необходимо для декодирования;- encoding the current block using the generated prediction block without encoding the found correction parameters for changing the brightness and contrast; encoding information about the reference block, if necessary for decoding;

при этом определение параметров коррекции изменения яркости и контрастности включает в себя:wherein the determination of the correction parameters for changes in brightness and contrast includes:

- получение восстановленных (закодированных и затем декодированных) значений пикселей, соседних по отношению к текущему блоку кодируемого кадра, и значений пикселей, соседних по отношению к опорному блоку опорного кадра;- obtaining the restored (encoded and then decoded) pixel values adjacent to the current block of the encoded frame, and pixel values adjacent to the reference block of the reference frame;

- определение соотношений между значениями пикселей опорного блока и значениями пикселей, соседних по отношению к опорному блоку, а также соотношений между восстановленными значениями пикселей, соседних по отношению к текущему кодируемому блоку, и значениями пикселей, соседних по отношению к опорному блоку;- determination of the relationship between the pixel values of the reference block and the values of pixels adjacent to the reference block, as well as the ratios between the restored pixel values adjacent to the current encoded block and the pixel values adjacent to the reference block;

- определение параметров коррекции изменения яркости и контрастности для коррекции различия в яркости и контрастности между опорным блоком и текущим кодируемым блоком на основе найденных на предыдущем шаге соотношений между значениями пикселей опорного блока, восстановленными значениями пикселей, соседних по отношению к текущему кодируемому блоку, и значениями пикселей, соседних по отношению к опорному блоку.- determination of correction parameters for changing the brightness and contrast to correct differences in brightness and contrast between the reference block and the current encoded block based on the relationships found in the previous step between the pixel values of the reference block, the restored pixel values adjacent to the current encoded block, and pixel values adjacent to the support block.

В рамках единого замысла предусматривается также использование оригинального способа декодирования многоракурсных видеопоследовательностей на основе коррекции изменения яркости и контрастности. Этот способ включает в себя:Within the framework of a single concept, it is also envisaged to use an original method for decoding multi-angle video sequences based on correction of changes in brightness and contrast. This method includes:

- декодирование информации об опорном блоке, если это необходимо для того, чтобы определить опорный блок для текущего декодируемого блока; определение опорного блока;- decoding information about the reference block, if necessary, in order to determine the reference block for the current decoded block; definition of the reference block;

- определение параметров коррекции изменения яркости и контрастности для найденного опорного блока;- determination of correction parameters for changes in brightness and contrast for the found reference block;

- выполнение коррекции изменения яркости и контрастности найденного опорного блока, используя найденные параметры коррекции изменения яркости и контрастности;- performing correction of changes in brightness and contrast of the found reference block using the found correction parameters for changes in brightness and contrast;

- формирование блока-предсказания для текущего декодируемого блока за счет использования опорного блока, скорректированного по яркости и контрастности;- the formation of a prediction block for the current decoded block by using the reference block, adjusted for brightness and contrast;

- декодирование текущего блока за счет использования полученного блока-предсказания и параметров коррекции изменения яркости и контрастности,- decoding the current block through the use of the obtained prediction block and correction parameters for changes in brightness and contrast,

при этом процедура определения параметров коррекции яркости и контрастности включает в себя:wherein the procedure for determining the brightness and contrast correction parameters includes:

- получение восстановленных (закодированных и затем декодированных) значений пикселей, соседних по отношению к текущему блоку кодируемого кадра, и значений пикселей, соседних по отношению к опорному блоку опорного кадра;- obtaining the restored (encoded and then decoded) pixel values adjacent to the current block of the encoded frame, and pixel values adjacent to the reference block of the reference frame;

- определение соотношений между значениями пикселей опорного блока и значениями пикселей, соседних по отношению к опорному блоку, а также соотношений между восстановленными значениями пикселей, соседних по отношению к текущему кодируемому блоку, и значениями пикселей, соседних по отношению к опорному блоку;- determination of the relationship between the pixel values of the reference block and the values of pixels adjacent to the reference block, as well as the ratios between the restored pixel values adjacent to the current encoded block and the pixel values adjacent to the reference block;

- определение параметров коррекции изменения яркости и контрастности для коррекции различия в яркости и контрастности между опорным блоком и текущим кодируемым блоком на основе найденных на предыдущем шаге соотношений между значениями пикселей опорного блока, восстановленными значениями пикселей, соседних по отношению к текущему кодируемому блоку, и значениями пикселей, соседних по отношению к опорному блоку.- determination of correction parameters for changing the brightness and contrast to correct differences in brightness and contrast between the reference block and the current encoded block based on the relationships found in the previous step between the pixel values of the reference block, the restored pixel values adjacent to the current encoded block, and pixel values adjacent to the support block.

Далее существо изобретения поясняется с привлечением графических материалов.Further, the invention is illustrated with the use of graphic materials.

Фиг.1 - структурная схема гибридного кодера многоракурсных видеопоследовательностей и место применения заявляемого изобретения.Figure 1 is a structural diagram of a hybrid encoder multi-angle video sequences and the place of application of the claimed invention.

Фиг.2 - структурная схема части гибридного видеокодера, реализующей заявляемый способ, входящий в состав процесса кодирования с предсказанием.Figure 2 is a structural diagram of a part of a hybrid video encoder that implements the inventive method, which is part of the predictive coding process.

Фиг.3 - диаграмма, поясняющая способ коррекции изменения яркости и контрастности опорного блока в соответствии с одним из примеров реализации заявляемого изобретения.Figure 3 is a diagram explaining a method for correcting changes in brightness and contrast of a reference block in accordance with one example of the implementation of the claimed invention.

Фиг.4 - блок-схема, иллюстрирующая способ коррекции изменения яркости и контрастности опорного блока, согласно одному из примеров реализации заявляемого изобретения.Figure 4 is a flowchart illustrating a method for correcting changes in brightness and contrast of a reference block, according to one example implementation of the claimed invention.

Фиг.5 - диаграмма, иллюстрирующая процедуру выбора входных блоков в текущем кадре в процессе вычисления параметров коррекции изменения яркости и контрастности согласно одному из примеров реализации заявляемого изобретения.5 is a diagram illustrating a procedure for selecting input blocks in the current frame during the calculation of correction parameters for changes in brightness and contrast according to one example of the implementation of the claimed invention.

Фиг.6 - диаграмма, иллюстрирующая способ коррекции изменения яркости и контрастности для опорного блока в соответствии с другим вариантом реализации заявляемого изобретения.6 is a diagram illustrating a method for correcting changes in brightness and contrast for a reference block in accordance with another embodiment of the claimed invention.

Фиг.7 - блок-схема, иллюстрирующая способ попиксельной коррекции изменения яркости и контрастности для опорного блока согласно одному из примеров реализации заявляемого изобретения.7 is a flowchart illustrating a method of pixel-by-pixel correction of changes in brightness and contrast for a reference block according to one embodiment of the claimed invention.

Фиг.8 - диаграмма, поясняющая способ коррекции изменения яркости и контрастности для опорного блока в соответствии с другим вариантом реализации заявляемого изобретения.Fig. 8 is a diagram explaining a method for correcting changes in brightness and contrast for a reference block in accordance with another embodiment of the claimed invention.

Фиг.9 - блок-схема, описывающая способ кодирования многоракурсных видеопоследовательностей, основанный на коррекции изменения яркости и контрастности согласно одному из примеров реализации заявляемого изобретения.Fig.9 is a flowchart describing a method of encoding multi-angle video sequences based on the correction of changes in brightness and contrast according to one example implementation of the claimed invention.

Фиг.10 - блок-схема, описывающая способ декодирования многоракурсных видеопоследовательностей на основе коррекции изменения яркости и контрастности согласно одному из примеров реализации заявляемого изобретения.Figure 10 is a flowchart describing a method for decoding multi-angle video sequences based on the correction of changes in brightness and contrast according to one example implementation of the claimed invention.

На Фиг.1 изображена структурная схема гибридного кодера многоракурсных видеопоследовательностей. Входные данные гибридного кодера 105 многоракурсных видеопоследовательностей включают в себя исходный вид (кодируемый ракурс) 101 и уже закодированные и затем декодированные виды (ракурсы) 102, которые являются частью закодированных многоракурсных видеоданных. Уже закодированные/декодированные виды 102 и уже закодированные/декодированные последовательности 103 карт глубин используются для формирования синтезированного вида (ракурса) для исходного вида (кодируемого ракурса) с помощью процедуры 104 синтеза. Сформированный синтезированный вид (ракурс) также поступает на вход гибридного кодера 105.Figure 1 shows a structural diagram of a hybrid encoder multi-angle video sequences. The input to the hybrid multi-view video sequence encoder 105 includes the original view (encoded view) 101 and the already encoded and then decoded views (views) 102 that are part of the encoded multi-view video data. Already encoded / decoded views 102 and already encoded / decoded sequences of depth maps 103 are used to form a synthesized view (view) for the original view (encoded view) using synthesis procedure 104. The generated synthesized view (angle) is also input to the hybrid encoder 105.

Гибридный кодер 105 содержит следующие инструменты, используемые для кодирования исходного вида (ракурса): управление опорными кадрами 106, межкадровое предсказание 107, внутрикадровое предсказание 108, межкадровая и внутрикадровая компенсация 109, пространственное преобразование 110, оптимизация отношения скорость/искажение 111, энтропийное кодирование 112. Детальная информация об упомянутых инструментах содержится в [9]. Заявляемый способ может быть реализован в рамках межкадрового предсказания 107.Hybrid encoder 105 contains the following tools used to encode the original view: viewing reference frames 106, inter prediction 107, intra prediction 108, inter and intra compensation 109, spatial transform 110, optimizing the speed / distortion ratio 111, entropy encoding 112. Detailed information on the mentioned tools is contained in [9]. The inventive method can be implemented in the framework of inter prediction 107.

Фиг.2 содержит схему части гибридного видеокодера, которая реализует заявляемый способ в составе кодирования с предсказанием. Гибридный кодер включает в себя блок 201 вычитания, блок 202 преобразования и квантования, блок 203 энтропийного кодирования, блок 204 обратного преобразования и обратного квантования, блок 205 компенсации смещения и коррекции изменения яркости/контрастности, блок 206 синтеза вида (ракурса), блок 207 сложения, блок 208 буферизации опорных кадров и карт глубины, блок 209 предсказания параметров компенсации и коррекции, блок оценки смещения и изменения яркости/контрастности 210 и блок 211 принятия решения о режиме кодирования макроблока. Блоки 201-204, 207-209 и 211 являются стандартными блоками кодирования, которые используются в базовом гибридном способе кодирования [9]. Блок 206 синтеза вида (ракурса) является блоком, специфичным для многоракурсного кодирования. Блок 206 синтезирует дополнительные опорные кадры из уже закодированных/декодированных кадров и карт глубины.Figure 2 contains a diagram of a portion of a hybrid video encoder that implements the inventive method as part of predictive coding. The hybrid encoder includes a subtraction unit 201, a transform and quantization unit 202, an entropy encoding unit 203, an inverse transform and inverse quantization unit 204, a bias compensation and correction unit for brightness / contrast changes 205, a view synthesis unit 206, an addition unit 207 , a block 208 for buffering reference frames and depth maps, a block 209 for predicting compensation and correction parameters, a block for estimating an offset and changing the brightness / contrast 210, and a block 211 for deciding on a macroblock coding mode. Blocks 201-204, 207-209 and 211 are standard coding blocks that are used in the basic hybrid coding method [9]. A view synthesis block 206 is a block specific to multi-view coding. Block 206 synthesizes additional reference frames from already encoded / decoded frames and depth maps.

Заявляемый способ может быть реализован в блоках 205 и 210. Эти блоки осуществляют способ поблочного кодирования с предсказанием, который включает в себя следующие этапы:The inventive method can be implemented in blocks 205 and 210. These blocks implement a predictive block coding method, which includes the following steps:

- Для текущего блока текущего кодируемого кадра выполняют поиск опорного блока, который минимизирует следующее выражение:- For the current block of the current encoded frame, a search is performed for the reference block, which minimizes the following expression:

m = 1 M n = 1 N | I ( m , n ) Ψ ( R ( m + i , n + j ) ) |

Figure 00000024
m = one M n = one N | I ( m , n ) - Ψ ( R ( m + i , n + j ) ) |
Figure 00000024

где I(m,n) представляет собой значение яркости пикселя с координатами (m,n) внутри текущего блока. Размер текущего кодируемого блока равен М×N, (i,j) определяет вектор смещения (DV), который указывает на опорный блок R в пределах предопределенной области поиска. ψ(x) - функция, корректирующая различия в яркости и контрастности между текущим блоком и опорным блоком. Описанный способ реализуется в блоке 210. Найденные параметры коррекции изменения яркости и контрастности, наряду с полученным DV, передаются в блок 205 и в блок 209.where I (m, n) is the pixel brightness value with coordinates (m, n) inside the current block. The size of the current block being encoded is M × N, (i, j) defines a displacement vector (DV) that points to the reference block R within a predetermined search area. ψ (x) is a function that corrects for differences in brightness and contrast between the current block and the reference block. The described method is implemented in block 210. The found correction parameters for changing the brightness and contrast, along with the received DV, are transmitted to block 205 and to block 209.

- Найденный опорный блок преобразуют в соответствии с найденными параметрами коррекции изменения яркости и контрастности (блок 205). После этого блок 201 формирует разностный блок. Затем разностный блок преобразуется с помощью Дискретного Косинусного Преобразования (ДКП), квантуется (блок 202) и кодируется энтропийным кодером (блок 203). Дополнительные данные (SI), необходимые для последующего декодирования, также кодируется энтропийным кодером (блок 203).- The found reference block is converted in accordance with the found correction parameters for changing the brightness and contrast (block 205). After that, block 201 forms a difference block. Then, the difference block is converted using the Discrete Cosine Transform (DCT), quantized (block 202) and encoded by an entropy encoder (block 203). Additional data (SI) required for subsequent decoding is also encoded by an entropy encoder (block 203).

Фиг.3 содержит диаграмму, поясняющую суть способа коррекции изменения яркости и контрастности для опорного блока в соответствии с одним из вариантов реализации заявляемого изобретения. В соответствии с Фиг.3, на каждой итерации процедуры поиска опорного блока для текущего блока 311 текущего кодируемого кадра 310 определяют вектор 320 смещения (DV). Вектор 320 указывает на опорный блок 301 опорного кадра 300. Согласно заявляемому способу, функция ψ(x) коррекции изменения яркости и контрастности имеет следующий вид:Figure 3 contains a diagram explaining the essence of the method for correcting changes in brightness and contrast for the reference block in accordance with one embodiment of the claimed invention. In accordance with FIG. 3, at each iteration of the reference block search procedure for the current block 311 of the current encoded frame 310, a displacement vector (DV) 320 is determined. Vector 320 indicates the reference block 301 of the reference frame 300. According to the claimed method, the function ψ (x) of the correction of changes in brightness and contrast has the following form:

ψ(x)=α·x.ψ (x) = α

Параметр коррекции изменения яркости и контрастности α описывается следующим уравнением:The correction parameter for changes in brightness and contrast α is described by the following equation:

α = e s t M X r e f M X

Figure 00000025
, α = e s t M X r e f M X
Figure 00000025
,

r e f M X = 1 N M m = 1 M n = 1 N S ( m + i , n + j )

Figure 00000026
r e f M X = one N M m = one M n = one N S ( m + i , n + j )
Figure 00000026

refMX - среднее значение опорного блока 301. (i,j) - координаты левого верхнего угла опорного блока 301. S обозначает пиксель опорного кадра 300. Величина, выраженная как estMX, представляет собой оценку среднего значения для текущего кодируемого блока 311.refMX is the average value of the reference block 301. (i, j) is the coordinate of the upper left corner of the reference block 301. S is the pixel of the reference frame 300. The value expressed as estMX is an estimate of the average value for the current encoded block 311.

Фиг.4 содержит блок-схему, иллюстрирующую способ коррекции изменения яркости и контрастности для опорного блока, согласно одному из вариантов реализации заявляемого изобретения. Этот способ включает в себя выполнение следующих этапов.Figure 4 contains a flowchart illustrating a method for correcting changes in brightness and contrast for a reference block, according to one embodiment of the invention. This method includes the following steps.

1. Получение на вход значений пикселей блоков 301, 302, 303, 311, 312, 313 и 314 (Фиг.4, 401).1. Obtaining input pixel values of blocks 301, 302, 303, 311, 312, 313 and 314 (Fig. 4, 401).

2. Вычисление следующих средних значений (Фиг.4, 402): вычисление среднего значения encMX_L блока 3122. The calculation of the following average values (Figure 4, 402): calculation of the average value encMX_L block 312

e n c M X _ L = 1 P Q p = 1 P q = 1 Q D I ( p , q )

Figure 00000027
, e n c M X _ L = one P Q p = one P q = one Q D I ( p , q )
Figure 00000027
,

где DI(p,q) представляет собой восстановленное (закодированное и затем декодированное) значение яркости пикселя с координатами (p,q) внутри блока 312. Размеры блока 312 составляют P×Q.where DI (p, q) is the reconstructed (encoded and then decoded) pixel brightness value with coordinates (p, q) inside block 312. The dimensions of block 312 are P × Q.

Вычисление среднего значения encMX_А блока 313The calculation of the average value encMX_A block 313

e n c M X _ A = 1 U V u = 1 U v = 1 V D I ( u , v )

Figure 00000028
, e n c M X _ A = one U V u = one U v = one V D I ( u , v )
Figure 00000028
,

где DI(u,v) представляет восстановленное (закодированное и затем декодированное) значение яркости пикселя с координатами (u,v) внутри блока 313. Размеры блока 313 составляют U×V.where DI (u, v) represents the reconstructed (encoded and then decoded) brightness value of the pixel with coordinates (u, v) inside block 313. The dimensions of block 313 are U × V.

Вычисление среднего значения refMX опорного блока 301.The calculation of the average refMX of the reference block 301.

Вычисление среднего значения refMX_L блока 302:Calculation of the average refMX_L of block 302:

r e f M X _ L = 1 P Q p = 1 P q = 1 Q S ( p + i , q + j Q )

Figure 00000029
. r e f M X _ L = one P Q p = one P q = one Q S ( p + i , q + j - Q )
Figure 00000029
.

Размеры блока 302 равны размерам блока 312.The dimensions of block 302 are equal to the dimensions of block 312.

Вычисление среднего значения refMX_A блока 303:Calculation of the average value of refMX_A block 303:

r e f M X _ A = 1 U V u = 1 U v = 1 V S ( u + i , U , v + j )

Figure 00000030
. r e f M X _ A = one U V u = one U v = one V S ( u + i , - U , v + j )
Figure 00000030
.

Размеры блока 303 равны размерам блока 313.The dimensions of block 303 are equal to the dimensions of block 313.

3. Проверка условия 1 (Фиг.4, 403): если блок 302 и блок 312 доступны (то есть блоки 302 и 312 расположены в границах кадра и, в случае, если опорный кадр является синтезированным кадром, то пиксели блока 302 не принадлежат области окклюзии, и значение хотя бы одного пикселя блока 302 отлично от 0), то переходят к оценке значения estMX (Фиг.4, 405) в соответствии со следующим выражением:3. Verification of condition 1 (Fig. 4, 403): if block 302 and block 312 are available (that is, blocks 302 and 312 are located within the frame boundaries and, if the reference frame is a synthesized frame, then the pixels of block 302 do not belong to the region occlusion, and the value of at least one pixel of block 302 is different from 0), then we proceed to estimate the value of estMX (Fig. 4, 405) in accordance with the following expression:

e s t M X = r e f M X r e f M X _ L e n c M X _ L

Figure 00000031
. e s t M X = r e f M X r e f M X _ L e n c M X _ L
Figure 00000031
.

В противном случае, переходят к проверке условия 2 (Фиг.4, 404).Otherwise, they proceed to check condition 2 (Fig. 4, 404).

4. Проверка условия 2 (Фиг.4, 404): если блок 303 и блок 313 являются доступными (то есть блоки 303 и 313 расположены в границах кадра и, в случае, если опорный кадр является синтезированным кадром, то пиксели блока 303 не принадлежат области окклюзии, и значение хотя бы одного пикселя блока 303 отлично от 0), то переходят к оценке значения estMX (Фиг.4, 407) в соответствии со следующим выражением:4. Verification of condition 2 (Fig. 4, 404): if block 303 and block 313 are available (that is, blocks 303 and 313 are located within the frame and, if the reference frame is a synthesized frame, then the pixels of block 303 do not belong occlusion area, and the value of at least one pixel of block 303 is different from 0), then we proceed to estimate the estMX value (Fig. 4, 407) in accordance with the following expression:

e s t M X = r e f M X r e f M X _ A e n c M X _ A

Figure 00000032
. e s t M X = r e f M X r e f M X _ A e n c M X _ A
Figure 00000032
.

В противном случае, переходят к оценке значения estMX (Фиг.4, 406) в соответствии со следующим выражением:Otherwise, they proceed to estimate the estMX value (Figure 4, 406) in accordance with the following expression:

estMX=MAP(encMX_L,encMX_A,encMX_LA),estMX = MAP (encMX_L, encMX_A, encMX_LA),

где MAP(x,y,z) - известный метод медианного предсказания [10], encMX_LA - это среднее значение блока 314:where MAP (x, y, z) is the well-known method of median prediction [10], encMX_LA is the average value of block 314:

e n c M X _ L A = 1 U Q u = 1 U q = 1 V D I ( u , q )

Figure 00000033
e n c M X _ L A = one U Q u = one U q = one V D I ( u , q )
Figure 00000033

Размеры блока 314 составляют U×Q и равны соответствующим размерам блоков 312 и 313.The dimensions of block 314 are U × Q and equal to the corresponding sizes of blocks 312 and 313.

5. Вычисление параметра коррекции изменения яркости и контрастности α (Фиг.4, 408) путем использования полученных значений estMX and refMX.5. The calculation of the correction parameter changes in brightness and contrast α (Fig.4, 408) by using the obtained values estMX and refMX.

6. Выполнение коррекции изменения яркости и контрастности (Фиг.4, 409) для опорного блока 301 путем использования вычисленного параметра α.6. Performing correction of changes in brightness and contrast (Figure 4, 409) for the reference block 301 by using the calculated parameter α.

Следует отметить, что опорный кадр 300, блоки 301, 302, 303 и восстановленные (закодированные и затем декодированные) блоки 312, 313, 314 доступны как во время кодирования, так и при декодировании. Фиг.5 иллюстрирует взаимное расположение рассматриваемых областей и блоков в текущем кадре 500. Область 501 текущего кадра 500 доступна во время кодирования и декодирования текущего кодируемого блока 502. Область 501 включает блоки 312, 313 и 314. Область 501 иногда называют «шаблоном». Область 503 не присутствует во время декодирования текущего блока 502 и не должна содержать блоков 312, 313 и 314. В связи с этим, описанный выше способ может быть реализован как в кодере, так и в декодере, и не требует передачи дополнительных данных в выходной битовый поток.It should be noted that the reference frame 300, blocks 301, 302, 303 and reconstructed (encoded and then decoded) blocks 312, 313, 314 are available both during encoding and during decoding. 5 illustrates the relative position of the regions and blocks under consideration in the current frame 500. The region 501 of the current frame 500 is available during encoding and decoding of the current encoded block 502. Region 501 includes blocks 312, 313, and 314. Region 501 is sometimes referred to as a “pattern”. Region 503 is not present during decoding of the current block 502 and should not contain blocks 312, 313 and 314. In this regard, the method described above can be implemented both in the encoder and in the decoder, and does not require additional data to be transmitted to the output bit flow.

Другой вариант реализации заявляемого изобретения предусматривает попиксельную коррекцию изменения яркости и контрастности для опорного блока при кодировании с предсказанием. Ключевая идея заключается в попиксельной оценке параметра коррекции изменения яркости и контрастности, причем коррекция основывается на восстановленных значениях пикселей, соседних с текущим блоком, значениях пикселей опорного кадра и их взаимном подобии. Фиг.6 иллюстрирует конкретное применение этой техники.Another embodiment of the claimed invention provides for pixel-by-pixel correction of changes in brightness and contrast for the reference block in prediction coding. The key idea is to evaluate pixel-by-pixel the correction parameter for changes in brightness and contrast, moreover, the correction is based on the restored pixel values adjacent to the current block, the pixel values of the reference frame, and their mutual similarity. 6 illustrates a specific application of this technique.

Согласно Фиг.6 на каждой итерации процедуры поиска опорного блока для текущего блока 611, принадлежащего текущему кодируемому кадру 610, определяют вектор 620 смещения (DV). DV указывает на опорный блок 601 опорного кадра 600. Текущий блок 611 содержит пиксели, которые обозначены как А00~А33. Опорный блок 601 содержит пиксели, которые обозначены как R00~R33. Восстановленные значения пикселей (блоки 612 и 613), соседних по отношению к текущему кодируемому блоком, обозначены как T 0 D T 15 D

Figure 00000034
. T 0 R T 15 R
Figure 00000035
- пиксели, принадлежащие блокам 602 и 603. Блоки 602 и 603 являются соседними по отношению к опорному блоку 601 и ставятся в соответствие блокам 612 и 613. Следует также отметить, что общее число пикселей в блоках 612, 613 и 602, 603 является одинаковыми.6, at each iteration of the reference block search procedure for the current block 611 belonging to the current encoded frame 610, a displacement vector (DV) 620 is determined. DV indicates a reference block 601 of a reference frame 600. The current block 611 contains pixels, which are designated as A00 ~ A33. The reference block 601 contains pixels, which are designated as R00 ~ R33. The restored pixel values (blocks 612 and 613) adjacent to the current encoded block are indicated as T 0 D T fifteen D
Figure 00000034
. T 0 R T fifteen R
Figure 00000035
- pixels belonging to blocks 602 and 603. Blocks 602 and 603 are adjacent to the reference block 601 and are mapped to blocks 612 and 613. It should also be noted that the total number of pixels in blocks 612, 613 and 602, 603 are the same.

Для каждого положения (i,j) пикселя в опорном блоке 601 коррекция изменения яркости и контрастности осуществляется в соответствии со следующим уравнением:For each position (i, j) of the pixel in the reference block 601, the correction of changes in brightness and contrast is carried out in accordance with the following equation:

ψ(xi,j)=αi,j·xi,j.ψ (x i, j ) = α i, j x x i, j .

Здесь параметр попиксельной коррекции изменения яркости и контрастности (в случае, если estRi,j не равно 0) описывается как:Here, the parameter of pixel-by-pixel correction of changes in brightness and contrast (in case estR i, j is not equal to 0) is described as:

α i , j = e s t D i , j e s t R i , j

Figure 00000036
, α i , j = e s t D i , j e s t R i , j
Figure 00000036
,

где estDi,j - это первая оценка для пикселя с координатами (i,j) в опорном блоке; estRi,j - это вторая оценка пикселя с координатами (i,j) в опорном блоке. В противном случае αi,j полагается равным 1.where estD i, j is the first estimate for a pixel with coordinates (i, j) in the reference block; estR i, j is the second pixel estimate with the coordinates (i, j) in the reference block. Otherwise, α i, j is assumed to be equal to 1.

Блок-схема способа попиксельной коррекции изменения яркости и контрастности для опорного блока приведена на Фиг.7. Этот способ включает следующие этапы:A flowchart of a method for pixel-by-pixel correction of changes in brightness and contrast for a reference block is shown in FIG. 7. This method includes the following steps:

1. Получение значений пикселей блоков 601, 602, 603 из опорного кадра 600, блока 611 и блоков 612, 613, принадлежащих области шаблона текущего кодируемого кадра 610 (операция 701).1. Obtaining pixel values of blocks 601, 602, 603 from the reference frame 600, block 611 and blocks 612, 613 belonging to the template area of the current encoded frame 610 (operation 701).

2. Вычисление весовых коэффициентов Wk(i,j), k=0, …, N - 1 для каждого положения (i,j) пикселя в опорном блоке 601 (операция 702). Весовые коэффициенты Wk(i,j) могут быть выражены следующим образом:2. Calculation of weighting factors W k (i, j), k = 0, ..., N - 1 for each position (i, j) of the pixel in the reference block 601 (operation 702). Weighting factors W k (i, j) can be expressed as follows:

Wk(i,j)=exp(-C·Ak(i,j)),W k (i, j) = exp (-CA A k (i, j)),

C = σ 2

Figure 00000037
, A k ( i , j ) = | R i , j T k R |
Figure 00000038
. C = σ 2
Figure 00000037
, A k ( i , j ) = | R i , j - T k R |
Figure 00000038
.

где σ>0 определяется экспериментально. Здесь N - это общее число пикселей в блоках 612, 613 (или 602, 603). Необходимо отметить, что весовые коэффициенты отражают тот факт что, чем значение Ri,j ближе к T k R

Figure 00000039
, тем больше его вклад при определении параметра коррекции изменения яркости и контрастности для опорного блока.where σ> 0 is determined experimentally. Here N is the total number of pixels in blocks 612, 613 (or 602, 603). It should be noted that the weights reflect the fact that, than the value of R i, j is closer to T k R
Figure 00000039
, the greater his contribution in determining the correction parameter for changes in brightness and contrast for the reference block.

3. Вычисление значений estDi,j для каждого положения (i,j) пикселя в опорном блоке 601 (операция 703) в соответствии со следующим выражением:3. The calculation of the values estD i, j for each position (i, j) of the pixel in the reference block 601 (operation 703) in accordance with the following expression:

e s t D i , j = k 0 N 1 k : | T k R T k D | T h r 1 a n d | T k R R i , j | T h r 2 W k ( i , j ) T k D

Figure 00000040
e s t D i , j = k 0 ... N - one k : | T k R - T k D | T h r one a n d | T k R - R i , j | T h r 2 W k ( i , j ) T k D
Figure 00000040

Thr1 и Thr2 - это предопределенные пороговые значения. Пороговые значения используются для исключения значений пикселей, соседних по отношению к опорному блоку, которые существенно отличаются от значений Ri,j и значений T k D

Figure 00000041
, соседних по отношению к текущему кодируемому блоку.Thr1 and Thr2 are predefined thresholds. Threshold values are used to exclude pixel values adjacent to the reference block, which differ significantly from the values of R i, j and values T k D
Figure 00000041
adjacent to the current encoded block.

4. Вычисление значений estRi,j для каждого положения (i,j) пикселя в опорном блоке 601 (операция 704) в соответствии со следующим выражением:4. The calculation of the values estR i, j for each position (i, j) of the pixel in the reference block 601 (operation 704) in accordance with the following expression:

e s t R i , j = k 0 N 1 k : | T k R T k D | T h r 1 a n d | T k R R i , j | T h r 2 W k ( i , j ) T k R

Figure 00000042
. e s t R i , j = k 0 ... N - one k : | T k R - T k D | T h r one a n d | T k R - R i , j | T h r 2 W k ( i , j ) T k R
Figure 00000042
.

Предопределенные пороговые значения Thr1 и Thr2 являются такими же, как в вычислении для вычисления estDi,j.The predefined threshold values Thr1 and Thr2 are the same as in the calculation for calculating estD i, j .

5. Вычисление параметра коррекции изменения яркости и контрастности αi,j (операция 705) для каждого пикселя с координатами (i,j) в опорном блоке 601 на основании полученных значений estDi,j и estRi,j в случае, если estRi,j не равно 0. В противном случае αi,j полагается равным 1.5. The calculation of the correction parameter for changing the brightness and contrast α i, j (operation 705) for each pixel with coordinates (i, j) in the reference block 601 based on the obtained values estD i, j and estR i, j in case estR i , j is not equal to 0. Otherwise, α i, j is set equal to 1.

6. Выполнение коррекции изменения яркости и контрастности (операция 706) для опорного блока 601 на основе использования вычисленных параметров αi,j.6. Performing correction of changes in brightness and contrast (operation 706) for the reference block 601 based on the use of the calculated parameters α i, j .

Другой вариант реализации заявляемого изобретения основан на следующем. Обычно в качестве пикселей, соседних по отношению к опорному блоку, выбирают группу пикселей, непосредственно прилегающих к опорному блоку. Однако процедура поиска опорного блока может выбрать такой вектор смещения, что значения пикселей в указанной группе не будут в достаточной степени схожи с соответствующими им значениями пикселей, соседних по отношению к текущему кодируемому блоку. Более того, значения пикселей, непосредственно прилегающих к опорному блоку, могут значительно отличаться от значений пикселей опорного блока В этих случаях, коррекция изменения яркости и контрастности может выполняться неверно.Another embodiment of the claimed invention is based on the following. Typically, as pixels adjacent to the reference block, a group of pixels adjacent to the reference block is selected. However, the search procedure for the reference block can select such a displacement vector that the pixel values in the indicated group will not be sufficiently similar to the corresponding pixel values adjacent to the current encoded block. Moreover, the values of pixels directly adjacent to the reference block may differ significantly from the pixel values of the reference block. In these cases, correction of changes in brightness and contrast may not be performed correctly.

Для решения указанной проблемы, в варианте реализации заявляемого изобретения предлагается использовать "плавающее" (относительно опорного блока) положение упомянутой группы пикселей, соседних по отношению к опорному блоку. Фиг.8 объясняет заявляемый способ в соответствии с одним из вариантов реализации заявляемого изобретения. Согласно Фиг.8 на каждой итерации процедуры поиска опорного блока для текущего блока 811 текущего кодируемого кадра 810 определяют вектор 820 смещения (DV). DV указывает на опорный блок 801 опорного кадра 800. Координаты группы пикселей опорного кадра (которую образуют пиксели блоков 802 и 803) определяются с помощью дополнительного уточняющего вектора 804 смещения. Уточняющий вектор 804 смещения является результатом дополнительной процедуры оценки смещения. При этом определяется такой вектор 804 смещения, который дает минимальное значение штрафной функции, определяющей степень подобия блоков 812, 813 и блоков 802, 803 соответственно. В качестве штрафной функции могут выступать такие известные функции как: средне-квадратичная ошибка, сумма абсолютных разностей, сумма абсолютных разностей для сигналов с нулевым средним, и т.д. Вектор 804 может быть определен неявно во время процесса кодирования и декодирования без передачи дополнительной информации в выходном битовом потоке.To solve this problem, in an embodiment of the claimed invention, it is proposed to use the "floating" (relative to the reference block) position of said group of pixels adjacent to the reference block. Fig.8 explains the inventive method in accordance with one embodiment of the claimed invention. 8, at each iteration of the reference block search procedure for the current block 811 of the current encoded frame 810, a displacement vector (DV) 820 is determined. DV points to the reference block 801 of the reference frame 800. The coordinates of the group of pixels of the reference frame (which are formed by the pixels of the blocks 802 and 803) are determined using an additional refinement offset vector 804. The bias refinement vector 804 is the result of an additional bias estimation procedure. In this case, such a displacement vector 804 is determined that gives the minimum value of the penalty function that determines the degree of similarity of blocks 812, 813 and blocks 802, 803, respectively. Such a well-known function as the root mean square error, the sum of the absolute differences, the sum of the absolute differences for signals with a zero mean, and so on can serve as a penalty function. Vector 804 can be implicitly determined during the encoding and decoding process without transmitting additional information in the output bitstream.

На Фиг.9 представлена блок-схема, которая описывает способ кодирования многоракурсных видеопоследовательностей, основанный коррекции яркости и контрастности согласно одному из вариантов реализации заявляемого изобретения. На этапе 901 определяют опорный блок, который используется для формирования предсказанного блока. На этапе 902 определяют параметры коррекции изменения яркости и контрастности для найденного опорного блока. Определение параметров коррекции изменения яркости и контрастности включает в себя:Figure 9 presents a flowchart that describes a method for encoding multi-angle video sequences based on the correction of brightness and contrast according to one embodiment of the claimed invention. At 901, a reference block is determined which is used to form the predicted block. At 902, the correction parameters for changing the brightness and contrast for the found reference block are determined. Determining the correction parameters for changes in brightness and contrast includes:

- получение восстановленных (закодированных и затем декодированных) значений пикселей, соседних по отношению к текущему блоку, и значений пикселей, соседних по отношению к опорному блоку опорного кадра;- obtaining restored (encoded and then decoded) pixel values adjacent to the current block and pixel values adjacent to the reference block of the reference frame;

- определение числовых соотношений между значениями пикселей опорного блока и значениями пикселей, соседних по отношению к опорному блоку, и соотношения между восстановленными значениями пикселей, соседних по отношению к текущему кодируемому блоку, и значениями пикселей, соседних по отношению к опорному блоку;- determining the numerical relationships between the pixel values of the reference block and the pixel values adjacent to the reference block, and the ratio between the restored pixel values adjacent to the current encoded block and the pixel values adjacent to the reference block;

- определение параметров коррекции изменения яркости и контрастности для коррекции различия в яркости и контрастности для опорного блока на основе найденных на предыдущем шаге числовых соотношений, значений пикселей опорного блока, восстановленных значений пикселей, соседних по отношению к текущему кодируемому блоку, и значений пикселей, соседних по отношению к опорному блоку.- determination of correction parameters for changing the brightness and contrast for correcting differences in brightness and contrast for the reference block based on the numerical relationships found in the previous step, the pixel values of the reference block, the restored pixel values adjacent to the current block being encoded, and the pixel values adjacent to in relation to the support block.

На этапе 903, используя найденные параметры коррекции изменения яркости и контрастности, выполняют коррекцию для опорного блока. На этапе 904, используя скорректированный по яркости и контрастности опорный блок, формируют блок-предсказание для текущего блока. На этапе 905, используя сформированный блок-предсказание, кодируют текущий блок. В частности, кодируют информацию об опорном блоке, если это необходимо для декодирования. Необходимо отметить, что найденные параметры коррекции изменения яркости и контрастности не кодируются и не помещаются в выходной битовый поток.At 903, using the found correction parameters for changing the brightness and contrast, a correction is performed for the reference block. At 904, using the brightness and contrast-adjusted reference block, a prediction block is generated for the current block. At 905, using the generated prediction block, the current block is encoded. In particular, information about the reference block is encoded, if necessary for decoding. It should be noted that the found correction parameters for changes in brightness and contrast are not encoded and are not placed in the output bitstream.

Фиг.10 иллюстрирует способ декодирования многоракурсных видеопоследовательностей на основе коррекции изменения яркости и контрастности, согласно одному из примеров реализации заявляемого изобретения. Согласно Фиг.10 информация об опорном блоке декодируется, если требуется ее декодирование. Декодированная информация может использоваться для определения опорного блока на этапе 1001. На этапе 1002 определяют параметры коррекции изменения яркости и контрастности для коррекции опорного блока. Процедура определения параметров коррекции изменения яркости и контрастности включает в себя:Figure 10 illustrates a method for decoding multi-angle video sequences based on the correction of changes in brightness and contrast, according to one example implementation of the claimed invention. 10, information about a reference block is decoded if decoding is required. The decoded information can be used to determine the reference block at step 1001. At step 1002, correction parameters for changing the brightness and contrast for correcting the reference block are determined. The procedure for determining the correction parameters for changes in brightness and contrast includes:

- получение восстановленных (закодированных и затем декодированных) значений пикселей, соседних по отношению к текущему блоку, и значений пикселей, соседних по отношению к опорному блоку опорного кадра;- obtaining restored (encoded and then decoded) pixel values adjacent to the current block and pixel values adjacent to the reference block of the reference frame;

- определение числовых соотношений между значениями пикселей опорного блока и значениями пикселей, соседних по отношению к опорному блоку, и соотношения между восстановленными значениями пикселей, соседних по отношению к текущему кодируемому блоку, и значениями пикселей, соседних по отношению к опорному блоку;- determination of numerical ratios between the pixel values of the reference block and the values of pixels adjacent to the reference block, and the ratio between the restored pixel values adjacent to the current encoded block and the pixel values adjacent to the reference block;

- определение параметров коррекции изменения яркости и контрастности для коррекции различия в яркости и контрастности для опорного блока на основе найденных на предыдущем шаге числовых соотношений, значений пикселей опорного блока, восстановленных значений пикселей, соседних по отношению к текущему кодируемому блоку, и значений пикселей, соседних по отношению к опорному блоку.- determination of correction parameters for changing the brightness and contrast for correcting differences in brightness and contrast for the reference block based on the numerical relationships found in the previous step, the pixel values of the reference block, the restored pixel values adjacent to the current block being encoded, and the pixel values adjacent to in relation to the support block.

На этапе 1003, используя найденные параметры коррекции изменения яркости и контрастности, выполняют коррекцию опорного блока. На этапе 1004, используя скорректированный по яркости и контрастности опорный блок, формируют блок-предсказание для текущего декодируемого блока. На этапе 1005, используя сформированный блок-предсказание, осуществляют декодирование текущего блока.At step 1003, using the found correction parameters for changing the brightness and contrast, the correction of the reference block is performed. At step 1004, using the brightness and contrast-adjusted reference block, a prediction block is generated for the current decoded block. At 1005, using the generated prediction block, the current block is decoded.

На практике заявляемое изобретение может быть использовано при кодировании и декодировании многоракурсных видеопоследовательностей.In practice, the claimed invention can be used in the encoding and decoding of multi-angle video sequences.

Варианты реализации заявляемого изобретения, описанные выше, приведены лишь с целью иллюстрации и не имеют ограничительного характера. Объем охраны изобретения определяется прилагаемой формулой изобретенияThe embodiments of the claimed invention described above are provided for purposes of illustration only and are not restrictive. The scope of protection of the invention is determined by the attached claims.

СсылкиReferences

[1] Yea, S.; Vetro, A., «View Synthesis Prediction for Multiview Video Coding», Image Communication, ISSN: 0923-5965, Vol.24, Issue 1-2, pp.89-100, January 2009.[1] Yea, S .; Vetro, A., “View Synthesis Prediction for Multiview Video Coding”, Image Communication, ISSN: 0923-5965, Vol.24, Issue 1-2, pp.89-100, January 2009.

[2] ITU-T Rec. H.264. Advanced video coding for generic audiovisual services. 2010.[2] ITU-T Rec. H.264. Advanced video coding for generic audiovisual services. 2010.

[3] US Patent 7,924,923. Motion Estimation and Compensation Method and Device Adaptive to Change in Illumination. April, 2011.[3] US Patent 7,924,923. Motion Estimation and Compensation Method and Device Adaptive to Change in Illumination. April 2011.

[4] Y.Lee, J.Hur, Y.Lee, R.Han, S.Cho, N.Hur, J.Kirn, J.Kirn, P.Lai, A.Ortega, Y.Su, P.Yin and C.Gomila. CE11: Illumination compensation. Joint Video Team (JVT) of ISO/IEC MPEG and ITU-T VCEG JVT-U052, Oct. 2006. [4] Y. Lee, J. Hur, Y. Lee, R. Han, S. Cho, N. Hur, J. Kirn, J. Kirn, P. Lai, A. Ortega, Y.Su, P. Yin and C. Gomila. CE11: Illumination compensation. Joint Video Team (JVT) of ISO / IEC MPEG and ITU-T VCEG JVT-U052, Oct. 2006.

[5] J.H.Kirn, P.Lai, J.Lopez, A.Ortega, Y.Su, P.Yin, and C.Gomila. New coding tools for illumination and focus mismatch compensation in multiview video coding. IEEE Trans. on Circuits and Systems for Video Technology, vol.17, no. 11, pp.1519-1535, Nov. 2007.[5] J.H. Kirn, P. Lai, J. Lopez, A. Ortega, Y.Su, P. Yin, and C. Gomila. New coding tools for illumination and focus mismatch compensation in multiview video coding. IEEE Trans. on Circuits and Systems for Video Technology, vol. 17, no. 11, pp. 1519-1535, Nov. 2007.

[6] Т.Yamamoto, Т.Ikai, "Weighted prediction using neighboring pixels," ITU-T Q.6/SG16 VCEG, Proposal VCEG-AH19, January 2008.[6] T. Yamamoto, T. Ikai, "Weighted prediction using neighboring pixels," ITU-T Q.6 / SG16 VCEG, Proposal VCEG-AH19, January 2008.

[7] US Patent Application 2011/0286678. Multi-view Image Coding Method, Multi-view Image Decoding Method, Multi-view Image Coding Device, Multi-view Image Decoding device. Multi-view Image Coding Program, and Multi-view Image Decoding Program. November, 2011.[7] US Patent Application 2011/0286678. Multi-view Image Coding Method, Multi-view Image Decoding Method, Multi-view Image Coding Device, Multi-view Image Decoding device. Multi-view Image Coding Program, and Multi-view Image Decoding Program. November, 2011.

[8] US patent application 2008/0304760. Method and Apparatus for Illumination Compensation and Method and Apparatus for Encoding and Decoding Image Based on Illumination Compensation. December, 2008.[8] US patent application 2008/0304760. Method and Apparatus for Illumination Compensation and Method and Apparatus for Encoding and Decoding Image Based on Illumination Compensation. December, 2008.

[9] Richardson I.E. The H.264 Advanced Video Compression Standard. Second Edition. 2010.[9] Richardson I.E. The H.264 Advanced Video Compression Standard. Second Edition. 2010.

[10] Martucci S.A. «Reversible compression of HDTV images using median adaptive prediction and arithmetic coding», in IEEE Int. Symp. on Circuits and Systems, 1990.[10] Martucci S.A. “Reversible compression of HDTV images using median adaptive prediction and arithmetic coding”, in IEEE Int. Symp on Circuits and Systems, 1990.

Claims (13)

1. Способ локальной коррекции изменения яркости и контрастности опорного кадра для кодирования многоракурсной видеопоследовательности, включающий в себя следующие этапы:
- получают значения пикселей текущего кодируемого блока, принадлежащего кодируемому кадру, и значения пикселей опорного блока, принадлежащего опорному кадру;
- получают восстановленные, то есть закодированные и затем декодированные, значения пикселей, соседних по отношению к текущему блоку кодируемого кадра, и значения пикселей, соседних по отношению к опорному блоку опорного кадра;
- определяют числовые соотношения между значениями пикселей опорного блока и значениями пикселей, соседних по отношению к опорному блоку, и соотношения между восстановленными значениями пикселей, соседних по отношению к текущему кодируемому блоку, и значениями пикселей, соседних по отношению к опорному блоку;
- на основе найденных на предыдущем шаге числовых соотношений, значений пикселей опорного блока, восстановленных значений пикселей, соседних по отношению к текущему кодируемому блоку, и значений пикселей, соседних по отношению к опорному блоку, определяют параметры коррекции яркости и контрастности для коррекции различия в яркости и контрастности для опорного блока в сравнении с текущим кодируемым блоком;
- выполняют коррекцию различия в яркости и контрастности для опорного блока, используя найденные параметры коррекции.
1. A method for local correction of changes in the brightness and contrast of the reference frame for encoding a multi-angle video sequence, which includes the following steps:
- get the pixel values of the current encoded block belonging to the encoded frame, and the pixel values of the reference block belonging to the reference frame;
- get restored, that is, encoded and then decoded, the values of pixels adjacent to the current block of the encoded frame, and the values of pixels adjacent to the reference block of the reference frame;
- determine the numerical relationship between the pixel values of the reference block and the pixel values adjacent to the reference block, and the ratio between the restored pixel values adjacent to the current encoded block and the pixel values adjacent to the reference block;
- on the basis of the numerical relationships found in the previous step, the pixel values of the reference block, the restored pixel values adjacent to the current encoded block, and the pixel values adjacent to the reference block, brightness and contrast correction parameters are determined to correct for differences in brightness and contrast for the reference block in comparison with the current encoded block;
- perform correction of differences in brightness and contrast for the reference block using the found correction parameters.
2. Способ по п.1, отличающийся тем, что процедура определения числовых соотношений для пикселей текущего кодируемого кадра и опорного кадра, а также процедура определения параметров коррекции изменения яркости и контрастности включают в себя следующие этапы:
- вычисляют статистические характеристики для восстановленных значений пикселей, соседних по отношению к текущему кодируемому блоку, статистические характеристики для значений пикселей опорного блока и статистические характеристики для значений пикселей, соседних по отношению к опорному блоку;
- определяют числовые соотношения между статистическими характеристиками для пикселей опорного блока и статистическими характеристиками для восстановленных значений пикселей, соседних по отношению к опорному блоку;
- на основе вычисленных статистических характеристик и соотношений между ними производят оценку значения статистической характеристики для текущего кодируемого блока;
- вычисляют параметр коррекции изменения яркости и констрастности для коррекции различия в яркости и контрастности между опорным и текущим кодируемым блоками на основе найденной оценки статистической характеристики для текущего блока и статистической характеристики опорного блока.
2. The method according to claim 1, characterized in that the procedure for determining the numerical ratios for the pixels of the current encoded frame and the reference frame, as well as the procedure for determining the correction parameters for changing the brightness and contrast, include the following steps:
- calculate the statistical characteristics for the restored pixel values adjacent to the current encoded block, the statistical characteristics for the pixel values of the reference block and the statistical characteristics for the pixel values adjacent to the reference block;
- determine the numerical relationship between the statistical characteristics for the pixels of the reference block and the statistical characteristics for the restored values of pixels adjacent to the reference block;
- based on the calculated statistical characteristics and the relationships between them, an estimate is made of the value of the statistical characteristic for the current encoded block;
- calculate the correction parameter changes in brightness and contrast to correct differences in brightness and contrast between the reference and the current encoded blocks based on the found estimates of the statistical characteristics for the current block and the statistical characteristics of the reference block.
3. Способ по п.2, отличающийся тем, что вычисление статистических характеристик, определение соотношений для статистических характеристик и определение параметра коррекции изменения яркости и контрастности включают в себя следующие этапы:
- в случае наличия восстановленных пикселей, соседних по отношению к текущему кодируемому блоку и расположенных слева от текущего кодируемого блока, для них вычисляют среднее значение; в случае наличия восстановленных пикселей, соседних по отношению к текущему кодируемому блоку и расположенных сверху над текущим кодируемым блоком, для них вычисляют среднее значение, вычисляют среднее значение для пикселей опорного блока, в случае наличия пикселей, соседних по отношению к опорному блоку и расположенных слева от опорного блока, для них вычисляют среднее значение, а также в случае наличия пикселей, соседних по отношению к опорному блоку и расположенных сверху над опорным блоком, для них также вычисляют среднее значение;
- в случае наличия восстановленных пикселей, соседних по отношению к текущему кодируемому блоку и расположенных слева от текущего кодируемого блока, и наличия пикселей, соседних по отношению к опорному блоку и расположенных слева от опорного блока, вычисляют отношение между средним значением пикселей опорного блока и средним значением пикселей, соседних по отношению к опорному блоку и расположенных слева от опорного блока; вычисляют произведение найденного отношения и среднего значения восстановленных пикселей, соседних по отношению к текущему кодируемому блоку и расположенных слева от текущего кодируемого блока; определяют параметр коррекции изменения яркости и контрастности как отношение между вычисленным произведением и средним значением для пикселей опорного блока;
- в противном случае, при наличии восстановленных пикселей, соседних по отношению к текущему кодируемому блоку и расположенных сверху над текущим кодируемым блоком, и наличии пикселей, соседних по отношению к опорному блоку и расположенных сверху над опорным блоком, вычисляют отношение между средним значением пикселей опорного блока и средним значением пикселей, соседних по отношению к опорному блоку и расположенных сверху над опорным блоком; вычисляют произведение найденного отношения и среднего значения восстановленных пикселей, соседних по отношению к текущему кодируемому блоку и расположенных сверху над текущим кодируемым блоком; определяют параметр коррекции изменения яркости и контрастности как отношение между вычисленным произведением и средним значением для пикселей опорного блока;
- в противном случае, используют метод медианного предсказания для вычисления оценки среднего значения текущего кодируемого блока; определяют параметр коррекции изменения яркости и контрастности как отношение между оценкой среднего значения для пикселей текущего кодируемого блока и средним значением для пикселей опорного блока.
3. The method according to claim 2, characterized in that the calculation of statistical characteristics, determining the ratios for statistical characteristics and determining a correction parameter for changes in brightness and contrast include the following steps:
- if there are recovered pixels adjacent to the current encoded block and located to the left of the current encoded block, an average value is calculated for them; in the case of the presence of restored pixels adjacent to the current encoded block and located above the current encoded block, the average value is calculated for them, the average value for the pixels of the reference block is calculated, in the case of the presence of pixels adjacent to the reference block and located to the left of reference block, the average value is calculated for them, and also in the case of pixels adjacent to the reference block and located above the reference block, the average value is also calculated for them;
- in the case of the presence of restored pixels adjacent to the current encoded block and located to the left of the current encoded block, and the presence of pixels adjacent to the reference block and located to the left of the reference block, calculate the ratio between the average pixel value of the reference block and the average value pixels adjacent to the reference block and located to the left of the reference block; calculate the product of the found ratio and the average value of the restored pixels adjacent to the current encoded block and located to the left of the current encoded block; determining a correction parameter for changes in brightness and contrast as the ratio between the calculated product and the average value for the pixels of the reference block;
- otherwise, if there are recovered pixels adjacent to the current block to be encoded and located above the current block to be encoded and if there are pixels adjacent to the block and located above the reference block, the ratio between the average pixel value of the reference block is calculated and the average value of pixels adjacent to the reference block and located above the reference block; calculating the product of the found ratio and the average value of the recovered pixels adjacent to the current encoded block and located above the current encoded block; determining a correction parameter for changes in brightness and contrast as the ratio between the calculated product and the average value for the pixels of the reference block;
- otherwise, use the median prediction method to calculate an estimate of the average value of the current encoded block; determine the correction parameter for changes in brightness and contrast as the ratio between the average estimate for the pixels of the current encoded block and the average for the pixels of the reference block.
4. Способ по п.1, отличающийся тем, что процедура определения соотношений для пикселей текущего кодируемого кадра и опорного кадра, определение параметра коррекции изменения яркости и контрастности, а также выполнение коррекции различия в яркости и контрастности опорного блока в сравнении с текущим кодируемым блоком включают с себя следующие этапы:
- вычисляют первую оценку estDi,j для каждого положения (i,j) пикселя в опорном блоке; причем первая оценка estDi,j является линейной комбинацией восстановленных значений T k D
Figure 00000043
пикселей, соседних по отношению к текущему кодируемому блоку, k=0, …, N-1, N - число пикселей, соседних по отношению к текущему кодируемому и опорным блокам;
- вычисляют вторую оценку estRi,j для каждого положения (i,j) пикселя в опорном блоке; причем вторая оценка estRi,j является линейной комбинацией значений T k R
Figure 00000044
пикселей, соседних по отношению к опорному блоку, k=0, …, N-1;
- определяют, на основе первой оценки estDi,j, второй оценки estRi,j, значений Ri,j пикселей опорного блока, восстановленных значений T k D
Figure 00000045
пикселей, соседних по отношению к текущему кодируемому блоку, и значений T k R
Figure 00000046
пикселей, соседних по отношению к опорному блоку, параметр коррекции изменения яркости и контрастности для каждого положения пикселя в опорном блоке;
- выполняют коррекцию изменения яркости и контрастности для каждого пикселя опорного блока с помощью ранее определенных параметров коррекции.
4. The method according to claim 1, characterized in that the procedure for determining the ratios for the pixels of the current encoded frame and the reference frame, determining a correction parameter for changing the brightness and contrast, and also performing correction of differences in brightness and contrast of the reference block in comparison with the current encoded block include The following steps are required:
- calculate the first estimate estD i, j for each position (i, j) of the pixel in the reference block; moreover, the first estimate estD i, j is a linear combination of the restored values T k D
Figure 00000043
pixels adjacent to the current encoded block, k = 0, ..., N-1, N is the number of pixels adjacent to the current encoded and reference blocks;
- calculate the second estimate estR i, j for each position (i, j) of the pixel in the reference block; moreover, the second estimate estR i, j is a linear combination of values T k R
Figure 00000044
pixels adjacent to the reference block, k = 0, ..., N-1;
- determine, based on the first estimate estD i, j , the second estimate estR i, j , the values of R i, j pixels of the reference block, the restored values T k D
Figure 00000045
pixels adjacent to the current block being encoded and values T k R
Figure 00000046
pixels adjacent to the reference block, a correction parameter for changing the brightness and contrast for each pixel position in the reference block;
- perform correction of changes in brightness and contrast for each pixel of the reference block using the previously defined correction parameters.
5. Способ по п.4, отличающийся тем, что процедура вычисления первой и второй оценок для каждого положения пикселя в опорном блоке и определения параметров коррекции изменения яркости и контрастности для каждого положения пикселя в опорном блоке включает в себя следующие этапы:
- вычисляют первую оценку estDi,j как e s t D i , j = k = 0, , N 1 W k ( i , j ) T k D
Figure 00000005
, где Wk(i,j), k=0, …, N-1 - весовые коэффициенты, и T k D
Figure 00000047
, k=0, …, N-1 - восстановленные значения пикселей, соседних по отношению к текущему кодируемому блоку, N - число пикселей, соседних по отношению к текущему кодируемому и опорному блокам;
- вычисляют вторую оценку estRi,j как e s t R i , j = k = 0, , N 1 W k ( i , j ) T k R
Figure 00000007
, где Wk(i,j), k=0, …, N-1 - весовые коэффициенты, и T k R
Figure 00000008
, k=0, …, N-1 - значения пикселей, соседних по отношению к опорному блоку;
- в том случае если вторая оценка estRi,j не равна нулю, определяют параметр коррекции изменения яркости и контрастности для коррекции различия в яркости и контрастности для каждого пикселя в опорном блоке; этот параметр представляет собой отношение: α i , j = e s t D i , j e s t R i , j
Figure 00000048

в противном случае параметр коррекции αi,j задается равным 1;
- выполняют коррекцию яркости и контрастности опорного блока путем умножения значения каждого пикселя опорного блока Ri,j на соответствующий параметр коррекции αi,j.
5. The method according to claim 4, characterized in that the procedure for calculating the first and second estimates for each pixel position in the reference block and determining the correction parameters for changing the brightness and contrast for each pixel position in the reference block includes the following steps:
- calculate the first estimate estD i, j as e s t D i , j = k = 0 ... , N - one W k ( i , j ) T k D
Figure 00000005
, where W k (i, j), k = 0, ..., N-1 are weights, and T k D
Figure 00000047
, k = 0, ..., N-1 - restored values of pixels adjacent to the current encoded block, N - number of pixels adjacent to the current encoded and reference blocks;
- calculate the second estimate estR i, j as e s t R i , j = k = 0 ... , N - one W k ( i , j ) T k R
Figure 00000007
, where W k (i, j), k = 0, ..., N-1 are weights, and T k R
Figure 00000008
, k = 0, ..., N-1 are the values of pixels adjacent to the reference block;
- in the event that the second estimate estR i, j is not equal to zero, the correction parameter for changing the brightness and contrast is determined to correct the difference in brightness and contrast for each pixel in the reference block; this parameter is a relation: α i , j = e s t D i , j e s t R i , j
Figure 00000048

otherwise, the correction parameter α i, j is set to 1;
- perform correction of the brightness and contrast of the reference block by multiplying the values of each pixel of the reference block R i, j by the corresponding correction parameter α i, j .
6. Способ по п.5, отличающийся тем, что процедура вычисления первой и второй оценок для каждого положения пикселя в опорном блоке включает в себя следующие этапы:
- вычисляют весовые коэффициенты Wk(i,j), k=0, …, N-1 для первой оценки estDi,j и для второй оценки estRi,j; для каждого положения (i,j) пикселя в опорном блоке весовой коэффициент, Wk(i,j) равен невозрастающей функции абсолютной разности:
| R i , j T k R |
Figure 00000010
,
что обеспечивает обратно пропорциональное увеличение/уменьшение Wk(i,j) в зависимости от уменьшения/увеличения абсолютной разности. Здесь Ri,j - значение пикселя опорного блока; T k R
Figure 00000011
(k=0, …, N-1) - значение пикселя, соседнего по отношению к опорному блоку; N - число пикселей, соседних по отношению к текущему кодируемому и опорному блокам.
6. The method according to claim 5, characterized in that the procedure for calculating the first and second estimates for each position of the pixel in the reference block includes the following steps:
- calculate the weight coefficients W k (i, j), k = 0, ..., N-1 for the first estimate estD i, j and for the second estimate estR i, j ; for each position (i, j) of the pixel in the reference block, the weight coefficient, W k (i, j) is equal to the non-increasing function of the absolute difference:
| R i , j - T k R |
Figure 00000010
,
which provides an inversely proportional increase / decrease W k (i, j) depending on the decrease / increase in the absolute difference. Here R i, j is the pixel value of the reference block; T k R
Figure 00000011
(k = 0, ..., N-1) is the value of a pixel adjacent to the reference block; N is the number of pixels adjacent to the current encoded and reference blocks.
7. Способ по п.5, отличающийся тем, что процедура вычисления первой и второй оценок для каждого положения пикселя в опорном блоке включает в себя следующие этапы:
- вычисляют весовые коэффициенты Wk(i,j), k=0, …, N-1 для первой оценки estDi,j и второй оценки estRi,j; для каждого положения (i,j) пикселя в опорном блоке весовой коэффициент Wk(i,j) равен невозрастающей функции абсолютной разности:
| R i , j T k R |
Figure 00000010
,
что обеспечивает обратно пропорциональное увеличение/уменьшение Wk(i,j) в зависимости от уменьшения/увеличения абсолютной разности; в случае, когда | T k R R i , j | T h r
Figure 00000012
, где Thr - предопределенный порог; в противном случае Wk(i,j)=0. Здесь Ri,j - это значение пикселя опорного блока, T k R
Figure 00000013
(k=0, …, N-1) - это значение пикселя, соседнего по отношению к опорному блоку.
7. The method according to claim 5, characterized in that the procedure for calculating the first and second estimates for each pixel position in the reference block includes the following steps:
- calculate the weight coefficients W k (i, j), k = 0, ..., N-1 for the first estimate estD i, j and the second estimate estR i, j ; for each position (i, j) of the pixel in the reference block, the weight coefficient W k (i, j) is equal to a non-increasing function of the absolute difference:
| R i , j - T k R |
Figure 00000010
,
which provides an inversely proportional increase / decrease W k (i, j) depending on the decrease / increase in the absolute difference; in case when | T k R - R i , j | T h r
Figure 00000012
where Thr is a predetermined threshold; otherwise, W k (i, j) = 0. Here R i, j is the pixel value of the reference block, T k R
Figure 00000013
(k = 0, ..., N-1) is the value of a pixel adjacent to the reference block.
8. Способ по п.5, отличающийся тем, что процедура вычисления первой и второй оценок для каждого положения пикселя в опорном блоке включает в себя следующие этапы:
- вычисляют весовые коэффициенты Wk(i,j), k=0, …, N-1 для первой оценки estDi,j и второй оценки estRi,j; для каждого положения (i,j) пикселя в опорном блоке весовой коэффициент Wk(i,j) равен невозрастающей функции абсолютной разности:
| R i , j T k R |
Figure 00000010
,
что обеспечивает обратно пропорциональное увеличение/уменьшение Wk(i,j) в зависимости от уменьшения/увеличения абсолютной разности; в случае | T k R T k D | T h r 1
Figure 00000014
, где T k D
Figure 00000015
(k=0, …, N-1) - значение пикселя, соседнего по отношению к текущему кодируемому блоку, Thr1 является первым предопределенным порогом; | T k R R i , j | T h r 2
Figure 00000016
, где Thr2 - второй предопределенный порог; в противном случае Wk(i,j)=0; здесь Ri,j - значение пикселя опорного блока, T k R
Figure 00000017
(k=0, …, N-1) - значение пикселя, соседнего по отношению к опорному блоку.
8. The method according to claim 5, characterized in that the procedure for calculating the first and second estimates for each pixel position in the reference block includes the following steps:
- calculate the weight coefficients W k (i, j), k = 0, ..., N-1 for the first estimate estD i, j and the second estimate estR i, j ; for each position (i, j) of the pixel in the reference block, the weight coefficient W k (i, j) is equal to a non-increasing function of the absolute difference:
| R i , j - T k R |
Figure 00000010
,
which provides an inversely proportional increase / decrease W k (i, j) depending on the decrease / increase in the absolute difference; when | T k R - T k D | T h r one
Figure 00000014
where T k D
Figure 00000015
(k = 0, ..., N-1) - the value of a pixel adjacent to the current block being encoded, Thr1 is the first predetermined threshold; | T k R - R i , j | T h r 2
Figure 00000016
where Thr2 is the second predetermined threshold; otherwise W k (i, j) = 0; here R i, j is the pixel value of the reference block, T k R
Figure 00000017
(k = 0, ..., N-1) is the value of a pixel adjacent to the reference block.
9. Способ по п.5, отличающийся тем, что процедура вычисления первой и второй оценок для каждого положения пикселя в опорном блоке включает в себя следующие этапы:
- вычисляют весовые коэффициенты Wk(i,j), k=0, …, N-1 для первой оценки estDi,j и второй оценки estRi,j; для каждого положения (i,j) пикселя в опорном блоке весовой коэффициент Wk(i,j) равен Wk(i,j)=exp(-C·Ak(i,j)), где C - это предопределенная константа больше 0, и Ak(i,j) равняется A k ( i , j ) = | R i , j T k R |
Figure 00000018
, где Ri,j - значение пикселя опорного блока, T k R
Figure 00000019
(k=0, …, N-1) - значение пикселя, соседнего по отношению к опорному блоку; в случае | T k R R i , j | T h r
Figure 00000020
, где Thr - предопределенный порог; иначе Wk(i,j)=0.
9. The method according to claim 5, characterized in that the procedure for calculating the first and second estimates for each position of the pixel in the reference block includes the following steps:
- calculate the weight coefficients W k (i, j), k = 0, ..., N-1 for the first estimate estD i, j and the second estimate estR i, j ; for each position (i, j) of the pixel in the reference block, the weight coefficient W k (i, j) is equal to W k (i, j) = exp (-C · A k (i, j)), where C is a predetermined constant greater than 0, and A k (i, j) equals A k ( i , j ) = | R i , j - T k R |
Figure 00000018
where R i, j is the pixel value of the reference block, T k R
Figure 00000019
(k = 0, ..., N-1) is the value of a pixel adjacent to the reference block; when | T k R - R i , j | T h r
Figure 00000020
where Thr is a predetermined threshold; otherwise, W k (i, j) = 0.
10. Способ по п.5, отличающийся тем, что процедура вычисления первой и второй оценок для каждого положения пикселя в опорном блоке включает в себя следующие этапы:
- вычисляют весовые коэффициенты Wk(i,j), k=0, …, N-1 для первой оценки estDi,j и второй оценки estRi,j; для каждого положения (i,j) пикселя в опорном блоке весовой коэффициент Wk(i,j) равен Wk(i,j)=exp(-C·Ak(i,j)), где C - это предопределенная константа больше 0, и Ak(i,j) равняется A k ( i , j ) = | R i , j T k R |
Figure 00000018
, где Ri,j - это значение пикселя опорного блока, T k R
Figure 00000019
(k=0, …, N-1) - это значение пикселя, соседнего по отношению к опорному блоку, в случае | T k R T k D | T h r 1
Figure 00000021
, где T k D
Figure 00000022
, (k=0, …, N-1) является значением пикселя, соседнего по отношению к текущему кодируемому блоку, Thr1 - первый предопределенный порог; и | T k R R i , j | T h r 2
Figure 00000023
, где Thr2 - второй предопределенный порог; иначе Wk(i,j)=0.
10. The method according to claim 5, characterized in that the procedure for calculating the first and second estimates for each position of the pixel in the reference block includes the following steps:
- calculate the weight coefficients W k (i, j), k = 0, ..., N-1 for the first estimate estD i, j and the second estimate estR i, j ; for each position (i, j) of the pixel in the reference block, the weight coefficient W k (i, j) is equal to W k (i, j) = exp (-C · A k (i, j)), where C is a predetermined constant greater than 0, and A k (i, j) equals A k ( i , j ) = | R i , j - T k R |
Figure 00000018
where R i, j is the pixel value of the reference block, T k R
Figure 00000019
(k = 0, ..., N-1) is the value of a pixel adjacent to the reference block, in the case | T k R - T k D | T h r one
Figure 00000021
where T k D
Figure 00000022
, (k = 0, ..., N-1) is the value of a pixel adjacent to the current block being encoded, Thr1 is the first predetermined threshold; and | T k R - R i , j | T h r 2
Figure 00000023
where Thr2 is the second predetermined threshold; otherwise, W k (i, j) = 0.
11. Способ по п.1, отличающийся тем, что позиции восстановленных значений пикселей, соседних по отношению к текущему кодируемому блоку, и позиции значений пикселей, соседних по отношению к опорному блоку определяют адаптивно вместо соответствующих пикселей с наперед заданными позициями.11. The method according to claim 1, characterized in that the positions of the restored pixel values adjacent to the current block being encoded, and the positions of the pixel values adjacent to the reference block are determined adaptively instead of the corresponding pixels with the predetermined positions. 12. Способ кодирования многоракурсных видеопоследовательностей, основанный на локальной коррекции яркости и контрастности опорного блока, включающий в себя выполнение следующих этапов:
- определяют опорный блок, который используется для формирования блока-предсказания для текущего кодируемого блока;
- определяют параметры коррекции изменения яркости и контрастности для коррекции различия в яркости и контрастности между опорным блоком и текущим кодируемым блоком в процессе поиска или по завершении поиска опорного блока;
- выполняют коррекцию изменения яркости и контрастности найденного опорного блока за счет использования найденных параметров коррекции изменения яркости и контрастности;
- формируют блок-предсказание для текущего кодируемого блока за счет использования скорректированного по яркости и контрастности опорного блока;
- кодируют текущий блок с помощью сформированного блока-предсказания без кодирования найденных параметров коррекции изменения яркости и контрастности; кодирование информации об опорном блоке, если это необходимо для декодирования;
отличающийся тем, что процедура определения параметров коррекции яркости и контрастности включает в себя следующие этапы:
- получают восстановленные, то есть закодированные и затем декодированные, значения пикселей, соседних по отношению к текущему блоку кодируемого кадра, и значения пикселей, соседних по отношению к опорному блоку опорного кадра;
- определяют числовые соотношения между значениями пикселей опорного блока и значениями пикселей, соседних по отношению к опорному блоку, и соотношения между восстановленными значениями пикселей, соседних по отношению к текущему кодируемому блоку, и значениями пикселей, соседних по отношению к опорному блоку;
- на основе найденных на предыдущем шаге числовых соотношений, значений пикселей опорного блока, восстановленных значений пикселей, соседних по отношению к текущему кодируемому блоку, и значений пикселей, соседних по отношению к опорному блоку, определяют параметры коррекции изменения яркости и контрастности для коррекции различия в яркости и контрастности для опорного блока.
12. A method of encoding multi-angle video sequences based on local correction of the brightness and contrast of the reference block, which includes the following steps:
- determine the reference block, which is used to form the prediction block for the current encoded block;
- determine the correction parameters for changes in brightness and contrast to correct differences in brightness and contrast between the reference block and the current encoded block in the search process or at the end of the search for the reference block;
- perform correction of changes in brightness and contrast of the found reference block by using the found correction parameters for changes in brightness and contrast;
- form a prediction block for the current encoded block by using the corrected brightness and contrast reference block;
- encode the current block using the generated prediction block without encoding the found correction parameters for changing the brightness and contrast; encoding information about the reference block, if necessary for decoding;
characterized in that the procedure for determining the brightness and contrast correction parameters includes the following steps:
- get restored, that is, encoded and then decoded, the values of pixels adjacent to the current block of the encoded frame, and the values of pixels adjacent to the reference block of the reference frame;
- determine the numerical relationship between the pixel values of the reference block and the pixel values adjacent to the reference block, and the ratio between the restored pixel values adjacent to the current encoded block and the pixel values adjacent to the reference block;
- on the basis of the numerical relationships found in the previous step, the pixel values of the reference block, the restored pixel values adjacent to the current encoded block, and the pixel values adjacent to the reference block, the correction parameters for changing the brightness and contrast to correct the difference in brightness are determined and contrast for the reference block.
13. Способ декодирования многоракурсных видеопоследовательностей, основанный на коррекции яркости и контрастности, включающий в себя следующие этапы:
- декодируют информацию об опорном блоке, если это необходимо для того, чтобы определить опорный блок текущего блока, и определяют опорный блок;
- определяют параметры коррекции изменения яркости и контрастности для коррекции яркости и контрастности для найденного опорного блока;
- выполняют коррекцию различия в яркости и контрастности для найденного опорного блока, используя найденные параметры коррекции изменения яркости и контрастности;
- формируют блок-предсказание для текущего декодируемого блока, используя опорный блок, скорректированный по яркости и контрастности;
- декодируют текущий блок, используя сформированный блок-предсказание и найденные параметры коррекции изменения яркости и контрастности;
отличающийся тем, что процедура определения параметров коррекции яркости и контрастности включает в себя следующие этапы:
- получают восстановленные, то есть закодированные и затем декодированные, значения пикселей, соседних по отношению к текущему блоку кодируемого кадра, и значения пикселей, соседних по отношению к опорному блоку опорного кадра;
- определяют числовые соотношения между значениями пикселей опорного блока и значениями пикселей, соседних по отношению к опорному блоку, и соотношения между восстановленными значениями пикселей, соседних по отношению к текущему кодируемому блоку, и значениями пикселей, соседних по отношению к опорному блоку;
- на основе найденных на предыдущем шаге числовых соотношений, значений пикселей опорного блока, восстановленных значений пикселей, соседних по отношению к текущему кодируемому блоку, и значений пикселей, соседних по отношению к опорному блоку, определяют параметры коррекции изменения яркости и контрастности для коррекции различия в яркости и контрастности для опорного блока.
13. A method for decoding multi-angle video sequences based on the correction of brightness and contrast, which includes the following steps:
- decode information about the reference block, if necessary in order to determine the reference block of the current block, and determine the reference block;
- determine the correction parameters for changes in brightness and contrast for correcting brightness and contrast for the found reference block;
- perform the correction of differences in brightness and contrast for the found reference block using the found correction parameters for changes in brightness and contrast;
- form a prediction block for the current decoded block using the reference block, adjusted for brightness and contrast;
- decode the current block using the generated block prediction and the found correction parameters for changes in brightness and contrast;
characterized in that the procedure for determining the brightness and contrast correction parameters includes the following steps:
- get restored, that is, encoded and then decoded, the values of pixels adjacent to the current block of the encoded frame, and the values of pixels adjacent to the reference block of the reference frame;
- determine the numerical relationship between the pixel values of the reference block and the pixel values adjacent to the reference block, and the ratio between the restored pixel values adjacent to the current encoded block and the pixel values adjacent to the reference block;
- on the basis of the numerical relationships found in the previous step, the pixel values of the reference block, the restored pixel values adjacent to the current encoded block, and the pixel values adjacent to the reference block, the correction parameters for changing the brightness and contrast to correct the difference in brightness are determined and contrast for the reference block.
RU2012109843/08A 2012-03-15 2012-03-15 Method of encoding/decoding multi-view video sequence based on local adjustment of brightness and contract of reference frames without transmitting additional service data RU2493668C1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
RU2012109843/08A RU2493668C1 (en) 2012-03-15 2012-03-15 Method of encoding/decoding multi-view video sequence based on local adjustment of brightness and contract of reference frames without transmitting additional service data
KR1020130025130A KR20130105402A (en) 2012-03-15 2013-03-08 Method of multi-view video coding and decoding based on local illumination and contrast compensation of reference frames without extra bitrate overhead
US13/795,301 US20130243085A1 (en) 2012-03-15 2013-03-12 Method of multi-view video coding and decoding based on local illumination and contrast compensation of reference frames without extra bitrate overhead

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2012109843/08A RU2493668C1 (en) 2012-03-15 2012-03-15 Method of encoding/decoding multi-view video sequence based on local adjustment of brightness and contract of reference frames without transmitting additional service data

Publications (2)

Publication Number Publication Date
RU2493668C1 true RU2493668C1 (en) 2013-09-20
RU2012109843A RU2012109843A (en) 2013-09-20

Family

ID=49183045

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2012109843/08A RU2493668C1 (en) 2012-03-15 2012-03-15 Method of encoding/decoding multi-view video sequence based on local adjustment of brightness and contract of reference frames without transmitting additional service data

Country Status (2)

Country Link
KR (1) KR20130105402A (en)
RU (1) RU2493668C1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200049780A (en) * 2017-09-28 2020-05-08 삼성전자주식회사 Video decoding method and apparatus by conditional applied local luminance compensation, Video encoding method and apparatus by conditional applied local luminance compensation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080304760A1 (en) * 2007-06-11 2008-12-11 Samsung Electronics Co., Ltd. Method and apparatus for illumination compensation and method and apparatus for encoding and decoding image based on illumination compensation
WO2009002108A2 (en) * 2007-06-26 2008-12-31 Samsung Electronics Co., Ltd. Method and apparatus for illumination compensation in multi-view video coding
RU2377623C2 (en) * 2007-04-20 2009-12-27 Василий Александрович ЕЖОВ Method of viewing stereo images with complete resolution for each aspect and device to this end
US20100183068A1 (en) * 2007-01-04 2010-07-22 Thomson Licensing Methods and apparatus for reducing coding artifacts for illumination compensation and/or color compensation in multi-view coded video
RU2413386C1 (en) * 2009-06-04 2011-02-27 Закрытое акционерное общество "МНИТИ"(Московский научно- исследовательский телевизионный институт) System of multiangle television
US20110286678A1 (en) * 2009-02-12 2011-11-24 Shinya Shimizu Multi-view image coding method, multi-view image decoding method, multi-view image coding device, multi-view image decoding device, multi-view image coding program, and multi-view image decoding program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100183068A1 (en) * 2007-01-04 2010-07-22 Thomson Licensing Methods and apparatus for reducing coding artifacts for illumination compensation and/or color compensation in multi-view coded video
RU2377623C2 (en) * 2007-04-20 2009-12-27 Василий Александрович ЕЖОВ Method of viewing stereo images with complete resolution for each aspect and device to this end
US20080304760A1 (en) * 2007-06-11 2008-12-11 Samsung Electronics Co., Ltd. Method and apparatus for illumination compensation and method and apparatus for encoding and decoding image based on illumination compensation
WO2009002108A2 (en) * 2007-06-26 2008-12-31 Samsung Electronics Co., Ltd. Method and apparatus for illumination compensation in multi-view video coding
US20110286678A1 (en) * 2009-02-12 2011-11-24 Shinya Shimizu Multi-view image coding method, multi-view image decoding method, multi-view image coding device, multi-view image decoding device, multi-view image coding program, and multi-view image decoding program
RU2413386C1 (en) * 2009-06-04 2011-02-27 Закрытое акционерное общество "МНИТИ"(Московский научно- исследовательский телевизионный институт) System of multiangle television

Also Published As

Publication number Publication date
KR20130105402A (en) 2013-09-25
RU2012109843A (en) 2013-09-20

Similar Documents

Publication Publication Date Title
RU2510944C2 (en) Method of encoding/decoding multi-view video sequence based on adaptive local adjustment of brightness of key frames without transmitting additional parameters (versions)
US11546627B2 (en) Moving picture decoding method and moving picture encoding method
TWI432034B (en) Multi-view video coding method, multi-view video decoding method, multi-view video coding apparatus, multi-view video decoding apparatus, multi-view video coding program, and multi-view video decoding program
US8385628B2 (en) Image encoding and decoding method, apparatuses therefor, programs therefor, and storage media for storing the programs
JP6698077B2 (en) Perceptual optimization for model-based video coding
US10582195B2 (en) Intra prediction using unequal weight planar prediction
US8290289B2 (en) Image encoding and decoding for multi-viewpoint images
US20130243085A1 (en) Method of multi-view video coding and decoding based on local illumination and contrast compensation of reference frames without extra bitrate overhead
US20080240240A1 (en) Moving picture coding apparatus and method
US20090028248A1 (en) Video Encoding Method and Decoding Method, Apparatuses Therefor, Programs Therefor, and Storage Media for Storing the Programs
JP5553979B2 (en) Selection of coding tools for video coding based on human visual tolerance
US20060133481A1 (en) Image coding control method and device
US8964843B2 (en) Image processing method, image processing apparatus and computer readable storage medium
US20150172715A1 (en) Picture encoding method, picture decoding method, picture encoding apparatus, picture decoding apparatus, picture encoding program, picture decoding program, and recording media
RU2533852C2 (en) Method of encoding/decoding multiview video sequence based on adaptive compensation of local illumination mismatches with interframe prediction (versions)
CN104641636A (en) Method and apparatus for compensating illumination variations in a sequence of images
CN104602028A (en) Entire frame loss error concealment method for B frame of stereoscopic video
JP4786612B2 (en) Predicted motion vector generation apparatus for moving picture encoding apparatus
US20070076964A1 (en) Method of and an apparatus for predicting DC coefficient in transform domain
RU2493668C1 (en) Method of encoding/decoding multi-view video sequence based on local adjustment of brightness and contract of reference frames without transmitting additional service data
JP2006005466A (en) Method and device of encoding image
JP4763241B2 (en) Motion prediction information detection device
KR20130037843A (en) Predicted pixel producing apparatus and method thereof
JP2001520838A (en) Digital image encoding method and encoding device
Choi et al. Error concealment method using three-dimensional motion estimation