count colour pixels

more overcomputation testing
This commit is contained in:
John Cupitt 2016-03-24 17:41:05 +00:00
parent f6d7463185
commit 213f9e23b4
3 changed files with 3 additions and 6 deletions

5
TODO
View File

@ -2,11 +2,6 @@
- could load pdf thumbnails?
- get some brightly coloured spots with nohalo / vsqbs on wobble.ws ... very
odd, the interpolation shouldn't change between bands
probably over/underflow in interpolation ... clipping problems?
- still not happy about float->int mask conversion in im_vips2mask.c
- colour needs to split _build() into preprocess / process / postprocess

View File

@ -228,6 +228,7 @@ vips_colour_gen( VipsRegion *or,
{
VipsRegion **ir = (VipsRegion **) seq;
VipsColour *colour = VIPS_COLOUR( b );
VipsObjectClass *object_class = VIPS_OBJECT_GET_CLASS( colour );
VipsColourClass *class = VIPS_COLOUR_GET_CLASS( colour );
VipsRect *r = &or->valid;
@ -251,6 +252,8 @@ vips_colour_gen( VipsRegion *or,
VIPS_GATE_STOP( "vips_colour_gen: work" );
VIPS_COUNT_PIXELS( or, object_class->nickname );
return( 0 );
}

View File

@ -1,5 +1,4 @@
/* Transform images with little cms
*default:
*
* 26/4/02 JC
* 26/8/05