function result_status = drone_index(rak)

pkg load image


ndviImg = imread("ndvi.tif");
ndviImg = single(ndviImg);
size(ndviImg)

ndreImg = imread("ndre.tif");
ndreImg = single(ndreImg);
size(ndreImg)

variImg = imread("vari.tif");
variImg = single(variImg);
size(variImg)


sizeNDVI = size(ndviImg)
index_new = ndviImg;
imgCMP = gen_map1_img(index_new);
imwrite(imgCMP,"ndvi_new.tif");


index_new = ndreImg;
imgCMP = gen_map1_img(index_new);
imwrite(imgCMP,"ndre_new.tif");


index_new = variImg;
imgCMP = gen_map1_img(index_new);
imwrite(imgCMP,"vari_new.tif");

result_status = "successful";
end