TWI420384B - Electronic device and method for adjusting displaying location of the electronic device - Google Patents

Electronic device and method for adjusting displaying location of the electronic device Download PDF

Info

Publication number
TWI420384B
TWI420384B TW98116277A TW98116277A TWI420384B TW I420384 B TWI420384 B TW I420384B TW 98116277 A TW98116277 A TW 98116277A TW 98116277 A TW98116277 A TW 98116277A TW I420384 B TWI420384 B TW I420384B
Authority
TW
Taiwan
Prior art keywords
electronic device
group
option map
pixel
display screen
Prior art date
Application number
TW98116277A
Other languages
Chinese (zh)
Other versions
TW201040833A (en
Inventor
Jiue Rou Shiu
Original Assignee
Chi Mei Comm Systems Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chi Mei Comm Systems Inc filed Critical Chi Mei Comm Systems Inc
Priority to TW98116277A priority Critical patent/TWI420384B/en
Publication of TW201040833A publication Critical patent/TW201040833A/en
Application granted granted Critical
Publication of TWI420384B publication Critical patent/TWI420384B/en

Links

Description

Electronic device and method for adjusting position of display screen of the electronic device

The present invention relates to an electronic device and a method of adjusting the position of a display screen of the electronic device.

With the development of society, mobile phones have been greatly popularized due to the reduction in manufacturing costs of electronic devices such as mobile phones and the convenience brought about by them.

Due to the limitation of the display size of the mobile phone, the user often has difficulty in browsing. Generally, the manipulation of the enlarged screen is performed after the screen is enlarged to meet the required size, and then moved by the user to the upper, lower, left, and right directions at a fixed distance, so that it is often necessary to perform repeated operations to adjust to the position to be viewed. Therefore, it causes inconvenience in operation. In order to solve the operational inconvenience, manufacturers use the intuitive touch method and sensing device to control the movement of the screen. Due to the installation of touch and sensing devices, manufacturing costs have increased significantly.

In view of the above, a preferred embodiment of the present invention provides an electronic device and a method for adjusting a position of a display screen of the electronic device, which can automatically map a center position coordinate of a user selected option map to a display screen center when the user selects the enlarged display function. Position to achieve the purpose of adjusting the position of the enlarged display screen.

An electronic device, wherein the electronic device is mounted with a display screen for displaying a picture, the electronic device comprising: a capture module, configured to: when a function of zooming in the display option map is activated and selecting a picture to be enlarged, Taking the three primary color feature values of each pixel of the current display screen; the group module is configured to perform grouping of each pixel by using a hybrid model according to the extracted three primary color feature values of each pixel to distinguish the current image from the foreground a group and a background group; a segmentation module configured to segment an image in the foreground group according to a coordinate position of each option map in the foreground group and use a nearest neighbor rule to obtain at least one option map block a calculation module for calculating a center position coordinate of each option map block; and a mapping module for mapping a center position coordinate of the option map block to the display screen when the user selects an option map block The center position to adjust the position of the selected option map block.

A method for adjusting a position of an electronic device to display a screen, the electronic device installing a display screen, the method comprising the steps of: starting a function of zooming in on the option map and selecting a screen to be enlarged; capturing three primary colors per pixel of the current display screen The feature value; according to the above-mentioned three primary color feature values of each pixel, the hybrid model is used to group each pixel to distinguish the current picture from the foreground group and the background group; according to each option map in the foreground group Position of the coordinates and using the nearest neighbor rule to segment the image in the foreground group to obtain at least one option map block; calculate a coordinate of the center position of each option map block; select an option map block; The center position coordinate of the selected option map block is mapped to the center of the display screen and enlarged to adjust the position of the option map block.

Compared with the prior art, the electronic device and the method for adjusting the position of the display screen of the electronic device can automatically map the center position coordinate of the option map selected by the user to the center position of the display screen when the user selects the enlarged display function. The purpose of adjusting the position of the enlarged display screen is achieved. By utilizing the present invention, it is possible to bring operational convenience to the user.

Referring to FIG. 1, a schematic diagram of a functional module of a preferred embodiment of an electronic device of the present invention is shown. The electronic device 1 can be a mobile phone, a PDA (personal digital assistant), a handheld game console, a digital camera or a palmtop computer.

The electronic device 1 includes a display screen 18 for displaying each option map. Since the size of the display screen 18 is limited, when the user wants to enlarge and display a certain option map, the position of the option map needs to be adjusted.

The electronic device 1 further includes a capture module 10 , a group module 12 , a segmentation module 14 , a calculation module 15 , and a mapping module 16 .

The capturing module 10 is configured to capture three primary color features of each pixel of the current display screen (such as the current display screen 30 shown in FIG. 3) when the user selects the function of zooming in the display option map and selects a screen. Values, ie R (Red, Red), G (Green, Green), B (Blue, Blue) eigenvalues. The feature values can adequately represent the color characteristics of each pixel.

The group module 12 is configured to perform a group of each pixel by using a hybrid model (for example, an expectation value-maximization algorithm) according to the R, G, and B feature values of each pixel captured by the capture module 10. Grouping to distinguish between foreground group 32 and background group 34. At least one option map is included in the foreground group. The option map currently displayed by the electronic device 1 is composed of a foreground and a background. In general, the foreground is brighter and the background is dim. Wherein the expectation-maximization algorithm is to seek an optimal hybrid model by moving the Gaussian distribution mean, which is mainly divided into two steps to establish the optimal hybrid model.

The first step: calculating the probability that each pixel belongs to each group (foreground group and background group), and classifying each pixel into the group with the greatest possibility;

The second step: after grouping, adjust the average and variation of the group to make the estimated Gaussian distribution and the actual pixel distribution reach the maximum.

The segmentation module 14 is configured to perform image segmentation on the foreground according to coordinate positions of each option map in the foreground group. In the preferred embodiment, the nearest neighbor rule can be used to calculate the distance between pixels in the foreground to find the option map block 36 to which the pixel belongs. The segmented option map block can more accurately represent the location of the original option map, and its shape and size are consistent with the original option map.

The calculation module 15 is configured to divide each of the option map blocks to which the option map block belongs, and then calculate the center position coordinate of each option map block and the area of the option map block.

The mapping module 16 is configured to: when the user selects an option map block, map the center position coordinate of the option map block to the center position of the display screen 18 to achieve the purpose of directly adjusting the selected option map position. Thus, the user can avoid repeated operations to adjust the position of the selected option map.

The electronic device 1 further includes a memory 20, and the memory 20 stores various types of materials, including an operating system, various programs, and materials that are set and generated during the process of adjusting the position of the screen by the electronic device 1.

The memory 20 may be built in or independent of the electronic device 1, and may be a SIM card (Smart Media Card), an SD card (Secure Digital Card), or a CompactFlash Card (Compact Flash Card). Standard flash memory card), MMC card (Multi Media Card), MS card (Memory Stick), XD card (Extreme Digital Card), TF card (Trans Flash Card), etc.

