A method for determining whether a video camera is out-of-focus, the method comprising: capturing, by an image sensor of the video camera, image data; setting a focus setting difference threshold based on a filter setting of a filter function, wherein the filter function is configured to filter the image data as part of transforming the image data to a video stream so that redundant, or deemed superfluous, information from the image data is removed during the process of transforming the image data to a video stream, wherein the focus setting difference threshold is set such that the step of forming the video stream by applying the filter function on common image data, captured with different focus settings, results in substantially indifferent video stream image data; while capturing the image data, adjusting a focus setting of the video camera between a present focus setting and an altered focus setting such that a first subset of the image data is captured with the video camera being set in the present focus setting and such that a second subset of the image data is captured with the video camera being set in the altered focus setting, wherein the adjusting is performed such that a difference between the present focus setting and the altered focus setting is below the focus setting difference threshold; forming the video stream by applying the filter function on the image data; determining a first focus metric of the first subset of the image data and a second focus metric of the second subset of the image data, wherein the first and second focus metrics are determined on the image data prior to applying the filter function on the image data; and determining whether the video camera is out-of-focus by comparing the first and second focus metrics. capturing, by an image sensor of the video camera, image data; setting a focus setting difference threshold based on a filter setting of a filter function, wherein the filter function is configured to filter the image data as part of transforming the image data to a video stream so that redundant, or deemed superfluous, information from the image data is removed during the process of transforming the image data to a video stream, wherein the focus setting difference threshold is set such that the step of forming the video stream by applying the filter function on common image data, captured with different focus settings, results in substantially indifferent video stream image data; while capturing the image data, adjusting a focus setting of the video camera between a present focus setting and an altered focus setting such that a first subset of the image data is captured with the video camera being set in the present focus setting and such that a second subset of the image data is captured with the video camera being set in the altered focus setting, wherein the adjusting is performed such that a difference between the present focus setting and the altered focus setting is below the focus setting difference threshold; forming the video stream by applying the filter function on the image data; determining a first focus metric of the first subset of the image data and a second focus metric of the second subset of the image data, wherein the first and second focus metrics are determined on the image data prior to applying the filter function on the image data; and determining whether the video camera is out-of-focus by comparing the first and second focus metrics.