No products are associated with this question.
Direct link to this answer:
It appears to be finding the ratio of the mean values of two 15 element square subarrays, each from a different array.
Direct link to this comment:
actually I was interested in color calibration for the imaging system by using different intensity images. by using this command i got the value between 0 to 1 for different group of images. is it the pixel value for gray scale image transformed from digital image or something else?
the whole command for the first set of image was as follow
I1 = imread('E:\allergen-data\20120823\folder 3\3.BMP');
I2 = imread('E:\allergen-data\20120823\folder 2\14.BMP');
I1 = rgb2gray(I1);
I2 = rgb2gray(I2);
xy_index = [310 820];
it displays ans in the value between 0 to 1. could you help what is it actually?
It is not a gray scale value. It is "something else".
It does not produce a value between 0 and 1: it can produce infinity in some cases.
The expression is of the form 1 / (A / B) . That could be rewritten as B/A, which makes it clearer that what it produces is a ratio of the grayscale intensities of the mean color of the respective two blocks.
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
New to MATLAB?
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries