This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\version "2.16.1" | |
\header { | |
title = "Bir Dünya Bırakın" | |
tagline = "" | |
composer = "Müzik: Salih Aydoğan" | |
poet = "Söz: Adnan Çamakçıoğu" | |
arranger = "Düzenleme: N. Gül" | |
meter = "Nota: İ. Arı" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <opencv2/core/core.hpp> | |
#include <opencv2/imgproc/imgproc.hpp> | |
#include <opencv2/highgui/highgui.hpp> | |
void erguvan(cv::Mat& resim) { | |
// Renk uzayını HSV'ye dönüştürelim. | |
cv::cvtColor(resim, resim, CV_BGR2HSV); | |
// Renkli resmi kanallara ayıralım: Hue (renk tonu), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rgbResim = imread('erguvan.jpg'); | |
hsvResim = rgb2hsv(rgbResim); % Resmi HSV uzayına çevir | |
hKanali = 360.*hsvResim(:,:,1); % Hue (renk) kanalını 0-360 arasında al | |
% Renk histogramının çizimi | |
figure | |
kutuSinirlari = 0:360; % Histogram kutularının sınırları | |
N = histc(hKanali(:),kutuSinirlari); % Renk histagramını çıkar | |
hBar = bar(kutuSinirlari(1:end-1),N(1:end-1),'histc'); % Histogramı çiz | |
set(hBar,'CData',1:360,... % Çubukların renklerini 360 tane | |
'CDataMapping','direct',... % renk ile güncelle ve kenar |
NewerOlder