Abstract:
The invention relates to an electronic device, which includes a display component, in which at least one controllable element is arranged to be visualized in its entirety, the control of which element is arranged to be based on determining a change (M) relating to the attitude or position of the device and camera means arranged to form image frames (IMAGE1, IMAGE2), and in which, in order to control the functions of the device, such as, for example, to control the element, the change is arranged to be determined, using optical data-flow algorithms, from the image frames formed by the camera means, which image frames are arranged to be compared to each other in a set manner, and on the basis of which comparison the said change is arranged to be determined. The image frames are arranged to be segmented in a selected manner, from which at least one movement vector (SR, SL, SUp, SDown) determining the said change is arranged to be determined from at least some of the segments (SEGMENT1, SEGMENT2).