Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
R=[255,0,0;255,255,0];
|
||||
G=[0,255,0;255,255,0];
|
||||
B=[0,0,255;0,0,0];
|
||||
|
||||
|
||||
r = R'; r(:);
|
||||
g = R'; g(:);
|
||||
b = R'; b(:);
|
||||
fid=fopen('p6.ppm','w');
|
||||
fprintf(fid,'P6\n%i %i\n255\n',size(R));
|
||||
fwrite(fid,[r,g,b]','uint8');
|
||||
fclose(fid);
|
||||
Loading…
Add table
Add a link
Reference in a new issue