Home
last modified time | relevance | path

Searched refs:ngray (Results 1 – 22 of 22) sorted by relevance

/dports/science/afni/afni-AFNI_21.3.16/src/
H A Dmri_colorsetup.c7 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 Dimage_scale.c52 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 Dcolorquant2.c581 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 Dcoloring.c134 l_int32 i, n, ncolors, ngray; in pixColorGrayRegions() local
153 pixcmapCountGrayColors(cmap, &ngray); in pixColorGrayRegions()
154 if (ncolors + ngray < 255) { in pixColorGrayRegions()
H A Dallheaders.h530 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 Dcolorquant2.c564 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 Dleptprotos.h375 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 Dpcal.c1992 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 Dce.tab278 …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 Dmimetex.c3769 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 Dallheaders.h512 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 DCImg.h28642 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 DCImg.h28652 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 DCImg.h32943 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 DCImg.h34223 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 DCImg.h47801 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 DCImg.h49234 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 DCImg.h47743 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 DCImg.h44909 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 DCImg.h51204 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 DCImg.h52312 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 DCImg.h51736 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);