1. A method of generating a merged line segment, the method comprising: receiving line segment data generated by a first processing core at a second processing core, wherein the line segment data is associated with multiple candidate line segments associated with a first group of pixels of an image, and wherein the line segment data comprises an angle value for each of the multiple candidate line segments, a distance value for each of the multiple candidate line segments, or a combination thereof; identifying, at the second processing core, a set of line segments of the multiple candidate line segments by comparing angle values associated with the multiple candidate line segments, by comparing distance values associated with the multiple candidate line segments, or a combination thereof; determining, at the second processing core, a representative line segment based on the set of line segments of the multiple candidate line segments; storing, by the second processing core, line segment information based on the representative line segment; and merging the representative line segment with a detected line segment associated with a second group of pixels of the image to generate the merged line segment.