Image-Filter operator consumes to much memory

Description

The Image-Filter operator currently consumes too much memory.
Mainly because of two reasons.
It sets the whole scene width as the preferred tile width.
For a product with a scene width of ~150000. That's too much.
Actually, the preferred tile size shouldn't be set at all.

The second issue is that a temporary band is created and added to the source product, then this is copied to the target band in the computeTile. This duplicates the memory consumption.
It should be possible to set the temporary band directly as the target band and leave the computeTile implementation empty. Maybe the image must be copied.
Besides this, a source product should never be altered.

Environment

None

Status

Assignee

Luis Veci

Reporter

Marco Peters

Labels

None

Components

Affects versions

7.0.3

Priority

Major
Configure