I would do it in the following way.
- Resample
- Idepix
- Subset (Band subset, maybe a regional subset)
This would be my “pre-processing” chain. I would create a graph XML file and let it run from the command line on my input data set (see Bulk Processing with GPT).
Then I would define the mosaic processing and use the pre-processed data as input. Maybe also as a graph. Depends on how often you plan to do it. Here I would specify my area of interest.
Maybe you have taken the ‘pixel_classif_flags.F_INVALID’ from an older IdePix version. The flags have been renamed. Now, in version 6, the flag names start with ‘IDEPIX’. So, it should be ‘IDEPIX_INVALID’.