Pictures have a wide range of information, and the most important characteristic of pictures is colors, where colors have great importance by which gray images can be colored in order to obtain greater qualities for distinguishing pictures. The presence of old historical images in their gray colors was the motive for doing this research for the purpose of coloring them. Three algorithms were used to color digital images, which are the methods of brightness, medium, and lightness. A color digital image was approved to be used as a color palette to color the grayscale image. This was done by taking the color from the color image after replacing it with a grayscale, and matching the pixel locations with the locations of the grayscale image. The approximate color is placed in the grayscale image if it matches, otherwise control points ( C1, C2) for the purpose of utilization. It was concluded that the luminosity method is better than the average and luminance methods based on the MSE and PSNR measures, and the Visual Basic language was used to complete this research.
PL
Obrazy zawierają szeroki zakres informacji, a najważniejszą cechą obrazów są kolory, przy czym kolory mają ogromne znaczenie, dzięki czemu można pokolorować szare obrazy w celu uzyskania lepszych cech odróżniających obrazy. Motywem podjęcia badań w celu ich pokolorowania była obecność starych obrazów historycznych w ich szarej kolorystyce. Do kolorowania obrazów cyfrowych zastosowano trzy algorytmy, którymi są metoda jasności, średniej i jasności. Zatwierdzono kolorowy obraz cyfrowy do użycia jako paleta kolorów do pokolorowania obrazu w skali szarości. Dokonano tego poprzez pobranie koloru z obrazu kolorowego po zastąpieniu go skalą szarości i dopasowanie lokalizacji pikseli do lokalizacji obrazu w skali szarości. Przybliżony kolor jest umieszczany na obrazie w skali szarości, jeśli pasuje, w przeciwnym razie punkty kontrolne ( C1, C2) w celu wykorzystania. Stwierdzono, że metoda luminancji jest lepsza od metody średniej i luminancji opartej na miarach MSE i PSNR, a do realizacji badań wykorzystano język Visual Basic.
JavaScript jest wyłączony w Twojej przeglądarce internetowej. Włącz go, a następnie odśwież stronę, aby móc w pełni z niej korzystać.