I am using readJPEG
function to read a jpeg
image which results in an R matrix with values between 0 and 1.
Is there a way to convert these to integer values between 0 and 255?
I am using readJPEG
function to read a jpeg
image which results in an R matrix with values between 0 and 1.
Is there a way to convert these to integer values between 0 and 255?