I'm new at Matlab. You may find this question silly but I really wonder if the statement below is a pass-by-value operation or pass-by-reference operation.
I = imread('logo.png');
binaryImage = im2bw(I, 0.4);
Itemp = binaryImage;
Does the Itemp
is a new matrix whose values are copied from binaryImage
, or it is just a pointer to the binaryImage
?