general pipeline components used for image processing