#NEWLINE# @ classmethod #NEWLINE# def register( cls , reg , basic ) : #NEWLINE# #INDENT# reg . add_module ( cls , name = 'Normalize Image Filter' , namespace = cls . my_namespace ) #NEWLINE# reg . add_input_port ( cls , 'Input Image' , ( Image , 'Input Image' ) ) #NEWLINE# reg . add_input_port ( cls , 'Input PixelType' , ( PixelType , 'Input PixelType' ) , True ) #NEWLINE# reg . add_input_port ( cls , 'Output PixelType' , ( PixelType , 'Output PixelType' ) , True ) #NEWLINE# reg . add_input_port ( cls , 'Dimension' , ( basic . Integer , 'Dimension' ) , True ) #NEWLINE# reg . add_output_port ( cls , 'Output Image' , ( Image , 'Output Image' ) ) #NEWLINE# reg . add_output_port ( cls , 'Filter' , ( Filter , 'Filter' ) , True ) #NEWLINE# reg . add_output_port ( cls , 'Output PixelType' , ( PixelType , 'Output PixelType' ) , True )