In order to improve the present invention, in order to facilitate the user's operation, the option map block having the largest area in the current screen selected by the user may be defaulted to the currently selected option map, and the center position coordinate of the largest option map is mapped to the display screen. The center position of 18. Then, when the user needs to zoom in on other option maps in the screen, the user can browse through the option maps from top to bottom and from left to right by operating the keyboard.

In addition, the present invention can be used not only to adjust the option map selected by the user but also to adjust the display screen of the text content.

2 is a flow chart showing the operation of adjusting the position of the display screen of the electronic device according to the present invention.

In step S201, the user activates the function of enlarging the display option screen and selects the screen to be enlarged. For example, in the preferred embodiment, the user can select the screen 30 to be enlarged.

In step S202, the capture module 10 captures the R, G, and B feature values of each pixel in the screen 30 to be enlarged.

Step S203: Perform image grouping according to the extracted R, G, and B feature values to distinguish the foreground group 32 and the background group 34. The grouping may utilize a hybrid model (eg, an expectation-maximization algorithm) to group each pixel to distinguish between foreground group 32 and background group 34. Wherein the expectation-maximization algorithm is to seek an optimal hybrid model by moving the Gaussian distribution mean, which is mainly divided into two steps to establish the optimal hybrid model.

The first step: calculating the probability that each pixel belongs to each group (foreground group and background group), and classifying each pixel into the group with the greatest possibility;

The second step: after grouping, adjust the average and variation of the group to make the estimated Gaussian distribution and the actual pixel distribution reach the maximum.

Step S204: Perform image segmentation on the foreground according to coordinate positions of each option map in the foreground group. In the preferred embodiment, the nearest neighbor rule can be used to calculate the distance between pixels in the foreground to find the option map block 36 to which the pixel belongs. The segmented option map block can more accurately represent the location of the original option map, and its shape and size are consistent with the original option map.

