1. A method comprising steps: a) with a camera in a vehicle, producing first image data representing an object in outside surroundings of the vehicle and second image data representing precipitation particles on an area of a windshield of the vehicle; b) evaluating the second image data to determine precipitation particle information including a number and/or a size of the precipitation particles on the area of the windshield; and c) evaluating the first image data by applying at least one evaluation algorithm comprising an edge detection algorithm with at least one evaluation parameter to detect and classify the object, wherein the evaluation parameter comprises an edge detection threshold value for determining which ones of image transitions in the first image data are regarded as edges, and selecting or changing the edge detection threshold value in response to and dependent on the precipitation particle information.