//==============================================================================
// Allan CORNET - 2012 - DIGITEO
//
// IPCV - Scilab Image Processing and Computer Vision toolbox
// Copyright (C) 2017  Tan Chin Luh
//==============================================================================
// unit test im2double
//==============================================================================

S = rand(10,10);
S2 = uint8(S.*100);
S3 = im2double(S2);
assert_checkequal(type(S3),1);
assert_checkequal(double(S2)./255,S3);

//==============================================================================
