def createLayer(self, centerW, centerH, Width, Height, label, Theta=0):
    '\n\t\tCreate a Layer\n\n\t\t@param  centerW   center in width-axis of the Layer\n\t\t@param  centerH   center in height-axis of the Layer\n\t\t@param  Width     Width of the Layer\n\t\t@param  Height    Height of the Layer\n\t\t@param  label     Label of the layer\n\t\t@param  Theta     Rotation Angle\n\t\t'
    a = int(((Height * self.Pixel_mm) / 2.0))
    b = int(((Width * self.Pixel_mm) / 2.0))
    for x in range((- a), a):
        for y in range((- b), b):
            tempX = round((x + (centerH * self.Pixel_mm)))
            tempY = round((y + (centerW * self.Pixel_mm)))
            self.I[(tempX, tempY)] = label
    if (Theta != 0):
        self.I = imrotate(self.I, Theta, interp='nearest')
Create a Layer

@param  centerW   center in width-axis of the Layer
@param  centerH   center in height-axis of the Layer
@param  Width     Width of the Layer
@param  Height    Height of the Layer
@param  label     Label of the layer
@param  Theta     Rotation Angle
def createLayer(self, centerW, centerH, Width, Height, label, Theta=0):
    '\n\t\tCreate a Layer\n\n\t\t@param  centerW   center in width-axis of the Layer\n\t\t@param  centerH   center in height-axis of the Layer\n\t\t@param  Width     Width of the Layer\n\t\t@param  Height    Height of the Layer\n\t\t@param  label     Label of the layer\n\t\t@param  Theta     Rotation Angle\n\t\t'
    a = int(((Height * self.Pixel_mm) / 2.0))
    b = int(((Width * self.Pixel_mm) / 2.0))
    for x in range((- a), a):
        for y in range((- b), b):
            tempX = round((x + (centerH * self.Pixel_mm)))
            tempY = round((y + (centerW * self.Pixel_mm)))
            self.I[(tempX, tempY)] = label
    if (Theta != 0):
        self.I = imrotate(self.I, Theta, interp='nearest')