On 11/22/2010 01:26 PM, Ofnuts wrote:


Well, I wondered too: the radius slider goes from 0 to 120 in .1 steps
so that would be only 1200 values to pre-calculate.
They only do it for numbers less than 10 and the length varies with the radius (from a low of 5 to a high of 45) as well. The total number of entries would be 2520 * 8 bytes for a gdouble so it would only need 20,160 bytes of storage, ideally but since C doesn't have variable length arrays you'd have to declare the array as something like:

static gdouble global_cmatrix[100][45];

which would make the length 4500*8=36000 bytes but of course you'd have to store the length of each as well. If you wanted to you could store them as unsigned chars, so it would be another 100 bytes, or a total of 36100 bytes. In a trial it really added 36831 bytes. How would that affect the usability of the plugin? I've attached an include file that has the matrices you would need. Then you could use:

static gint
gen_convolve_matrix (gdouble   radius,
                     gdouble **cmatrix_p)
{
    *cmatrix_p=global_cmatrix[(int)((radius*10)-.5)];
    return cmatrix_lens[(int)((radius*10)-.5)];
}

I don't know if it would be a good idea or not.

Is it true though that the user interface only _allows_ values in tenths or is it that it only displays values in tenths but returns values in between?

Patrick
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer



static gdouble global_cmatrix[100][45]={
	{
		0.066057,0.249386,0.369113,0.249386,0.066057},
	{
		0.086233,0.243728,0.340077,0.243728,0.086233},
	{
		0.004653,0.101075,0.236695,0.315153,0.236695,
		0.101075,0.004653},
	{
		0.014879,0.109394,0.228952,0.293550,0.228952,
		0.109394,0.014879},
	{
		0.026040,0.115701,0.220929,0.274660,0.220929,
		0.115701,0.026040},
	{
		0.037819,0.120277,0.212898,0.258013,0.212898,
		0.120277,0.037819},
	{
		0.049946,0.123406,0.205029,0.243238,0.205029,
		0.123406,0.049946},
	{
		0.002671,0.058980,0.125509,0.197673,0.230332,
		0.197673,0.125509,0.058980,0.002671},
	{
		0.010389,0.064038,0.126343,0.190138,0.218185,
		0.190138,0.126343,0.064038,0.010389},
	{
		0.018030,0.068458,0.126576,0.183198,0.207479,
		0.183198,0.126576,0.068458,0.018030},
	{
		0.025583,0.072276,0.126348,0.176804,0.197977,
		0.176804,0.126348,0.072276,0.025583},
	{
		0.034475,0.075309,0.125382,0.170380,0.188909,
		0.170380,0.125382,0.075309,0.034475},
	{
		0.002555,0.040510,0.077849,0.124195,0.164488,
		0.180807,0.164488,0.124195,0.077849,0.040510,
		0.002555},
	{
		0.007970,0.043809,0.079879,0.122735,0.158923,
		0.173366,0.158923,0.122735,0.079879,0.043809,
		0.007970},
	{
		0.013744,0.046801,0.081459,0.121073,0.153668,
		0.166510,0.153668,0.121073,0.081459,0.046801,
		0.013744},
	{
		0.019815,0.049485,0.082646,0.119263,0.148705,
		0.160171,0.148705,0.119263,0.082646,0.049485,
		0.019815},
	{
		0.026127,0.051869,0.083492,0.117348,0.144016,
		0.154295,0.144016,0.117348,0.083492,0.051869,
		0.026127},
	{
		0.002084,0.030543,0.053965,0.084043,0.115365,
		0.139584,0.148832,0.139584,0.115365,0.084043,
		0.053965,0.030543,0.002084},
	{
		0.006461,0.032806,0.055791,0.084341,0.113339,
		0.135390,0.143741,0.135390,0.113339,0.084341,
		0.055791,0.032806,0.006461},
	{
		0.011089,0.034915,0.057365,0.084424,0.111294,
		0.131421,0.138985,0.131421,0.111294,0.084424,
		0.057365,0.034915,0.011089},
	{
		0.015933,0.036866,0.058707,0.084323,0.109245,
		0.127659,0.134532,0.127659,0.109245,0.084323,
		0.058707,0.036866,0.015933},
	{
		0.020963,0.038658,0.059837,0.084068,0.107206,
		0.124091,0.130355,0.124091,0.107206,0.084068,
		0.059837,0.038658,0.020963},
	{
		0.001760,0.024387,0.040292,0.060774,0.083681,
		0.105188,0.120705,0.126428,0.120705,0.105188,
		0.083681,0.060774,0.040292,0.024387,0.001760},
	{
		0.005431,0.026025,0.041774,0.061536,0.083185,
		0.103197,0.117487,0.122730,0.117487,0.103197,
		0.083185,0.061536,0.041774,0.026025,0.005431},
	{
		0.009287,0.027577,0.043109,0.062141,0.082599,
		0.101241,0.114426,0.119241,0.114426,0.101241,
		0.082599,0.062141,0.043109,0.027577,0.009287},
	{
		0.013308,0.029039,0.044304,0.062605,0.081936,
		0.099323,0.111513,0.115945,0.111513,0.099323,
		0.081936,0.062605,0.044304,0.029039,0.013308},
	{
		0.017473,0.030409,0.045367,0.062943,0.081212,
		0.097446,0.108737,0.112825,0.108737,0.097446,
		0.081212,0.062943,0.045367,0.030409,0.017473},
	{
		0.001523,0.020240,0.031687,0.046306,0.063169,
		0.080438,0.095613,0.106089,0.109868,0.106089,
		0.095613,0.080438,0.063169,0.046306,0.031687,
		0.020240,0.001523},
	{
		0.004684,0.021476,0.032872,0.047130,0.063295,
		0.079624,0.093826,0.103562,0.107062,0.103562,
		0.093826,0.079624,0.063295,0.047130,0.032872,
		0.021476,0.004684},
	{
		0.007986,0.022661,0.033967,0.047846,0.063333,
		0.078778,0.092084,0.101148,0.104396,0.101148,
		0.092084,0.078778,0.063333,0.047846,0.033967,
		0.022661,0.007986},
	{
		0.011417,0.023790,0.034975,0.048462,0.063292,
		0.077908,0.090388,0.098839,0.101858,0.098839,
		0.090388,0.077908,0.063292,0.048462,0.034975,
		0.023790,0.011417},
	{
		0.014964,0.024862,0.035898,0.048987,0.063182,
		0.077020,0.088738,0.096629,0.099441,0.096629,
		0.088738,0.077020,0.063182,0.048987,0.035898,
		0.024862,0.014964},
	{
		0.001342,0.017270,0.025877,0.036739,0.049427,
		0.063012,0.076119,0.087133,0.094513,0.097135,
		0.094513,0.087133,0.076119,0.063012,0.049427,
		0.036739,0.025877,0.017270,0.001342},
	{
		0.004117,0.018235,0.026832,0.037503,0.049790,
		0.062788,0.075210,0.085574,0.092484,0.094934,
		0.092484,0.085574,0.075210,0.062788,0.049790,
		0.037503,0.026832,0.018235,0.004117},
	{
		0.007004,0.019166,0.027730,0.038193,0.050081,
		0.062518,0.074297,0.084058,0.090538,0.092830,
		0.090538,0.084058,0.074297,0.062518,0.050081,
		0.038193,0.027730,0.019166,0.007004},
	{
		0.009993,0.020062,0.028569,0.038814,0.050308,
		0.062206,0.073383,0.082586,0.088670,0.090817,
		0.088670,0.082586,0.073383,0.062206,0.050308,
		0.038814,0.028569,0.020062,0.009993},
	{
		0.013077,0.020920,0.029353,0.039369,0.050475,
		0.061860,0.072470,0.081156,0.086875,0.088890,
		0.086875,0.081156,0.072470,0.061860,0.050475,
		0.039369,0.029353,0.020920,0.013077},
	{
		0.001200,0.015046,0.021739,0.030081,0.039863,
		0.050589,0.061483,0.071562,0.079767,0.085150,
		0.087042,0.085150,0.079767,0.071562,0.061483,
		0.050589,0.039863,0.030081,0.021739,0.015046,
		0.001200},
	{
		0.003672,0.015819,0.022520,0.030757,0.040298,
		0.050653,0.061080,0.070659,0.078418,0.083489,
		0.085270,0.083489,0.078418,0.070659,0.061080,
		0.050653,0.040298,0.030757,0.022520,0.015819,
		0.003672},
	{
		0.006236,0.016569,0.023261,0.031381,0.040680,
		0.050673,0.060654,0.069765,0.077107,0.081891,
		0.083568,0.081891,0.077107,0.069765,0.060654,
		0.050673,0.040680,0.031381,0.023261,0.016569,
		0.006236},
	{
		0.008883,0.017295,0.023963,0.031955,0.041011,
		0.050653,0.060210,0.068879,0.075834,0.080352,
		0.081932,0.080352,0.075834,0.068879,0.060210,
		0.050653,0.041011,0.031955,0.023963,0.017295,
		0.008883},
	{
		0.011608,0.017995,0.024627,0.032483,0.041294,
		0.050596,0.059749,0.068004,0.074597,0.078868,
		0.080360,0.078868,0.074597,0.068004,0.059749,
		0.050596,0.041294,0.032483,0.024627,0.017995,
		0.011608},
	{
		0.001085,0.013320,0.018668,0.025252,0.032965,
		0.041535,0.050506,0.059275,0.067139,0.073395,
		0.077436,0.078846,0.077436,0.073395,0.067139,
		0.059275,0.050506,0.041535,0.032965,0.025252,
		0.018668,0.013320,0.001085},
	{
		0.003314,0.013953,0.019315,0.025839,0.033405,
		0.041734,0.050387,0.058789,0.066287,0.072227,
		0.076055,0.077388,0.076055,0.072227,0.066287,
		0.058789,0.050387,0.041734,0.033405,0.025839,
		0.019315,0.013953,0.003314},
	{
		0.005619,0.014569,0.019934,0.026390,0.033804,
		0.041896,0.050241,0.058295,0.065446,0.071092,
		0.074721,0.075984,0.074721,0.071092,0.065446,
		0.058295,0.050241,0.041896,0.033804,0.026390,
		0.019934,0.014569,0.005619},
	{
		0.007993,0.015169,0.020526,0.026906,0.034164,
		0.042023,0.050071,0.057794,0.064619,0.069989,
		0.073432,0.074629,0.073432,0.069989,0.064619,
		0.057794,0.050071,0.042023,0.034164,0.026906,
		0.020526,0.015169,0.007993},
	{
		0.010239,0.015756,0.021098,0.027397,0.034502,
		0.042134,0.049900,0.057310,0.063830,0.068943,
		0.072215,0.073351,0.072215,0.068943,0.063830,
		0.057310,0.049900,0.042134,0.034502,0.027397,
		0.021098,0.015756,0.010239},
	{
		0.000795,0.011949,0.016319,0.021635,0.027845,
		0.034791,0.042199,0.049689,0.056799,0.063029,
		0.067899,0.071009,0.072087,0.071009,0.067899,
		0.063029,0.056799,0.049689,0.042199,0.034791,
		0.027845,0.021635,0.016319,0.011949,0.000795},
	{
		0.002829,0.012476,0.016862,0.022144,0.028261,
		0.035047,0.042236,0.049461,0.056285,0.062241,
		0.066884,0.069841,0.070866,0.069841,0.066884,
		0.062241,0.056285,0.049461,0.042236,0.035047,
		0.028261,0.022144,0.016862,0.012476,0.002829},
	{
		0.004926,0.012992,0.017385,0.022627,0.028646,
		0.035273,0.042247,0.049217,0.055770,0.061467,
		0.065895,0.068711,0.069686,0.068711,0.065895,
		0.061467,0.055770,0.049217,0.042247,0.035273,
		0.028646,0.022627,0.017385,0.012992,0.004926},
	{
		0.007082,0.013495,0.017888,0.023084,0.029001,
		0.035471,0.042236,0.048960,0.055254,0.060707,
		0.064934,0.067617,0.068545,0.067617,0.064934,
		0.060707,0.055254,0.048960,0.042236,0.035471,
		0.029001,0.023084,0.017888,0.013495,0.007082},
	{
		0.009294,0.013985,0.018371,0.023515,0.029328,
		0.035641,0.042202,0.048692,0.054739,0.059961,
		0.063998,0.066556,0.067440,0.066556,0.063998,
		0.059961,0.054739,0.048692,0.042202,0.035641,
		0.029328,0.023515,0.018371,0.013985,0.009294},
	{
		0.000731,0.010827,0.014460,0.018834,0.023921,
		0.029628,0.035785,0.042149,0.048412,0.054225,
		0.059228,0.063086,0.065527,0.066370,0.065527,
		0.063086,0.059228,0.054225,0.048412,0.042149,
		0.035785,0.029628,0.023921,0.018834,0.014460,
		0.010827,0.000731},
	{
		0.002597,0.011273,0.014922,0.019277,0.024303,
		0.029902,0.035906,0.042078,0.048124,0.053713,
		0.058509,0.062199,0.064530,0.065334,0.064530,
		0.062199,0.058509,0.053713,0.048124,0.042078,
		0.035906,0.029902,0.024303,0.019277,0.014922,
		0.011273,0.002597},
	{
		0.004517,0.011710,0.015369,0.019699,0.024661,
		0.030152,0.036005,0.041990,0.047827,0.053204,
		0.057803,0.061334,0.063562,0.064329,0.063562,
		0.061334,0.057803,0.053204,0.047827,0.041990,
		0.036005,0.030152,0.024661,0.019699,0.015369,
		0.011710,0.004517},
	{
		0.006488,0.012138,0.015800,0.020103,0.024997,
		0.030379,0.036083,0.041888,0.047524,0.052698,
		0.057111,0.060492,0.062622,0.063355,0.062622,
		0.060492,0.057111,0.052698,0.047524,0.041888,
		0.036083,0.030379,0.024997,0.020103,0.015800,
		0.012138,0.006488},
	{
		0.008507,0.012555,0.016217,0.020487,0.025311,
		0.030583,0.036141,0.041771,0.047215,0.052195,
		0.056432,0.059671,0.061709,0.062410,0.061709,
		0.059671,0.056432,0.052195,0.047215,0.041771,
		0.036141,0.030583,0.025311,0.020487,0.016217,
		0.012555,0.008507},
	{
		0.000676,0.009895,0.012963,0.016619,0.020852,
		0.025603,0.030767,0.036182,0.041641,0.046901,
		0.051697,0.055766,0.058871,0.060822,0.061493,
		0.060822,0.058871,0.055766,0.051697,0.046901,
		0.041641,0.036182,0.030767,0.025603,0.020852,
		0.016619,0.012963,0.009895,0.000676},
	{
		0.002401,0.010277,0.013359,0.017005,0.021198,
		0.025876,0.030930,0.036205,0.041500,0.046582,
		0.051202,0.055113,0.058091,0.059960,0.060602,
		0.059960,0.058091,0.055113,0.051202,0.046582,
		0.041500,0.036205,0.030930,0.025876,0.021198,
		0.017005,0.013359,0.010277,0.002401},
	{
		0.004171,0.010652,0.013745,0.017377,0.021526,
		0.026128,0.031075,0.036212,0.041348,0.046261,
		0.050713,0.054472,0.057330,0.059121,0.059737,
		0.059121,0.057330,0.054472,0.050713,0.046261,
		0.041348,0.036212,0.031075,0.026128,0.021526,
		0.017377,0.013745,0.010652,0.004171},
	{
		0.005986,0.011020,0.014119,0.017733,0.021837,
		0.026362,0.031202,0.036205,0.041187,0.045936,
		0.050228,0.053844,0.056588,0.058306,0.058896,
		0.058306,0.056588,0.053844,0.050228,0.045936,
		0.041187,0.036205,0.031202,0.026362,0.021837,
		0.017733,0.014119,0.011020,0.005986},
	{
		0.007842,0.011381,0.014481,0.018075,0.022130,
		0.026578,0.031311,0.036184,0.041017,0.045609,
		0.049748,0.053227,0.055864,0.057512,0.058078,
		0.057512,0.055864,0.053227,0.049748,0.045609,
		0.041017,0.036184,0.031311,0.026578,0.022130,
		0.018075,0.014481,0.011381,0.007842},
	{
		0.000629,0.009109,0.011733,0.014832,0.018402,
		0.022407,0.026777,0.031405,0.036150,0.040840,
		0.045281,0.049274,0.052623,0.055157,0.056740,
		0.057283,0.056740,0.055157,0.052623,0.049274,
		0.045281,0.040840,0.036150,0.031405,0.026777,
		0.022407,0.018402,0.014832,0.011733,0.009109,
		0.000629},
	{
		0.002232,0.009440,0.012077,0.015171,0.018714,
		0.022667,0.026959,0.031484,0.036105,0.040655,
		0.044952,0.048805,0.052030,0.054467,0.055987,
		0.056509,0.055987,0.054467,0.052030,0.048805,
		0.044952,0.040655,0.036105,0.031484,0.026959,
		0.022667,0.018714,0.015171,0.012077,0.009440,
		0.002232},
	{
		0.003874,0.009766,0.012412,0.015499,0.019012,
		0.022912,0.027125,0.031549,0.036048,0.040464,
		0.044622,0.048341,0.051449,0.053793,0.055255,
		0.055756,0.055255,0.053793,0.051449,0.048341,
		0.044622,0.040464,0.036048,0.031549,0.027125,
		0.022912,0.019012,0.015499,0.012412,0.009766,
		0.003874},
	{
		0.005556,0.010086,0.012739,0.015815,0.019297,
		0.023142,0.027277,0.031600,0.035981,0.040267,
		0.044292,0.047883,0.050879,0.053135,0.054541,
		0.055022,0.054541,0.053135,0.050879,0.047883,
		0.044292,0.040267,0.035981,0.031600,0.027277,
		0.023142,0.019297,0.015815,0.012739,0.010086,
		0.005556},
	{
		0.007274,0.010400,0.013057,0.016119,0.019567,
		0.023357,0.027414,0.031639,0.035905,0.040066,
		0.043962,0.047431,0.050320,0.052493,0.053845,
		0.054308,0.053845,0.052493,0.050320,0.047431,
		0.043962,0.040066,0.035905,0.031639,0.027414,
		0.023357,0.019567,0.016119,0.013057,0.010400,
		0.007274},
	{
		0.000588,0.008438,0.010707,0.013365,0.016412,
		0.019825,0.023558,0.027537,0.031666,0.035820,
		0.039859,0.043632,0.046985,0.049771,0.051865,
		0.053166,0.053612,0.053166,0.051865,0.049771,
		0.046985,0.043632,0.039859,0.035820,0.031666,
		0.027537,0.023558,0.019825,0.016412,0.013365,
		0.010707,0.008438,0.000588},
	{
		0.002085,0.008727,0.011008,0.013665,0.016693,
		0.020069,0.023745,0.027648,0.031681,0.035727,
		0.039649,0.043304,0.046544,0.049233,0.051251,
		0.052504,0.052933,0.052504,0.051251,0.049233,
		0.046544,0.043304,0.039649,0.035727,0.031681,
		0.027648,0.023745,0.020069,0.016693,0.013665,
		0.011008,0.008727,0.002085},
	{
		0.003617,0.009012,0.011303,0.013955,0.016964,
		0.020301,0.023919,0.027746,0.031686,0.035626,
		0.039435,0.042976,0.046109,0.048705,0.050651,
		0.051859,0.052272,0.051859,0.050651,0.048705,
		0.046109,0.042976,0.039435,0.035626,0.031686,
		0.027746,0.023919,0.020301,0.016964,0.013955,
		0.011303,0.009012,0.003617},
	{
		0.005183,0.009293,0.011590,0.014236,0.017223,
		0.020521,0.024081,0.027832,0.031681,0.035518,
		0.039218,0.042650,0.045680,0.048188,0.050064,
		0.051228,0.051626,0.051228,0.050064,0.048188,
		0.045680,0.042650,0.039218,0.035518,0.031681,
		0.027832,0.024081,0.020521,0.017223,0.014236,
		0.011590,0.009293,0.005183},
	{
		0.006781,0.009569,0.011870,0.014508,0.017471,
		0.020728,0.024231,0.027907,0.031667,0.035404,
		0.038999,0.042325,0.045257,0.047679,0.049491,
		0.050613,0.050997,0.050613,0.049491,0.047679,
		0.045257,0.042325,0.038999,0.035404,0.031667,
		0.027907,0.024231,0.020728,0.017471,0.014508,
		0.011870,0.009569,0.006781},
	{
		0.000552,0.007858,0.009840,0.012144,0.014771,
		0.017709,0.020925,0.024369,0.027971,0.031644,
		0.035284,0.038777,0.042002,0.044840,0.047181,
		0.048930,0.050013,0.050382,0.050013,0.048930,
		0.047181,0.044840,0.042002,0.038777,0.035284,
		0.031644,0.027971,0.024369,0.020925,0.017709,
		0.014771,0.012144,0.009840,0.007858,0.000552},
	{
		0.001956,0.008113,0.010105,0.012409,0.015025,
		0.017936,0.021109,0.024496,0.028026,0.031613,
		0.035159,0.038553,0.041681,0.044428,0.046692,
		0.048381,0.049426,0.049783,0.049426,0.048381,
		0.046692,0.044428,0.041681,0.038553,0.035159,
		0.031613,0.028026,0.024496,0.021109,0.017936,
		0.015025,0.012409,0.010105,0.008113,0.001956},
	{
		0.003391,0.008365,0.010366,0.012668,0.015270,
		0.018152,0.021283,0.024612,0.028070,0.031575,
		0.035029,0.038328,0.041362,0.044023,0.046212,
		0.047843,0.048853,0.049197,0.048853,0.047843,
		0.046212,0.044023,0.041362,0.038328,0.035029,
		0.031575,0.028070,0.024612,0.021283,0.018152,
		0.015270,0.012668,0.010366,0.008365,0.003391},
	{
		0.004857,0.008613,0.010620,0.012919,0.015505,
		0.018359,0.021447,0.024718,0.028106,0.031529,
		0.034895,0.038101,0.041045,0.043623,0.045740,
		0.047318,0.048292,0.048625,0.048292,0.047318,
		0.045740,0.043623,0.041045,0.038101,0.034895,
		0.031529,0.028106,0.024718,0.021447,0.018359,
		0.015505,0.012919,0.010620,0.008613,0.004857},
	{
		0.006351,0.008857,0.010869,0.013163,0.015732,
		0.018556,0.021600,0.024814,0.028132,0.031476,
		0.034756,0.037874,0.040730,0.043228,0.045278,
		0.046803,0.047745,0.048066,0.047745,0.046803,
		0.045278,0.043228,0.040730,0.037874,0.034756,
		0.031476,0.028132,0.024814,0.021600,0.018556,
		0.015732,0.013163,0.010869,0.008857,0.006351},
	{
		0.000521,0.007352,0.009097,0.011112,0.013400,
		0.015951,0.018744,0.021744,0.024901,0.028151,
		0.031417,0.034613,0.037645,0.040418,0.042840,
		0.044824,0.046299,0.047209,0.047520,0.047209,
		0.046299,0.044824,0.042840,0.040418,0.037645,
		0.034613,0.031417,0.028151,0.024901,0.021744,
		0.018744,0.015951,0.013400,0.011112,0.009097,
		0.007352,0.000521},
	{
		0.001842,0.007579,0.009333,0.011350,0.013629,
		0.016161,0.018922,0.021878,0.024979,0.028162,
		0.031353,0.034467,0.037416,0.040109,0.042456,
		0.044378,0.045805,0.046686,0.046986,0.046686,
		0.045805,0.044378,0.042456,0.040109,0.037416,
		0.034467,0.031353,0.028162,0.024979,0.021878,
		0.018922,0.016161,0.013629,0.011350,0.009333,
		0.007579,0.001842},
	{
		0.003192,0.007803,0.009565,0.011581,0.013851,
		0.016362,0.019092,0.022003,0.025049,0.028166,
		0.031282,0.034318,0.037187,0.039802,0.042079,
		0.043940,0.045322,0.046174,0.046464,0.046174,
		0.045322,0.043940,0.042079,0.039802,0.037187,
		0.034318,0.031282,0.028166,0.025049,0.022003,
		0.019092,0.016362,0.013851,0.011581,0.009565,
		0.007803,0.003192},
	{
		0.004569,0.008024,0.009792,0.011807,0.014065,
		0.016555,0.019252,0.022120,0.025110,0.028162,
		0.031207,0.034166,0.036958,0.039498,0.041707,
		0.043510,0.044848,0.045673,0.045954,0.045673,
		0.044848,0.043510,0.041707,0.039498,0.036958,
		0.034166,0.031207,0.028162,0.025110,0.022120,
		0.019252,0.016555,0.014065,0.011807,0.009792,
		0.008024,0.004569},
	{
		0.005972,0.008241,0.010014,0.012026,0.014273,
		0.016740,0.019404,0.022228,0.025163,0.028152,
		0.031127,0.034012,0.036729,0.039197,0.041340,
		0.043088,0.044384,0.045182,0.045454,0.045182,
		0.044384,0.043088,0.041340,0.039197,0.036729,
		0.034012,0.031127,0.028152,0.025163,0.022228,
		0.019404,0.016740,0.014273,0.012026,0.010014,
		0.008241,0.005972},
	{
		0.000492,0.006907,0.008456,0.010232,0.012240,
		0.014473,0.016918,0.019548,0.022327,0.025209,
		0.028136,0.031042,0.033856,0.036500,0.038898,
		0.040978,0.042674,0.043929,0.044702,0.044965,
		0.044702,0.043929,0.042674,0.040978,0.038898,
		0.036500,0.033856,0.031042,0.028136,0.025209,
		0.022327,0.019548,0.016918,0.014473,0.012240,
		0.010232,0.008456,0.006907,0.000492},
	{
		0.001741,0.007110,0.008667,0.010445,0.012447,
		0.014667,0.017087,0.019683,0.022419,0.025248,
		0.028114,0.030954,0.033697,0.036271,0.038602,
		0.040622,0.042266,0.043483,0.044232,0.044487,
		0.044232,0.043483,0.042266,0.040622,0.038602,
		0.036271,0.033697,0.030954,0.028114,0.025248,
		0.022419,0.019683,0.017087,0.014667,0.012447,
		0.010445,0.008667,0.007110,0.001741},
	{
		0.003015,0.007310,0.008874,0.010653,0.012649,
		0.014853,0.017249,0.019811,0.022503,0.025280,
		0.028087,0.030861,0.033537,0.036043,0.038310,
		0.040271,0.041866,0.043046,0.043772,0.044019,
		0.043772,0.043046,0.041866,0.040271,0.038310,
		0.036043,0.033537,0.030861,0.028087,0.025280,
		0.022503,0.019811,0.017249,0.014853,0.012649,
		0.010653,0.008874,0.007310,0.003015},
	{
		0.004314,0.007508,0.009078,0.010857,0.012845,
		0.015033,0.017404,0.019932,0.022581,0.025306,
		0.028054,0.030765,0.033375,0.035815,0.038020,
		0.039925,0.041473,0.042617,0.043321,0.043560,
		0.043321,0.042617,0.041473,0.039925,0.038020,
		0.035815,0.033375,0.030765,0.028054,0.025306,
		0.022581,0.019932,0.017404,0.015033,0.012845,
		0.010857,0.009078,0.007508,0.004314},
	{
		0.005635,0.007703,0.009277,0.011055,0.013034,
		0.015206,0.017551,0.020045,0.022651,0.025325,
		0.028016,0.030666,0.033211,0.035588,0.037733,
		0.039584,0.041087,0.042197,0.042879,0.043111,
		0.042879,0.042197,0.041087,0.039584,0.037733,
		0.035588,0.033211,0.030666,0.028016,0.025325,
		0.022651,0.020045,0.017551,0.015206,0.013034,
		0.011055,0.009277,0.007703,0.005635},
	{
		0.000467,0.006513,0.007896,0.009473,0.011249,
		0.013218,0.015372,0.017692,0.020151,0.022714,
		0.025339,0.027974,0.030563,0.033047,0.035363,
		0.037449,0.039248,0.040707,0.041784,0.042446,
		0.042671,0.042446,0.041784,0.040707,0.039248,
		0.037449,0.035363,0.033047,0.030563,0.027974,
		0.025339,0.022714,0.020151,0.017692,0.015372,
		0.013218,0.011249,0.009473,0.007896,0.006513,
		0.000467},
	{
		0.001651,0.006695,0.008085,0.009666,0.011437,
		0.013396,0.015532,0.017826,0.020250,0.022771,
		0.025347,0.027927,0.030458,0.032881,0.035138,
		0.037168,0.038917,0.040334,0.041380,0.042022,
		0.042240,0.042022,0.041380,0.040334,0.038917,
		0.037168,0.035138,0.032881,0.030458,0.027927,
		0.025347,0.022771,0.020250,0.017826,0.015532,
		0.013396,0.011437,0.009666,0.008085,0.006695,
		0.001651},
	{
		0.002857,0.006875,0.008272,0.009854,0.011621,
		0.013569,0.015686,0.017953,0.020343,0.022822,
		0.025349,0.027876,0.030350,0.032715,0.034914,
		0.036890,0.038590,0.039968,0.040983,0.041606,
		0.041818,0.041606,0.040983,0.039968,0.038590,
		0.036890,0.034914,0.032715,0.030350,0.027876,
		0.025349,0.022822,0.020343,0.017953,0.015686,
		0.013569,0.011621,0.009854,0.008272,0.006875,
		0.002857},
	{
		0.004085,0.007054,0.008456,0.010038,0.011800,
		0.013735,0.015833,0.018073,0.020429,0.022867,
		0.025347,0.027821,0.030240,0.032548,0.034691,
		0.036615,0.038269,0.039607,0.040593,0.041198,
		0.041403,0.041198,0.040593,0.039607,0.038269,
		0.036615,0.034691,0.032548,0.030240,0.027821,
		0.025347,0.022867,0.020429,0.018073,0.015833,
		0.013735,0.011800,0.010038,0.008456,0.007054,
		0.004085},
	{
		0.005335,0.007230,0.008636,0.010218,0.011973,
		0.013896,0.015974,0.018188,0.020509,0.022907,
		0.025340,0.027763,0.030127,0.032381,0.034470,
		0.036343,0.037952,0.039253,0.040210,0.040798,
		0.040998,0.040798,0.040210,0.039253,0.037952,
		0.036343,0.034470,0.032381,0.030127,0.027763,
		0.025340,0.022907,0.020509,0.018188,0.015974,
		0.013896,0.011973,0.010218,0.008636,0.007230,
		0.005335},
	{
		0.000444,0.006161,0.007403,0.008813,0.010394,
		0.012142,0.014052,0.016110,0.018296,0.020584,
		0.022941,0.025328,0.027701,0.030013,0.032213,
		0.034249,0.036074,0.037639,0.038904,0.039835,
		0.040405,0.040599,0.040405,0.039835,0.038904,
		0.037639,0.036074,0.034249,0.032213,0.030013,
		0.027701,0.025328,0.022941,0.020584,0.018296,
		0.016110,0.014052,0.012142,0.010394,0.008813,
		0.007403,0.006161,0.000444},
	{
		0.001569,0.006325,0.007575,0.008987,0.010565,
		0.012306,0.014202,0.016239,0.018398,0.020652,
		0.022969,0.025312,0.027636,0.029896,0.032044,
		0.034031,0.035808,0.037331,0.038562,0.039466,
		0.040021,0.040209,0.040021,0.039466,0.038562,
		0.037331,0.035808,0.034031,0.032044,0.029896,
		0.027636,0.025312,0.022969,0.020652,0.018398,
		0.016239,0.014202,0.012306,0.010565,0.008987,
		0.007575,0.006325,0.001569},
	{
		0.002714,0.006489,0.007744,0.009158,0.010733,
		0.012465,0.014347,0.016363,0.018495,0.020715,
		0.022993,0.025291,0.027568,0.029778,0.031876,
		0.033813,0.035545,0.037028,0.038225,0.039104,
		0.039643,0.039826,0.039643,0.039104,0.038225,
		0.037028,0.035545,0.033813,0.031876,0.029778,
		0.027568,0.025291,0.022993,0.020715,0.018495,
		0.016363,0.014347,0.012465,0.010733,0.009158,
		0.007744,0.006489,0.002714},
	{
		0.003880,0.006650,0.007910,0.009325,0.010897,
		0.012620,0.014486,0.016482,0.018586,0.020773,
		0.023012,0.025267,0.027497,0.029659,0.031707,
		0.033597,0.035284,0.036728,0.037893,0.038748,
		0.039272,0.039450,0.039272,0.038748,0.037893,
		0.036728,0.035284,0.033597,0.031707,0.029659,
		0.027497,0.025267,0.023012,0.020773,0.018586,
		0.016482,0.014486,0.012620,0.010897,0.009325,
		0.007910,0.006650,0.003880},
	{
		0.005064,0.006809,0.008074,0.009489,0.011056,
		0.012770,0.014621,0.016595,0.018672,0.020826,
		0.023027,0.025239,0.027423,0.029538,0.031539,
		0.033383,0.035027,0.036434,0.037567,0.038399,
		0.038908,0.039082,0.038908,0.038399,0.037567,
		0.036434,0.035027,0.033383,0.031539,0.029538,
		0.027423,0.025239,0.023027,0.020826,0.018672,
		0.016595,0.014621,0.012770,0.011056,0.009489,
		0.008074,0.006809,0.005064},
	{
		0.000423,0.005844,0.006967,0.008235,0.009650,
		0.011211,0.012915,0.014750,0.016703,0.018752,
		0.020874,0.023037,0.025207,0.027347,0.029416,
		0.031370,0.033170,0.034773,0.036143,0.037246,
		0.038056,0.038551,0.038720,0.038551,0.038056,
		0.037246,0.036143,0.034773,0.033170,0.031370,
		0.029416,0.027347,0.025207,0.023037,0.020874,
		0.018752,0.016703,0.014750,0.012915,0.011211,
		0.009650,0.008235,0.006967,0.005844,0.000423},
	{
		0.001495,0.005994,0.007123,0.008393,0.009807,
		0.011363,0.013055,0.014875,0.016805,0.018828,
		0.020917,0.023043,0.025173,0.027269,0.029292,
		0.031202,0.032958,0.034522,0.035856,0.036931,
		0.037719,0.038201,0.038364,0.038201,0.037719,
		0.036931,0.035856,0.034522,0.032958,0.031202,
		0.029292,0.027269,0.025173,0.023043,0.020917,
		0.018828,0.016805,0.014875,0.013055,0.011363,
		0.009807,0.008393,0.007123,0.005994,0.001495},
	{
		0.002585,0.006142,0.007276,0.008548,0.009960,
		0.011510,0.013191,0.014994,0.016903,0.018898,
		0.020955,0.023045,0.025135,0.027188,0.029168,
		0.031034,0.032748,0.034273,0.035574,0.036620,
		0.037387,0.037856,0.038016,0.037856,0.037387,
		0.036620,0.035574,0.034273,0.032748,0.031034,
		0.029168,0.027188,0.025135,0.023045,0.020955,
		0.018898,0.016903,0.014994,0.013191,0.011510,
		0.009960,0.008548,0.007276,0.006142,0.002585}
};
static unsigned char cmatrix_lens[100]={
	5,5,7,7,7,7,7,9,9,9,9,9,11,11,11,11,11,13,13,13,
	13,13,15,15,15,15,15,17,17,17,17,17,19,19,19,19,19,21,21,21,
	21,21,23,23,23,23,23,25,25,25,25,25,27,27,27,27,27,29,29,29,
	29,29,31,31,31,31,31,33,33,33,33,33,35,35,35,35,35,37,37,37,
	37,37,39,39,39,39,39,41,41,41,41,41,43,43,43,43,43,45,45,45
};
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to