資源簡介
任意彩色圖一副,任意灰度圖一副,能實現給灰度圖上色
代碼片段和文件信息
function?R=gray2rgb(img1img2)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This?Program?converts?a?gray?image?ro?RGB?image?based?on?the?colors?of?the?destination?image.?The better?the?destination?image?match?with?the?source?gray?image?the?better?the?coloring?will?be.?The?program?takes?some?time??as?the?searching?time?is?high.?You?can?decrease?the?searching?time?by?taking only?samples?from?the?used?color?image?but?quality?may?decrease.?U?can?use?jittered?sampling?for?improving?running?speed.?%?
%??You?can?use?also?use?the?attahed?test?images?Use?the?following?combinations?for?better?result nature1.jpg(as?img1)?and?nature2.jpg(as?img2)?or?test1.jpg(as?img1)?and?test2.jpg?(as?img2) %
% Usage:?gray2rgb(‘nature1.jpg‘‘nature2.jpg‘);??%
%??Authors?:?Jeny Rajan??Chandrashekar P.S?%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%?img1?-?Source?Image??(gray?i
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????2451??2015-04-21?10:43??gray2rgb\gray2rgb.m
- 上一篇:Qt Opengl 3階魔方自動還原
- 下一篇:連連看游戲 可行性分析報告
評論
共有 條評論