# -*- coding: utf-8 -*-
"""
Created on Mon May  7 17:53:56 2018

@author: Toolslab6
"""


import cv2

def main():
    imgpath = "C:\\Users\\Toolslab6\\Desktop\\Abhishek_Kumar_JavaScript\\OpneCV\\misc\\4.1.02.tiff"
    img =cv2.imread(imgpath)
    #img =cv2.imread(imgpath,0)
    outpath ="C:\\Users\\Toolslab6\\Desktop\\Abhishek_Kumar_JavaScript\\OpneCV\\4.1.02COPY.tiff"
    cv2.imwrite(outpath,img)
    cv2.namedWindow('Window_Name',cv2.WINDOW_AUTOSIZE)
    cv2.imshow('Window_Name',img)
    cv2.waitKey(1024)  # Wait for the input from the keyboard
    cv2.destroyWindow('Window_Name') # Will close all the windows opend for image display
    
if __name__ == "__main__":
    main()    
fc823b2a2cb10cba3f362534f2f2982d00c415e5
<mask token>

<mask token>


def main():
    imgpath = (
        'C:\\Users\\Toolslab6\\Desktop\\Abhishek_Kumar_JavaScript\\OpneCV\\misc\\4.1.02.tiff'
        )
    img = cv2.imread(imgpath)
    outpath = (
        'C:\\Users\\Toolslab6\\Desktop\\Abhishek_Kumar_JavaScript\\OpneCV\\4.1.02COPY.tiff'
        )
    cv2.imwrite(outpath, img)
    cv2.namedWindow('Window_Name', cv2.WINDOW_AUTOSIZE)
    cv2.imshow('Window_Name', img)
    cv2.waitKey(1024)
    cv2.destroyWindow('Window_Name')


<mask token>

<mask token>


def main():
    imgpath = (
        'C:\\Users\\Toolslab6\\Desktop\\Abhishek_Kumar_JavaScript\\OpneCV\\misc\\4.1.02.tiff'
        )
    img = cv2.imread(imgpath)
    outpath = (
        'C:\\Users\\Toolslab6\\Desktop\\Abhishek_Kumar_JavaScript\\OpneCV\\4.1.02COPY.tiff'
        )
    cv2.imwrite(outpath, img)
    cv2.namedWindow('Window_Name', cv2.WINDOW_AUTOSIZE)
    cv2.imshow('Window_Name', img)
    cv2.waitKey(1024)
    cv2.destroyWindow('Window_Name')


if __name__ == '__main__':
    main()

<mask token>
import cv2


def main():
    imgpath = (
        'C:\\Users\\Toolslab6\\Desktop\\Abhishek_Kumar_JavaScript\\OpneCV\\misc\\4.1.02.tiff'
        )
    img = cv2.imread(imgpath)
    outpath = (
        'C:\\Users\\Toolslab6\\Desktop\\Abhishek_Kumar_JavaScript\\OpneCV\\4.1.02COPY.tiff'
        )
    cv2.imwrite(outpath, img)
    cv2.namedWindow('Window_Name', cv2.WINDOW_AUTOSIZE)
    cv2.imshow('Window_Name', img)
    cv2.waitKey(1024)
    cv2.destroyWindow('Window_Name')


if __name__ == '__main__':
    main()

# -*- coding: utf-8 -*-
"""
Created on Mon May  7 17:53:56 2018

@author: Toolslab6
"""


import cv2

def main():
    imgpath = "C:\\Users\\Toolslab6\\Desktop\\Abhishek_Kumar_JavaScript\\OpneCV\\misc\\4.1.02.tiff"
    img =cv2.imread(imgpath)
    #img =cv2.imread(imgpath,0)
    outpath ="C:\\Users\\Toolslab6\\Desktop\\Abhishek_Kumar_JavaScript\\OpneCV\\4.1.02COPY.tiff"
    cv2.imwrite(outpath,img)
    cv2.namedWindow('Window_Name',cv2.WINDOW_AUTOSIZE)
    cv2.imshow('Window_Name',img)
    cv2.waitKey(1024)  # Wait for the input from the keyboard
    cv2.destroyWindow('Window_Name') # Will close all the windows opend for image display
    
if __name__ == "__main__":
    main()    