いろいろメモしておく
RGBの読み込みで、Rはcolorsample_R.txt Gはcolorsample_G.txt Bはcolorsample_B.txtと三つに分けて保存
で、読み込み読み込みするときは
A(:,:,1)=load("colorsample_R.txt");
A(:,:,2)=load("colorsample_G.txt");
A(:,:,3)=load("colorsample_B.txt");
こうすれAにチャンネルごとにRGB値が入る
最終更新:2011年11月24日 10:41