slitflow.img.convert module
- class Obs2Depth(info_path=None)[source]
Bases:
ImageMerge images from different observations into the top level depth.
Caution
This class only works when used in a Pipeline object. Running the process method or creating a Data object does not work appropriately.
Observation names for merging should be listed into
obs_nameargument ofadd()in Pipeline class.- Parameters:
- Returns:
Merged Image
- Return type:
- static process(reqs, param)[source]
Merge images from different observations into the top level depth.
- Parameters:
reqs (list of numpy.ndarray) – Images from different observations.
- Returns:
Merged image
- Return type:
- class Obs2DepthRGB(info_path=None)[source]
Bases:
RGBMerge RGB images from different observations into the top level depth.
Caution
This class only works when used in a Pipeline object. Running the process method or creating a Data object does not work appropriately.
Observation names for merging should be listed into
obs_nameargument ofadd()in Pipeline class.- Parameters:
- Returns:
Merged RGB image
- Return type:
- static process(reqs, param)[source]
Merge RGB images from different observations into the top level depth.
- Parameters:
reqs (list of numpy.ndarray) – RGB images from different observations.
- Returns:
Merged RGB image
- Return type: