count colour pixels
more overcomputation testing
This commit is contained in:
parent
f6d7463185
commit
213f9e23b4
5
TODO
5
TODO
@ -2,11 +2,6 @@
|
|||||||
|
|
||||||
- could load pdf thumbnails?
|
- 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
|
- still not happy about float->int mask conversion in im_vips2mask.c
|
||||||
|
|
||||||
- colour needs to split _build() into preprocess / process / postprocess
|
- colour needs to split _build() into preprocess / process / postprocess
|
||||||
|
@ -228,6 +228,7 @@ vips_colour_gen( VipsRegion *or,
|
|||||||
{
|
{
|
||||||
VipsRegion **ir = (VipsRegion **) seq;
|
VipsRegion **ir = (VipsRegion **) seq;
|
||||||
VipsColour *colour = VIPS_COLOUR( b );
|
VipsColour *colour = VIPS_COLOUR( b );
|
||||||
|
VipsObjectClass *object_class = VIPS_OBJECT_GET_CLASS( colour );
|
||||||
VipsColourClass *class = VIPS_COLOUR_GET_CLASS( colour );
|
VipsColourClass *class = VIPS_COLOUR_GET_CLASS( colour );
|
||||||
VipsRect *r = &or->valid;
|
VipsRect *r = &or->valid;
|
||||||
|
|
||||||
@ -251,6 +252,8 @@ vips_colour_gen( VipsRegion *or,
|
|||||||
|
|
||||||
VIPS_GATE_STOP( "vips_colour_gen: work" );
|
VIPS_GATE_STOP( "vips_colour_gen: work" );
|
||||||
|
|
||||||
|
VIPS_COUNT_PIXELS( or, object_class->nickname );
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
/* Transform images with little cms
|
/* Transform images with little cms
|
||||||
*default:
|
|
||||||
*
|
*
|
||||||
* 26/4/02 JC
|
* 26/4/02 JC
|
||||||
* 26/8/05
|
* 26/8/05
|
||||||
|
Loading…
Reference in New Issue
Block a user