lane/threshold.py
def channel_thresh(channel, thresh=(80, 255)):
    """
    #---------------------
    # This function takes in a channel of an image and
    # returns thresholded binary image
    # 
    """
    binary = np.zeros_like(channel)
    binary[(channel > thresh[0]) & (channel <= thresh[1])] = 255
    return binary

    #---------------------
    # This function takes in a channel of an image and
    # returns thresholded binary image
    # 
    
This function takes in a channel of an image and
returns thresholded binary image
This function takes in a channel of an image and returns thresholded binary image
def channel_thresh(channel, thresh=(80, 255)):
    binary = np.zeros_like(channel)
    binary[(channel > thresh[0]) & (channel <= thresh[1])] = 255
    return binary
def channel_thresh ( channel , thresh = ( 80 , 255 ) ) : binary = np . zeros_like ( channel ) binary [ ( channel > thresh [ 0 ] ) & ( channel <= thresh [ 1 ] ) ] = 255 return binary
This function takes in a channel of an image and
 returns thresholded binary image
This function takes in a channel of an image and returns thresholded binary image
"""
    #---------------------
    # This function takes in a channel of an image and
    # returns thresholded binary image
    # 
    """
channel
thresh