pb4.add(kernel);
RenderedOp sigma = JAI.create("convolve", pb4, null);
Raster sigmaTile = sigma.getData(targetRectangle);
for (int y = (qualityTile.getMinY()); y <= qualityTile.getMaxY(); y++) {
for(int x = qualityTile.getMinX(); x <= qualityTile.getMaxX(); x++) {
<BUG>if (x < edgeAffected || (qualityTile.getMaxX() - x) < edgeAffected ||
(filterTile != null && filterTile.getSampleInt(x, y) == filterBand.getNoDataValue())){</BUG>
qualityTile.setSample(x, y, noDataValue);
xDisparityTile.setSample(x, y, noDataValue);
yDisparityTile.setSample(x, y, noDataValue);

pb4.add(kernel);
RenderedOp sigma = JAI.create("convolve", pb4, null);
Raster sigmaTile = sigma.getData(targetRectangle);
for (int y = (qualityTile.getMinY()); y <= qualityTile.getMaxY(); y++) {
for(int x = qualityTile.getMinX(); x <= qualityTile.getMaxX(); x++) {
if (x < EDGE_AFFECTED || (qualityTile.getMaxX() - x) < EDGE_AFFECTED ||
(filterTile != null && filterTile.getSampleInt(x, y) == filterBand.getNoDataValue())){
qualityTile.setSample(x, y, noDataValue);
xDisparityTile.setSample(x, y, noDataValue);
yDisparityTile.setSample(x, y, noDataValue);
