Ternary image obtaining method and apparatus, and vehicle
Abstract:
A method for edge identification of a self-shadowing object based on a visual camera and a vehicle includes: collecting image data of an object to be identified, and performing differentiation processing; according to a preset threshold, performing three-value processing to the image that has been differentiation-processed, to acquire a three-value-processed image including positive-direction boundary pixels and negative-direction boundary pixels; according to the positive-direction boundary pixels and the negative-direction boundary pixels, acquiring a positive-direction straight linear segment and a negative-direction straight linear segment that represent boundary trends of the object to be identified; if the straight linear segments do not create a target object that satisfy a predetermined condition, determining the first boundary according to the predetermined condition; according to the first boundary, determining the second boundary; and by using positions of the first boundary and the second boundary, drawing a peripheral boundary of the object to be identified.
Public/Granted literature
Information query
Patent Agency Ranking
0/0