OrsSuperResolution_825edb7cf5b811e9a16b40167e7aa991

author:bprov
contact:
email:
organization:
address:
copyright:
date:Oct 23 2019 13:14
dragonflyVersion:
 4.5.0.11500
UUID:825edb7cf5b811e9a16b40167e7aa991

Class Code

class OrsPythonPlugins.OrsSuperResolution_825edb7cf5b811e9a16b40167e7aa991.OrsSuperResolution_825edb7cf5b811e9a16b40167e7aa991.OrsSuperResolution_825edb7cf5b811e9a16b40167e7aa991(varname=None)
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
apply(deep_model: ORSServiceClass.deepTrainer.deepmodel.DeepModel, deep_models_manager: ORSServiceClass.deepTrainer.deepmodelsmanager.DeepModelsManager, dataset: ORSModel.ors.Channel, mask: ORSModel.ors.ROI = None, progress: ORSModel.ors.Progress = None) → ORSModel.ors.Channel
decrease_parameter_size(param)
generate_model(model_name, description, scale_factor)
classmethod getMainFormClass()

Gets the class of the main form

Returns:output
get_current_model() → ORSServiceClass.deepTrainer.deepmodel.DeepModel
get_current_model_manager() → ORSServiceClass.deepTrainer.deepmodelsmanager.DeepModelsManager
get_input_structured_grid() → ORSModel.ors.StructuredGrid
get_scale_factor()
get_selected_slices_enabled() → bool
get_selected_slices_mask() → ORSModel.ors.ROI
keepAlive = False
multiple = False
onCurrentDisplayChange()
savable = False
save_model(model)
set_current_model(deep_model: ORSServiceClass.deepTrainer.deepmodel.DeepModel)
set_current_model_manager(deep_model_manager: ORSServiceClass.deepTrainer.deepmodelsmanager.DeepModelsManager)
set_input_structured_grid(input_sg: ORSModel.ors.StructuredGrid)
set_scale_factor(scale_factor)
showInToolbar = True
classmethod startupDefault(openMainForm=True)

Creates an instance of the plugin class and opens the main form (if required) at the default position.

Returns:output (AbstractPlugin) – plugin instance
classmethod superResolution_openGUI()
classmethod toolsMenu()
train(deep_model: ORSServiceClass.deepTrainer.deepmodel.DeepModel, training_datasets: List[OrsPythonPlugins.OrsSuperResolution_825edb7cf5b811e9a16b40167e7aa991.superresolutiontrainingdataset.SuperResolutionTrainingDataSet], progress: ORSModel.ors.Progress)