#NEWLINE# def merge( self , i , j ) : #NEWLINE# #INDENT# new_region_id = len ( self . size ) #NEWLINE# self . __merge_size ( i , j , new_region_id ) #NEWLINE# self . __merge_color ( i , j , new_region_id ) #NEWLINE# self . __merge_texture ( i , j , new_region_id ) #NEWLINE# self . __merge_bbox ( i , j , new_region_id ) #NEWLINE# return new_region_id