by henk21cm » Wed Jul 23, 2008 9:18 pm
iamlucky13 wrote:On that side [Phoenix] note, they're still having trouble with the oven doors on the TEGA instrument.
Yes, read about that on the
JPL site. These scraping tests gave me the impression that the acquisition of a decent sample was a lot harder than anticipated, which is strange, since NASA will not likely send a lander to Mars without a decent test with frozen soil, if such is anticipated or at least the joyful expectation of the scientists involved.
iamlucky13 wrote:What program do you use for all those color composite manipulations you do?
That is called Matlab. It is a kind of programming language specially meant for visualization of data, images included. For clarity, the program i wrote is listed below in the code section. It is very straight forward.
Code: Select all
function chasm
orig_image = imread('..\images\chasm.jpg'); % Read the image
new_image = orig_image; % Copy the image
% RGB numbering
r = 1;
g = 2;
b = 3;
% Exchange red and blue
new_image(:,:, r) = orig_image(:,:,b);
new_image(:,:, b) = orig_image(:,:,r);
figure(1);
image(new_image); % Visualize it
% Original image
figure(2);
image(orig_image);
% Rotate RGB
new_image(:,:,r) = orig_image(:,:,g);
new_image(:,:,g) = orig_image(:,:,b);
new_image(:,:,b) = orig_image(:,:,r);
figure(3);
image(new_image);
% Permutate BG
new_image(:,:,r) = orig_image(:,:,r);
new_image(:,:,g) = orig_image(:,:,b);
new_image(:,:,b) = orig_image(:,:,g);
figure(4);
image(new_image);
% Use the blue image
new_image(:,:,r) = orig_image(:,:,b)-30; % darker
new_image(:,:,g) = orig_image(:,:,r)-30; % darker
new_image(:,:,b) = orig_image(:,:,g)/3 + orig_image(:,:,r)/3; % blue1/3
figure(8);
image(new_image);
% Grayscale image
figure(7);
image(orig_image(:,:,3));
colormap(gray(256));
% RG as the Blue image, B less blue
new_image(:,:,r) = orig_image(:,:,b);
new_image(:,:,g) = orig_image(:,:,b);
new_image(:,:,b) = orig_image(:,:,b)-20;
figure(9);
image(new_image);
return;
From what Art Neuendorfer has reported, maybe todays APOD image we are looking at is a real (false) colour image, whereas the former images of Mars are 'heated' grayscale images, with a flavour of brownish orange, which makes us think it is a colour image. That could explain why my images 8 and 9 looked more 'natural' than the other ones.
[quote="iamlucky13"]On that side [Phoenix] note, they're still having trouble with the oven doors on the TEGA instrument.[/quote]
Yes, read about that on the [url=http://www.jpl.nasa.gov/]JPL site[/url]. These scraping tests gave me the impression that the acquisition of a decent sample was a lot harder than anticipated, which is strange, since NASA will not likely send a lander to Mars without a decent test with frozen soil, if such is anticipated or at least the joyful expectation of the scientists involved.
[quote="iamlucky13"]What program do you use for all those color composite manipulations you do?[/quote]
That is called Matlab. It is a kind of programming language specially meant for visualization of data, images included. For clarity, the program i wrote is listed below in the code section. It is very straight forward.
[code]function chasm
orig_image = imread('..\images\chasm.jpg'); % Read the image
new_image = orig_image; % Copy the image
% RGB numbering
r = 1;
g = 2;
b = 3;
% Exchange red and blue
new_image(:,:, r) = orig_image(:,:,b);
new_image(:,:, b) = orig_image(:,:,r);
figure(1);
image(new_image); % Visualize it
% Original image
figure(2);
image(orig_image);
% Rotate RGB
new_image(:,:,r) = orig_image(:,:,g);
new_image(:,:,g) = orig_image(:,:,b);
new_image(:,:,b) = orig_image(:,:,r);
figure(3);
image(new_image);
% Permutate BG
new_image(:,:,r) = orig_image(:,:,r);
new_image(:,:,g) = orig_image(:,:,b);
new_image(:,:,b) = orig_image(:,:,g);
figure(4);
image(new_image);
% Use the blue image
new_image(:,:,r) = orig_image(:,:,b)-30; % darker
new_image(:,:,g) = orig_image(:,:,r)-30; % darker
new_image(:,:,b) = orig_image(:,:,g)/3 + orig_image(:,:,r)/3; % blue1/3
figure(8);
image(new_image);
% Grayscale image
figure(7);
image(orig_image(:,:,3));
colormap(gray(256));
% RG as the Blue image, B less blue
new_image(:,:,r) = orig_image(:,:,b);
new_image(:,:,g) = orig_image(:,:,b);
new_image(:,:,b) = orig_image(:,:,b)-20;
figure(9);
image(new_image);
return;[/code]
From what Art Neuendorfer has reported, maybe todays APOD image we are looking at is a real (false) colour image, whereas the former images of Mars are 'heated' grayscale images, with a flavour of brownish orange, which makes us think it is a colour image. That could explain why my images 8 and 9 looked more 'natural' than the other ones.