/dports/science/afni/afni-AFNI_21.3.16/src/ |
H A D | mri_colorsetup.c | 7 MRI_IMAGE * mri_colorsetup( int ngray , int nrr , int ngg , int nbb ) in mri_colorsetup() argument 14 im = mri_new( ngray + nrr*ngg*nbb - 1 , 1 , MRI_rgb ) ; in mri_colorsetup() 17 gac = 255.9f / ngray ; nn = 0 ; /* actually, ngray+1 levels */ in mri_colorsetup() 18 for( gg=0 ; gg <= ngray ; gg++,nn++ ){ in mri_colorsetup()
|
/dports/x11-toolkits/xforms/xforms-1.2.4/image/ |
H A D | image_scale.c | 52 unsigned short **ngray = nm[ 0 ], in image_zoom() local 80 ngray[ i ][ j ] = ogray[ iy ][ lut[ j ] ]; in image_zoom() 132 **ngray = nm[ 0 ]; in image_scale() local 187 ngray[ j ][ i ] = s[ 0 ] / area; in image_scale()
|
/dports/graphics/leptonica/leptonica-1.76.0/src/ |
H A D | colorquant2.c | 581 l_int32 ngray, in pixMedianCutQuantMixed() argument 598 if (ngray < 2) in pixMedianCutQuantMixed() 600 if (ncolor + ngray > 255) in pixMedianCutQuantMixed() 621 pixd = pixThresholdOn8bpp(pixg, ngray, 1); in pixMedianCutQuantMixed() 637 lut[i] = ncolor + 1 + (i * (ngray - 1) + 128) / 255; in pixMedianCutQuantMixed() 677 for (i = 0; i < ngray; i++) { in pixMedianCutQuantMixed() 678 grayval = (255 * i) / (ngray - 1); in pixMedianCutQuantMixed() 756 l_int32 ngray, in pixFewColorsMedianCutQuantMixed() argument 777 if (ngray < maxncolors) { in pixFewColorsMedianCutQuantMixed() 779 ngray = maxncolors; in pixFewColorsMedianCutQuantMixed() [all …]
|
H A D | coloring.c | 134 l_int32 i, n, ncolors, ngray; in pixColorGrayRegions() local 153 pixcmapCountGrayColors(cmap, &ngray); in pixColorGrayRegions() 154 if (ncolors + ngray < 255) { in pixColorGrayRegions()
|
H A D | allheaders.h | 530 LEPT_DLL extern PIX * pixMedianCutQuantMixed ( PIX *pixs, l_int32 ncolor, l_int32 ngray, l_int32 da… 531 LEPT_DLL extern PIX * pixFewColorsMedianCutQuantMixed ( PIX *pixs, l_int32 ncolor, l_int32 ngray, l…
|
/dports/devel/upp/upp/bazaar/PixRaster/lib/ |
H A D | colorquant2.c | 564 l_int32 ngray, in pixMedianCutQuantMixed() argument 581 if (ngray < 2) in pixMedianCutQuantMixed() 583 if (ncolor + ngray > 255) in pixMedianCutQuantMixed() 604 pixd = pixThresholdOn8bpp(pixg, ngray, 1); in pixMedianCutQuantMixed() 620 lut[i] = ncolor + 1 + (i * (ngray - 1) + 128) / 255; in pixMedianCutQuantMixed() 660 for (i = 0; i < ngray; i++) { in pixMedianCutQuantMixed() 661 grayval = (255 * i) / (ngray - 1); in pixMedianCutQuantMixed() 738 l_int32 ngray, in pixFewColorsMedianCutQuantMixed() argument 759 if (ngray < maxncolors) { in pixFewColorsMedianCutQuantMixed() 761 ngray = maxncolors; in pixFewColorsMedianCutQuantMixed() [all …]
|
H A D | leptprotos.h | 375 LEPT_DLL extern PIX * pixMedianCutQuantMixed ( PIX *pixs, l_int32 ncolor, l_int32 ngray, l_int32 da… 376 LEPT_DLL extern PIX * pixFewColorsMedianCutQuantMixed ( PIX *pixs, l_int32 ncolor, l_int32 ngray, l…
|
/dports/print/pcal/pcal-4.11.0/src/ |
H A D | pcal.c | 1992 int i, ngray = 0, others, gray = GRAY; in color_msg() local 1998 ngray++; in color_msg() 2004 if (ngray == 0 || ngray == 7) { /* all same color? */ in color_msg() 2005 sprintf(msg, COLOR_MSG_1, ngray ? alt_color : W_BLACK); in color_msg() 2009 others = ngray <= 3 ? BLACK : gray; /* no - get predominant color */ in color_msg()
|
/dports/games/simutrans-pak128/simutrans/pak128/text/ |
H A D | ce.tab | 278 …ycars. The top floor\nis black becuase the\nconstruction firm ran out of\ngray bricks when they w…
|
/dports/www/mimetex/mimetex-20120331.1.74/ |
H A D | mimetex.c | 3769 ngray = 0; /* #gray scale values */ 3792 ngray = 1 + (pixmax-pixmin); /* should be 2 for b/w bitmap */ 3794 ptype = (ngray>=3?2:1); /* use grayscale if >2 shades */
|
/dports/multimedia/ccextractor/ccextractor-0.85/windows/libs/include/ |
H A D | allheaders.h | 512 LEPT_DLL extern PIX * pixMedianCutQuantMixed ( PIX *pixs, l_int32 ncolor, l_int32 ngray, l_int32 da… 513 LEPT_DLL extern PIX * pixFewColorsMedianCutQuantMixed ( PIX *pixs, l_int32 ncolor, l_int32 ngray, l…
|
/dports/devel/fossology-nomos-standalone/fossology-3.11.0/src/nomos/agent_tests/testdata/NomosTestfiles/CECILL/ |
H A D | CImg.h | 28642 const unsigned char gray2[] = { 110,110,110 }, ngray[] = { 35,35,35 }; 28702 text.assign().draw_text(0,0,labelx?labelx:"X-axis",white,ngray,1); 28704 text.assign().draw_text(0,0,labely?labely:"Y-axis",white,ngray,1).rotate(-90); 28758 text.assign().draw_text(0,0,message,white,ngray,1);
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/filters/greycstoration/cimg/ |
H A D | CImg.h | 28652 const unsigned char gray2[] = { 110,110,110 }, ngray[] = { 35,35,35 }; 28712 text.assign().draw_text(0,0,labelx?labelx:"X-axis",white,ngray,1); 28714 text.assign().draw_text(0,0,labely?labely:"Y-axis",white,ngray,1).rotate(-90); 28768 text.assign().draw_text(0,0,message,white,ngray,1);
|
/dports/games/springlobby/springlobby-0.180/src/lsl/lib/cimg/ |
H A D | CImg.h | 32943 const unsigned char gray2[] = { 110, 110, 110 }, ngray[] = { 35, 35, 35 }; 33004 … text.assign().draw_text(0,0,labelx?labelx:"X-axis",white,ngray,1,13).resize(-100,-100,1,3); 33006 …text.assign().draw_text(0,0,labely?labely:"Y-axis",white,ngray,1,13).rotate(-90).resize(-100,-100,… 33059 text.assign().draw_text(0,0,message,white,ngray,1,13).resize(-100,-100,1,3);
|
/dports/graphics/photivo/photivo/Sources/greyc/ |
H A D | CImg.h | 34223 const unsigned char gray2[] = { 110, 110, 110 }, ngray[] = { 35, 35, 35 }; 34286 … text.assign().draw_text(0,0,labelx?labelx:"X-axis",white,ngray,1,13).resize(-100,-100,1,3); 34288 …text.assign().draw_text(0,0,labely?labely:"Y-axis",white,ngray,1,13).rotate(-90).resize(-100,-100,… 34341 text.assign().draw_text(0,0,message,white,ngray,1,13).resize(-100,-100,1,3);
|
/dports/deskutils/terminal-image-viewer/TerminalImageViewer-1.1.0/src/main/cpp/ |
H A D | CImg.h | 47801 static const unsigned char gray2[] = { 110, 110, 110 }, ngray[] = { 35, 35, 35 }; 47869 … text.assign().draw_text(0,0,labelx?labelx:"X-axis",white,ngray,1,13).resize(-100,-100,1,3); 47871 …text.assign().draw_text(0,0,labely?labely:"Y-axis",white,ngray,1,13).rotate(-90).resize(-100,-100,… 47928 text.assign().draw_text(0,0,message,white,ngray,1,13).resize(-100,-100,1,3);
|
/dports/multimedia/zart/gmic-2.8.1/src/ |
H A D | CImg.h | 49234 static const unsigned char gray2[] = { 110, 110, 110 }, ngray[] = { 35, 35, 35 }; 49309 … text.assign().draw_text(0,0,labelx?labelx:"X-axis",white,ngray,1,13).resize(-100,-100,1,3); 49311 …text.assign().draw_text(0,0,labely?labely:"Y-axis",white,ngray,1,13).rotate(-90).resize(-100,-100,… 49368 text.assign().draw_text(0,0,message,white,ngray,1,13).resize(-100,-100,1,3);
|
/dports/graphics/openfx-misc/openfx-misc-3ab0531/CImg/ |
H A D | CImg.h | 47743 static const unsigned char gray2[] = { 110, 110, 110 }, ngray[] = { 35, 35, 35 }; 47811 … text.assign().draw_text(0,0,labelx?labelx:"X-axis",white,ngray,1,13).resize(-100,-100,1,3); 47813 …text.assign().draw_text(0,0,labely?labely:"Y-axis",white,ngray,1,13).rotate(-90).resize(-100,-100,… 47870 text.assign().draw_text(0,0,message,white,ngray,1,13).resize(-100,-100,1,3);
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/vips/gmic/gmic/src/ |
H A D | CImg.h | 44909 static const unsigned char gray2[] = { 110, 110, 110 }, ngray[] = { 35, 35, 35 }; 44977 … text.assign().draw_text(0,0,labelx?labelx:"X-axis",white,ngray,1,13).resize(-100,-100,1,3); 44979 …text.assign().draw_text(0,0,labely?labely:"Y-axis",white,ngray,1,13).rotate(-90).resize(-100,-100,… 45036 text.assign().draw_text(0,0,message,white,ngray,1,13).resize(-100,-100,1,3);
|
/dports/graphics/cimg/CImg-v.2.9.7/ |
H A D | CImg.h | 51204 static const unsigned char gray2[] = { 110, 110, 110 }, ngray[] = { 35, 35, 35 }; 51279 … text.assign().draw_text(0,0,labelx?labelx:"X-axis",white,ngray,1,13).resize(-100,-100,1,3); 51281 …text.assign().draw_text(0,0,labely?labely:"Y-axis",white,ngray,1,13).rotate(-90).resize(-100,-100,… 51338 text.assign().draw_text(0,0,message,white,ngray,1,13).resize(-100,-100,1,3);
|
/dports/graphics/gmic/gmic-3.0.0/src/ |
H A D | CImg.h | 52312 static const unsigned char gray2[] = { 110, 110, 110 }, ngray[] = { 35, 35, 35 }; 52387 … text.assign().draw_text(0,0,labelx?labelx:"X-axis",white,ngray,1,13).resize(-100,-100,1,3); 52389 …text.assign().draw_text(0,0,labely?labely:"Y-axis",white,ngray,1,13).rotate(-90).resize(-100,-100,… 52446 text.assign().draw_text(0,0,message,white,ngray,1,13).resize(-100,-100,1,3);
|
/dports/graphics/gmic-qt/CImg-v.2.9.8/ |
H A D | CImg.h | 51736 static const unsigned char gray2[] = { 110, 110, 110 }, ngray[] = { 35, 35, 35 }; 51811 … text.assign().draw_text(0,0,labelx?labelx:"X-axis",white,ngray,1,13).resize(-100,-100,1,3); 51813 …text.assign().draw_text(0,0,labely?labely:"Y-axis",white,ngray,1,13).rotate(-90).resize(-100,-100,… 51870 text.assign().draw_text(0,0,message,white,ngray,1,13).resize(-100,-100,1,3);
|