i am having a rgb image i have converted to string as
rgb_image = imread('lena1.jpg'); % Display the original image
figure(1) imshow(rgb_image) title('Original Image'); %convert to string
out=num2str(rgb_image)
now i need to calculate the probability of each pixel value that is now converted to string can anyone help please
Best Answer