Aug-10-2017, 07:19 AM
Hello fellow programmers,
I have a problem and would appreciate any help.
My problem:
I have an array of values from 0 und to max(array). array=(200,200) --> 40k values.
I want to make an countourplot of specific grayscalevalues.
R G B
118, 118, 118
119, 119, 119
.
.
.
148, 148, 148
So 31 specific grayscalevalues.
So i want the first grayscalevalue to be assigned to the values from 0 to max(array)/31
--> the second grayscalevalue from max(array)/31 to max(array)/31*2
and so on.
Can anyone help me please?
I have a problem and would appreciate any help.
My problem:
I have an array of values from 0 und to max(array). array=(200,200) --> 40k values.
I want to make an countourplot of specific grayscalevalues.
R G B
118, 118, 118
119, 119, 119
.
.
.
148, 148, 148
So 31 specific grayscalevalues.
So i want the first grayscalevalue to be assigned to the values from 0 to max(array)/31
--> the second grayscalevalue from max(array)/31 to max(array)/31*2
and so on.
Can anyone help me please?