사진을 그림으로
-
사진을 그림처럼 만드는 프로그램을 짜보았습니다.Programming/Technical 2009. 12. 14. 15:16
1. 사진을 구한다. 2. 프로그램을 짠다. 2-1. bmp양식으로 읽은 다음 gray공식을 대입힌다. 2-2. gray공식으로 나온 그림을 반전시킨다. 2-3. Gaussian Blur공식을 이용해 뭉갠다. 2-4. 뭉개진그림과 저장했던 gray된 그림을 Dodge 시킨다. 2-5. Dodge 시킨 그림을 제곱을 시켜 진하게 만든다 3. 프로그램을 돌린다. 4. 더 이상의 자세한 설명은 생략한다. ( 생략 할 것도 없다 그게 전부다 ) 5. 결론 "김태희씨는 그래도 아름다웠다." 포토샵으로 작업을 하면 쉽게 할수 있는 작업이지만 "콘솔 프로그램"으로 만든 작업이라 더 뿌듯한듯 합니다.