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
|
||||
generate = erode_gen;
|
||||
|
||||
/* Set demand hints. FATSTRIP is good for us, as THINSTRIP will cause
|
||||
* too many recalculations on overlaps.
|
||||
*/
|
||||
if( im_demand_hint( morph->out, IM_FATSTRIP, morph->in, NULL ) ||
|
||||
if( im_demand_hint( morph->out, IM_SMALLTILE, morph->in, NULL ) ||
|
||||
im_generate( morph->out,
|
||||
morph_start, generate, morph_stop, morph->in, morph ) )
|
||||
return( -1 );
|
||||
|
@ -367,10 +367,7 @@ im_rank_raw( IMAGE *in, IMAGE *out, int xsize, int ysize, int index )
|
||||
return( -1 );
|
||||
}
|
||||
|
||||
/* Set demand hints. FATSTRIP is good for us, as THINSTRIP will cause
|
||||
* too many recalculations on overlaps.
|
||||
*/
|
||||
if( im_demand_hint( out, IM_FATSTRIP, in, NULL ) )
|
||||
if( im_demand_hint( out, IM_SMALLTILE, in, NULL ) )
|
||||
return( -1 );
|
||||
|
||||
/* Generate!
|
||||
|
Loading…
Reference in New Issue
Block a user