Add extractChannel operation to extract a channel from an image (#497)

This commit is contained in:
Matt Hirsch
2016-07-09 11:48:30 -04:00
committed by Lovell Fuller
parent f672f86b53
commit 83d8847f57
8 changed files with 119 additions and 0 deletions

View File

@@ -94,6 +94,7 @@ struct PipelineBaton {
double convKernelScale;
double convKernelOffset;
VipsOperationBoolean bandBoolOp;
int extractChannel;
int tileSize;
int tileOverlap;
VipsForeignDzContainer tileContainer;
@@ -155,6 +156,7 @@ struct PipelineBaton {
convKernelScale(0.0),
convKernelOffset(0.0),
bandBoolOp(VIPS_OPERATION_BOOLEAN_LAST),
extractChannel(-1),
tileSize(256),
tileOverlap(0),
tileContainer(VIPS_FOREIGN_DZ_CONTAINER_FS),