一、简介
基于matlab 图像RGB三色的合成、分离
二、源代码
function varargout = rgb1(varargin)
% RGB1 M-file for rgb1.fig
% RGB1, by itself, creates a new RGB1 or raises the existing
% singleton*.
%
% H = RGB1 returns the handle to a new RGB1 or the handle to
% the existing singleton*.
%
% RGB1('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in RGB1.M with the given input arguments.
%
% RGB1('Property','Value',...) creates a new RGB1 or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before rgb1_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to rgb1_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Copyright 2002-2003 The MathWorks, Inc.
% Edit the above text to modify the response to help rgb1
% Last Modified by GUIDE v2.5 17-Dec-2008 10:31:18
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @rgb1_OpeningFcn, ...
'gui_OutputFcn', @rgb1_OutputFcn, ...
'gui_LayoutFcn', []