more morph to smalltile as well
fatstrip works poorly for very wide images
This commit is contained in:
parent
a9f85e1fd9
commit
7f63ecdeb6
@ -738,10 +738,7 @@ morphology( IMAGE *in, IMAGE *out, INTMASK *mask, MorphOp op )
|
|||||||
else
|
else
|
||||||
generate = erode_gen;
|
generate = erode_gen;
|
||||||
|
|
||||||
/* Set demand hints. FATSTRIP is good for us, as THINSTRIP will cause
|
if( im_demand_hint( morph->out, IM_SMALLTILE, morph->in, NULL ) ||
|
||||||
* too many recalculations on overlaps.
|
|
||||||
*/
|
|
||||||
if( im_demand_hint( morph->out, IM_FATSTRIP, morph->in, NULL ) ||
|
|
||||||
im_generate( morph->out,
|
im_generate( morph->out,
|
||||||
morph_start, generate, morph_stop, morph->in, morph ) )
|
morph_start, generate, morph_stop, morph->in, morph ) )
|
||||||
return( -1 );
|
return( -1 );
|
||||||
|
@ -367,10 +367,7 @@ im_rank_raw( IMAGE *in, IMAGE *out, int xsize, int ysize, int index )
|
|||||||
return( -1 );
|
return( -1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set demand hints. FATSTRIP is good for us, as THINSTRIP will cause
|
if( im_demand_hint( out, IM_SMALLTILE, in, NULL ) )
|
||||||
* too many recalculations on overlaps.
|
|
||||||
*/
|
|
||||||
if( im_demand_hint( out, IM_FATSTRIP, in, NULL ) )
|
|
||||||
return( -1 );
|
return( -1 );
|
||||||
|
|
||||||
/* Generate!
|
/* Generate!
|
||||||
|
Loading…
Reference in New Issue
Block a user