mantidimaging.gui.windows.operations.model module#
- class mantidimaging.gui.windows.operations.model.FiltersWindowModel(presenter: FiltersWindowPresenter)[source]#
Bases:
object
- apply_to_images(images: ImageStack, progress=None) None [source]#
- apply_to_stacks(stacks: list[ImageStack], 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[ImageStack], post_filter: Callable[[Any], None])[source]#
Applies the selected filter to the selected stack.
- do_apply_filter_sync(stacks: list[ImageStack], 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
- 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: BaseFilterClass#