A method of image processing, comprising the steps of: - providing at least one image of a real environment, - performing an augmented reality application comprising image processing with the at least one image employing visualization of overlaying digital information onto the image or a view of the real environment on a display device displaying the overlay of the digital information and the real environment to a user and employing a method for vision-based tracking, detection, localization, or classification, - adjusting at least one of a parameter and operating flow of the vision-based tracking, detection, localization, or classification depending on at least one of the following: a usage of the image processing, a usage of the visualization, a visually perceivable property of the digital information or the real environment, a property of a display device employed in the visualization, a manner in which a user is viewing the visualization, characterised in that adjusting at least one of a parameter and operating flow of the vision-based tracking, detection, localization, or classification comprises at least one of: including the step of employing in the vision-based tracking, detection, localization, or classification a similarity measure of sum-of-squared differences, wherein the similarity measure is at least in part defined by a threshold value, and adjusting the threshold value; decreasing a number of feature correspondences employed to estimate a camera pose of a camera capturing the at least one image wherein a stable pose estimation of the camera is not performed in the vision-based tracking, detection, localization, or classification; and adjusting a threshold of a re-projection error of the digital information according to a pixels-per-inch parameter of the display device. - providing at least one image of a real environment, - performing an augmented reality application comprising image processing with the at least one image employing visualization of overlaying digital information onto the image or a view of the real environment on a display device displaying the overlay of the digital information and the real environment to a user and employing a method for vision-based tracking, detection, localization, or classification, - adjusting at least one of a parameter and operating flow of the vision-based tracking, detection, localization, or classification depending on at least one of the following: a usage of the image processing, a usage of the visualization, a visually perceivable property of the digital information or the real environment, a property of a display device employed in the visualization, a manner in which a user is viewing the visualization, including the step of employing in the vision-based tracking, detection, localization, or classification a similarity measure of sum-of-squared differences, wherein the similarity measure is at least in part defined by a threshold value, and adjusting the threshold value; decreasing a number of feature correspondences employed to estimate a camera pose of a camera capturing the at least one image wherein a stable pose estimation of the camera is not performed in the vision-based tracking, detection, localization, or classification; and adjusting a threshold of a re-projection error of the digital information according to a pixels-per-inch parameter of the display device.