'**SUMMARY**
Perform bitwise OR operation on images
**PARAMETERS**
img - the bitwise operation to be performed with
grayscale
**RETURNS**
SimpleCV.ImageClass.Image
**EXAMPLE**
>>> img = Image("something.png")
>>> img1 = Image("something_else.png")
>>> img.logicalOR(img1, grayscale=False)
>>> img.logicalOR(img1)'

def logicalOR(self, img, grayscale=True):

    if (not (self.size() == img.size())):
        print 'Both    images    must    have    same    sizes'
        return None
    try:
        import cv2
    except ImportError:
        print 'This    function    is    available    for    OpenCV    >=    2.3'
    if grayscale:
        retval = cv2.bitwise_or(self.getGrayNumpyCv2(), img.getGrayNumpyCv2())
    else:
        retval = cv2.bitwise_or(self.getNumpyCv2(), img.getNumpyCv2())
    return Image(retval, cv2image=True)