In step S205, the area size and the center position coordinate of each option map block 36 are calculated.

In step S206, the option map block 36 with the largest default area is the option map currently selected by the user. In other embodiments, the option map block with the smallest default area is also the option map currently selected by the user.

In step S207, the center position coordinate of the selected option map is mapped to the center position of the display screen 18 and the option map is enlarged. In the preferred embodiment, the user can also fine-tune the enlarged option map by moving a button up, down, left, and right.

In step S208, it is determined that the signal that the user continues to select to display other option maps is received. In the preferred embodiment, the user can select another option map in the current display screen by moving a button up, down, left, and right. If received, the flow returns to step S207; conversely, the flow ends. As shown in FIG. 3, the present invention is a schematic diagram of grouping and image segmentation. After the user activates the function of enlarging the display screen and selects the current display screen 30; the group module 12 groups the display screens 30 by using a hybrid model or the like to distinguish the foreground group 32 and the background group 34; The module 14 performs image segmentation on the foreground according to the coordinate position of each option map in the foreground group 32 to obtain an option map block 36; the last mapping module 16 maps the center position coordinates of the option map block 36 to The center position of the screen 18 is displayed for enlarged display.

The above is only the preferred embodiment of the present invention, and has been used in a wide range of applications. Any other equivalent changes or modifications which are not departing from the spirit of the present invention should be included in the following claims. Inside.

1. . . Electronic device

10. . . Capture module

12. . . Group module

14. . . Split module

15. . . Computing module

16. . . Mapping module

18. . . Display screen

20. . . Memory

30. . . Display

32. . . Foreground group

34. . . Background group

36. . . Option map block

1 is a functional block diagram of an electronic device of the present invention.

2 is a flow chart of adjusting the position of the display screen of the electronic device according to the present invention.

3 is a schematic diagram of grouping and image segmentation of the present invention.

1. . . Electronic device

10. . . Capture module

12. . . Group module

14. . . Split module

15. . . Computing module

16. . . Mapping module

18. . . Display screen

20. . . Memory

Claims (9)

  1. An electronic device is mounted with a display screen for displaying a screen, the electronic device comprising: a capture module for when a function of zooming in on the option map is activated and a screen to be enlarged is selected, The three primary color feature values of each pixel of the current display screen are captured; the group module is configured to perform grouping of each pixel by using a hybrid model according to the extracted three primary color feature values of each pixel to distinguish the current image. a foreground group and a background group; a segmentation module configured to segment an image in the foreground group according to a coordinate position of each option map in the foreground group and use a nearest neighbor rule to obtain at least one option map area a calculation module for calculating a center position coordinate of each option map block; and a mapping module for mapping a center position coordinate of the option map block to a display screen when the user selects an option map block The center position to adjust the position of the selected option map block.
  2. The electronic device according to claim 1, wherein the hybrid model is an expected value-maximization algorithm, which is divided into two steps: calculating a probability that each pixel belongs to each group, and each pixel is The group with the highest probability is classified; after grouping, the average value and variation difference of the group are adjusted to make the estimated Gaussian distribution and the actual pixel distribution reach the maximum.
  3. The electronic device of claim 1, wherein the computing module is further configured to calculate an area of each option map block.
  4. The electronic device of claim 1, wherein the electronic device is any one of a mobile phone, a personal digital assistant, a handheld game console, a digital camera, or a palmtop computer.
  5. A method for adjusting a position of an electronic device to display a screen, the electronic device installing a display screen, the method comprising the steps of: starting a function of zooming in on the option map and selecting a screen to be enlarged; capturing three primary colors per pixel of the current display screen The feature value; according to the above-mentioned three primary color feature values of each pixel, the hybrid model is used to group each pixel to distinguish the current picture from the foreground group and the background group; according to each option map in the foreground group Position of the coordinates and using the nearest neighbor rule to segment the image in the foreground group to obtain at least one option map block; calculate a coordinate of the center position of each option map block; select an option map block; The center position coordinates of the selected option map block are mapped to the center of the display screen and enlarged to adjust the position of the option map block.
  6. The method for adjusting an electronic device display screen position as described in claim 5, wherein the hybrid model is an expected value-maximization algorithm, which is divided into two steps: calculating a probability that each pixel belongs to each group, Each pixel is classified into the most likely group; after grouping, the average and variation of the group are adjusted to make the estimated Gaussian distribution the largest match with the actual pixel distribution.
  7. The method of adjusting an electronic device to display a screen position as described in claim 5, wherein the calculating step further comprises: calculating an area of each option map block.
  8. For example, the method for adjusting the position of the display screen of the electronic device according to the seventh aspect of the patent application, wherein the mapping step further comprises: by default, the option map block having the largest area calculated above is the currently selected option map block; and the maximum option map of the area. The center position coordinates are mapped to the center of the display screen for magnification.
  9. The method of adjusting an electronic device to display a screen position as described in claim 5, wherein the electronic device is any one of a mobile phone, a personal digital assistant, a handheld game console, a digital camera, or a palmtop computer.
