thermocol is in fimgfx
This commit is contained in:
		
							parent
							
								
									83e577b89a
								
							
						
					
					
						commit
						9fb09f401f
					
				@ -29,7 +29,7 @@ enum fxid { Fx_cos01=5, Fx_cos010, Fx_pow2, Fx_sqrt, Fx_gray0, Fx_halfsz0,
 | 
			
		||||
		Fx_classtrial, Fx_mirror, Fx_shift0, Fx_trimul,
 | 
			
		||||
		Fx_xper, Fx_binarize, Fx_trinarize, Fx_hilight_R,
 | 
			
		||||
		Fx_absolute, Fx_clamp, Fx_fakol0, Fx_fakol3,
 | 
			
		||||
		Fx_morph0, Fx_morph4, Fx_morph8 };
 | 
			
		||||
		Fx_morph0, Fx_morph4, Fx_morph8, Fx_thermocol };
 | 
			
		||||
 | 
			
		||||
Fx fx_list[] = {
 | 
			
		||||
	{ "cos01",		Fx_cos01,	0,	1 },
 | 
			
		||||
@ -57,6 +57,7 @@ Fx fx_list[] = {
 | 
			
		||||
	{ "morph0",		Fx_morph0,	0,	1 },
 | 
			
		||||
	{ "morph4",		Fx_morph4,	0,	1 },
 | 
			
		||||
	{ "morph8",		Fx_morph8,	0,	1 },
 | 
			
		||||
	{ "thermocol",		Fx_thermocol,	0,	1 },
 | 
			
		||||
	{ NULL,			0,		0,	0 }
 | 
			
		||||
	};
 | 
			
		||||
 | 
			
		||||
@ -272,6 +273,9 @@ switch (action) {
 | 
			
		||||
	case Fx_morph8:
 | 
			
		||||
		foo = fimg_filtre_morpho_0(&src, &dest, 8);	break;
 | 
			
		||||
 | 
			
		||||
	case Fx_thermocol:
 | 
			
		||||
		foo = fimg_auto_thermique(&src, &dest, 0);	break;
 | 
			
		||||
 | 
			
		||||
	default:
 | 
			
		||||
		fprintf(stderr, "%s %s : %d is bad action\n",
 | 
			
		||||
					__FILE__, __func__, action);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user