Řešení spočívá v tom, že se nejprve získává obraz, který sestává z obrazových prvků a má formu bitmapové matice, přičemž v obraze se dále vymezuje oblast (14) zájmu, pro kterou se následně stanovuje souřadnicový systém (15) nebo se nejprve vymezuje část (13) obrazu pro kterou se stanovuje souřadnicový systém (15) a teprve následně se v části (13) obrazu vymezuje oblast (14) zájmu, poté se v oblasti (14) zájmu specifikuje nejméně jeden segment (12) obrazu a dále se pro nejméně jeden segment (12) obrazu zjišťuje reprezentativní hodnota, která představuje průměrnou hodnotu nejméně jedné vlastnosti obrazových prvků příslušejících k danému segmentu (12) obrazu. Nejméně jednou vlastností obrazových prvků může být intenzita šedi obrazu, který je ve stupních šedi nebo intenzita představující poměrné zastoupení intenzit nejméně dvou barev barevného obrazu, a nebo intenzita získaná zprůměrováním nebo sečtením intenzit nejméně dvou barev barevného obrazu. Následně se pro každý segment (12) obrazu vyhodnocuje reprezentativní hodnota.\ufeff\u0159e\u0161en\u00ed lies in that it first obtains image which consists of pixels and has the form of a bitmapov\u00e9 matrix, while in the loop also defines a region (14) of interest, which are subsequently fixed coordinate system (15) or first defines the part (13) image p ro establishing a coordinate system (15), and only then in part (13) of the image area (14) of thethen in the area (14) of the at least one segment (12) of the image, and furthermore, for at least one segment (12), the image is a representative value which represents the average value of at least one characteristics of the pixels belonging to the segment (12) brazu.at least one feature of pixels may be the intensity of gray image, which is in grayscale or intensity of intensities of at least two colors representing the percentage of colored image, and or intensity obtained zpr\u016fm\u011brov\u00e1n\u00edm or by summing the intensities of at least two in the color color