G
Guest
Hello,
I need to generate random Matrices (say of size 5*5), each with an
average of X (say X=0.5), but with different values’ range. One
matrix should have values in the range of 0-1, while the second one’s
values should have a low variance and lie in the range of (X-1) –
(X+1). The matrices represent a visual scene and the values represent the
Gray-level intensities.
I'm using Matlab 6.5 but currently looking for any algorithm that can solve
this problem in any lang.
I was also wondering how I can control the difference between each
value and its neighbours within the matrix. I would like the
difference to be not bigger than a specific constant value.
This is really urgent so any help will be appreciated...
Thanks in advance,
L.
I need to generate random Matrices (say of size 5*5), each with an
average of X (say X=0.5), but with different values’ range. One
matrix should have values in the range of 0-1, while the second one’s
values should have a low variance and lie in the range of (X-1) –
(X+1). The matrices represent a visual scene and the values represent the
Gray-level intensities.
I'm using Matlab 6.5 but currently looking for any algorithm that can solve
this problem in any lang.
I was also wondering how I can control the difference between each
value and its neighbours within the matrix. I would like the
difference to be not bigger than a specific constant value.
This is really urgent so any help will be appreciated...
Thanks in advance,
L.