mantidimaging.gui.windows.operations.model module¶
- class mantidimaging.gui.windows.operations.model.FiltersWindowModel(presenter: FiltersWindowPresenter)[source]¶
Bases:
object
- apply_to_stacks(stacks: List[Images], progress=None)[source]¶
Applies the selected filter to a given image stack.
It gets the image reference out of the StackVisualiserView and forwards it to the function that actually processes the images.
- do_apply_filter(stacks: List[Images], post_filter: Callable[[Any], None])[source]¶
Applies the selected filter to the selected stack.
- do_apply_filter_sync(stacks: List[Images], post_filter: Callable[[Any], None])[source]¶
Applies the selected filter to the selected stack in a synchronous manner
- property filter_names¶
- filter_registration_func(filter_name: str) Callable[[QFormLayout, Callable, BaseMainWindowView], Dict[str, Any]] [source]¶
Gets the function used to register the GUI of a given filter.
- Parameters:
filter_name – Name of the filter in the registry
- filters: List[BaseFilter]¶
- link_histograms() bool [source]¶
Gets the link histogram status of a filter. :return: True if the histograms should be linked, False otherwise.
- property params_needed_from_stack¶
- selected_filter: BaseFilter¶