TW98116277A 2009-05-15 2009-05-15 Electronic device and method for adjusting displaying location of the electronic device TWI420384B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98116277A TWI420384B (en) 2009-05-15 2009-05-15 Electronic device and method for adjusting displaying location of the electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98116277A TWI420384B (en) 2009-05-15 2009-05-15 Electronic device and method for adjusting displaying location of the electronic device

Publications (2)

Publication Number Publication Date
TW201040833A TW201040833A (en) 2010-11-16
TWI420384B true TWI420384B (en) 2013-12-21

Family

ID=44996105

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98116277A TWI420384B (en) 2009-05-15 2009-05-15 Electronic device and method for adjusting displaying location of the electronic device

Country Status (1)

Country Link
TW (1) TWI420384B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6766054B1 (en) * 2000-08-14 2004-07-20 International Business Machines Corporation Segmentation of an object from a background in digital photography
TW200513908A (en) * 2003-05-07 2005-04-16 Ibm Display data mapping method, system, and program product
US20050207630A1 (en) * 2002-02-15 2005-09-22 The Regents Of The University Of Michigan Technology Management Office Lung nodule detection and classification
TW200632782A (en) * 2004-09-28 2006-09-16 Qualcomm Inc Magnification and pinching of two-dimensional images

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6766054B1 (en) * 2000-08-14 2004-07-20 International Business Machines Corporation Segmentation of an object from a background in digital photography
US20050207630A1 (en) * 2002-02-15 2005-09-22 The Regents Of The University Of Michigan Technology Management Office Lung nodule detection and classification
TW200513908A (en) * 2003-05-07 2005-04-16 Ibm Display data mapping method, system, and program product
TW200632782A (en) * 2004-09-28 2006-09-16 Qualcomm Inc Magnification and pinching of two-dimensional images

Also Published As

Publication number Publication date
TW201040833A (en) 2010-11-16

Similar Documents

Publication Publication Date Title
US9299168B2 (en) Context aware user interface for image editing
US10282067B2 (en) Method and apparatus of controlling an interface based on touch operations
US20120242852A1 (en) Gesture-Based Configuration of Image Processing Techniques
US20110018827A1 (en) Information processing apparatus, display method, and display program
US8760537B2 (en) Capturing and rendering high dynamic range images
JP6170152B2 (en) Setting operating system colors using photos
US8237678B2 (en) Apparatus and method for detecting contact on or proximity to a touch screen
CN203276350U (en) Information processing apparatus
EP3404520A1 (en) Method of displaying information by using touch input in mobile terminal
KR100938337B1 (en) An autonomous handheld device having a?drawing tool
US20130009989A1 (en) Methods and systems for image segmentation and related applications
WO2010136969A1 (en) Zooming of displayed image data
JP2007095030A (en) Graphic signal display apparatus and method for hand-held terminal
CN103945113A (en) Method and apparatus for photographing in portable terminal
WO2009082822A1 (en) Method and apparatus with depth map generation
US9104310B2 (en) Information processing control device
US20140187223A1 (en) Adaptive thresholding for image recognition
US9619861B2 (en) Apparatus and method for improving quality of enlarged image
EP2306270A1 (en) Character input method and system, electronic device and keyboard thereof
US8976178B2 (en) Display switching apparatus, display switching method, and display switching program
US9496005B2 (en) Electronic apparatus, display control method and program for displaying an image for selecting a content item to be reproduced
CN105830009A (en) Selection and tracking of objects for display partitioning and clustering of video frames
US20120198386A1 (en) Causing display of thumbnail images
US9654685B2 (en) Camera apparatus and control method thereof
KR20150136440A (en) Method for controlling display and electronic device supporting the same

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees