# Patent

## Title
Portable device with display function

## Abstract

A portable device has a display, a display processor displays a magnification image on a screen of the display, and an input device. The portable device further has a display-area shift processor that shifts the magnification-image-display area in accordance to an input operation administered to the input device, and a position sensor that detects an angle of inclination of the body. Then, The display processor changes the magnification-image-display area to an image area that is inclined by an angle corresponding to the angle of inclination, and the display-area shift processor changes shift directions of the magnification-image-display area from vertical and lateral directions of the original image to directions that are perpendicular to each other and correspond to inclined vertical and lateral directions rotated by the angle of inclination.

## Background
CROSS REFERENCE TO RELATED APPLICATIONS
The present application is a divisional application of pending U.S. application Ser. No. 13/666,295, filed Nov. 1, 2012, which claims priority to Japanese Application NO. 2011-241491, the disclosures of which are expressly incorporated by reference herein in their entireties.


BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a portable device with a display function, such as a digital camera or a cell phone. In particular, it relates to displaying a magnified image.
2. Description of the Related Art
In a digital camera, a recorded photographic image is displayed on the screen of a display, such as an LCD monitor in a playback mode, and part of a displayed image can be magnified by operating a zoom button, which is disposed on the back surface of the camera. While the magnified image is displayed on the screen, an operator can change the area to be magnified by operating a cross-shaped button composed of an up button, a down button, a left button, and a right button. In accordance to the input operation administered to the cross-shaped button, an area to be magnified is shifted in left-right and/or up-down directions. This scrolling function allows an operator to confirm a part of a photographed image in detail.
The shift direction of the magnified area corresponds to up-down or right-left directions on the screen, in accordance to the input operation administered to the cross-shaped button (for example, see JP2004-72207A). Therefore, when an operator would like to see a different area that is apart from the present magnified area in a diagonal or slanted direction, multiple input operations are required since the shift direction is restricted to the vertical and lateral directions on the screen. It is especially time consuming and troublesome when a magnified image is displayed with a high scaling factor.
SUMMARY OF THE INVENTION
The object of the present invention is to provide a portable device that is capable of shifting a magnified area in a desirable direction smoothly and easily.
A portable device according to the present invention comprises a body that comprises a display, a display processor displays a magnification image on a screen of the display, and an input device. The magnification image is obtained by magnifying a part of an original image. The input device is operated to shift a magnification-image-display area in the original image along up-down directions and/or left-right directions on the screen. The portable device further has a display-area shift processor that shifts the magnification-image-display area in accordance to an input operation administered to the input device; and a position sensor that detects an angle of inclination of the body. Then, The display processor changes the magnification-image-display area to an image area that is inclined by an angle corresponding to the angle of inclination, and the display-area shift processor changes shift directions of the magnification-image-display area from vertical and lateral directions of the original image to directions that are perpendicular to each other and correspond to inclined vertical and lateral directions rotated by the angle of inclination.
The display-area shift processor may change a shift amount of the magnification-image-display area relative to the magnitude of the input operation, in response to the angle of inclination.
The display processor may display a sample guide mark that represents a relative position of the magnification-image-display area in the original image. The display processor may display the sample guide mark along a horizontal direction regardless of the angle of inclination.
The display processor may display indicating marks that indicate the up-down and the right-left directions on the screen regardless of the angle of inclination.
The input device may comprise an up button, down button, left button, and right button.
A method for displaying a magnification image, according to another aspect of the present invention, comprises: a) displaying a magnification image on a screen of a display, the magnification image being obtained by magnifying a part of an original image; b) shifting the magnification-image-display area in accordance to an input operation administered to an input device, the input device being operated to shift a magnification-image-display area in the original image along up-down directions and/or left-right directions on the screen; c) detecting an angle of inclination of a body that comprises the body; d) changing the magnification-image-display area to an image area that is inclined by an angle corresponding to the angle of inclination; and e) changing shift directions of the magnification-image-display area from vertical and lateral directions of the original image to directions that are perpendicular to each other and correspond to inclined vertical and lateral directions rotated by the angle of inclination.
A computer readable memory that comprises a program for displaying a magnification image, according to another aspect of the present invention, comprises: a display processing code that displays a magnification image on a screen of a display, the magnification image being obtained by magnifying a part of an original image; a display-area shift processing code that shifts the magnification-image-display area in accordance to an input operation administered to an input device, the input device being operated to shift a magnification-image-display area in the original image along up-down directions and/or left-right directions on the screen; a display changing code that changes the magnification-image-display area to an image area that is inclined by an angle corresponding to an angle of inclination of a body that comprises the display; and a shift direction changing code that changes shift directions of the magnification-image-display area from vertical and lateral directions of the original image to directions that are perpendicular to each other and correspond to inclined vertical and lateral directions rotated by the angle of inclination.
A portable device according to another aspect of the present invention comprises: a body that comprises a display; a display processor displays a magnification image on a screen of the display, the magnification image obtained by magnifying a part of an original image; an input device, the input device being operated to shift a magnification-image-display area in the original image along up-down directions and/or left-right directions on the screen; a display-area shift processor that shifts the magnification-image-display area in accordance to an input operation administered to an input device; and a position sensor that detects an angle of inclination of the body. The input device is operated to shift a magnification-image-display area in the original image along up-down directions and/or left-right directions on the screen. The display-area shift processor changes shift directions of the magnification-image-display area from vertical and lateral directions of the original image to directions that correspond to a diagonal direction of the original image when the angle of inclination exceeds a tolerance angle.
A method for displaying a magnification image, according another aspect of the present invention, comprises: a) displaying a magnification image on a screen of the display, the magnification image obtained by magnifying a part of an original image; b) shifting the magnification-image-display area in accordance to an input operation administered to an input device, the input device being operated to shift a magnification-image-display area in the original image along up-down directions and/or left-right directions on the screen; c) detecting an angle of inclination of a body that comprises the display; and d) changing shift directions of the magnification-image-display area from vertical and lateral directions of the original image to directions that correspond to a diagonal direction of the original image when the angle of inclination exceeds a tolerance angle.
A computer readable memory that comprises a program for displaying a magnification image, according to another aspect of the present invention, comprises: a di splay processing code that displays a magnification image on a screen of the display, the magnification image obtained by magnifying a part of an original image; a display-area shifting code that shifts the magnification-image-display area in accordance to an input operation administered to an input device, the input device being operated to shift a magnification-image-display area in the original image along up-down directions and/or left-right directions on the screen, the display-area shifting code changing shift directions of the magnification-image-display area from vertical and lateral directions of the original image to directions that correspond to a diagonal direction of the original image when a detected angle of inclination exceeds a tolerance angle. The detected angle is an angle of inclination of a body that comprises the display.
A method for displaying a magnification image, another aspect of the present invention, comprises: a) displaying a magnification image on a screen of a display, the magnification image being obtained by magnifying a part of an original image; b) shifting the magnification-image-display area in accordance to an input operation administered to an input device, the input device being operated to shift a magnification-image-display area in the original image along up-down directions and/or left-right directions on the screen; and c) changing shift directions of the magnification-image-display area from vertical and lateral directions of the original image to directions that correspond to a diagonal direction of the original image when a predetermined change input device is operated.



BRIEF DESCRIPTION OF THE DRAWINGS
The present invention will be better understood from the description of the preferred embodiments of the invention set forth below together with the accompanying drawings, in which:
FIG. 1 is a rear view of a digital camera according to the first embodiment;
FIG. 2 is a block diagram of the digital camera;
FIG. 3 is a rear view of the digital camera with a magnified image displayed on the display screen;
FIG. 4 is a view showing the magnification-image-display area when the camera is held in a horizontal position;
FIG. 5 is a view showing the magnification-image-display area when the camera is inclined from the horizontal direction;
FIG. 6 is a flowchart of the magnification display process;
FIG. 7 is a view showing a display of a magnified image according to the second embodiment;
FIG. 8 is a flowchart of a magnification display process according to the second embodiment; and
FIG. 9 is a magnification display according to the third embodiment.



DESCRIPTION OF THE PREFERRED EMBODIMENTS
Hereinafter, the preferred embodiments of the present invention are described with reference to the attached drawings.
FIG. 1 is a rear view of a digital camera according to the first embodiment. FIG. 2 is a block diagram of the digital camera. FIG. 3 is a rear view of the digital camera with a magnified image displayed on the display screen.
A compact digital camera 10 is equipped with a photographing optical system on the front surface of the camera 10 and an LCD 40 on the back surface of the camera 10. A mode dial 13 is operated to select a photographing mode, and a release button 12 is operated to carry out a photographing process. Also, a zoom dial 14; a cross-shaped button 16 composed of an up button 16A, a down button 16B, a right button 16C and a left button 16D; and an execute button 17 are provided on the back surface of the camera 10.
A system control circuit 30 shown in FIG. 2, which includes a CPU, a ROM unit, and a RAM unit, controls the action of the body of the camera 10. A program for controlling the camera 10 is stored in the ROM. When the photographing mode is selected, signal processing for displaying a moving image or live image is performed.
In the present embodiment, a one-chip color filter method using one color filter is applied. On the light-receiving area of a CCD 28, a primary color filter checkered by Red (R), Green (G), and Blue (B) color elements is arranged such that each area of the three color elements is opposite a pixel. An object image is formed on the light-receiving surface of the CCD 28 by light passing through a photographing optical system 24 and a shutter 26, so that analog image-pixel signals corresponding to the object image are generated in the CCD 28. The generated image-pixel signals are successively read from the CCD 28 at constant intervals (e.g., 1/60th-second intervals), and fed to a CDS circuit 30.
The analog image-pixel signals are subjected to a noise reduction process in the CDS circuit 30, and are digitalized on an A/D converter 32. The digital image-pixel signals are subjected to various processes in an image signal processing circuit 34, such as a white-balance adjustment, a color conversion process and a gamma-correction process. Thus, one field's worth of R, G, and B image signals are generated successively. The generated R, G, and B image signals are temporarily stored in an SRAM 36, and are fed to an LCD driver 38. The LCD driver 38 drives the LCD 40 so that a through image is displayed on the LCD 40. Note that the image-pixel signals read from the CCD 28 are subjected to down sampling in accordance to the pixel size of the LCD 40 before the R, G, and B image signals are generated.
When the release button 12 is depressed halfway, the system control circuit 20 detects an operational signal from a half-release switch 52 and carries out a focus adjustment process and an exposure calculation process. A lens controller 42 detects the focus condition of a subject, and the system control circuit 20 outputs a control signal to the lens controller 42 based on a brightness signal from the lens controller 42. A focusing lens in the photographing optical system 24 is shifted so as to bring the subject into focus.
When the release button 12 is fully depressed and a full-push release switch 54 is turned ON, the photographing process to record a still image is carried out. Namely, the shutter 26 opens for a determined period. Thus, one frame's worth of image-pixel signals corresponding to a single still image are read from the CCD 28 and are fed to the system control circuit 20. The one frame's worth of image-pixel signals is subjected to processing in the image-signal processing circuit 34, so that a single digital image is generated and temporarily stored in the SRAM 36. The digital image data is then compressed in accordance with a compression standard such as JPEG, and the compressed image data is recorded in a memory card 44.
When a playback mode is selected with the mode dial 13, a plurality of thumbnail images, namely, a series of recorded images are displayed on the LCD 40. An operator selects one image from the displayed images by pressing the execute button 17 so that corresponding image data is read from the memory card 44 and subjected to an expansion process in the system control circuit 20. The restored image data is fed to the image signal processing circuit 34 so that the recorded image can be displayed on the LCD monitor 40 via the LCD driver 38. Since the resolution or size of the recorded image is larger than that of the LCD 40, the down sampling process is performed on the extended image data.
When the zoom dial 14 is operated by a user during the playback mode, a part of the displayed image is magnified and displayed on the full screen 40S of the LCD 40. The operation of the zoom dial 14 is detected by a zoom switch 56 and a wide switch 58. Thus, as shown in FIG. 3, a partial area EA in the displayed image (original image) IC that has a center point C of the screen 40S as an image-center point is displayed on the full screen 40S as a magnified image (hereinafter, the area EA is called the “magnification-image-display area”).
The magnification process applied to the original image IC is carried out by an electronic zoom function. The magnification-image-display area EA has a size that is determined by the scaling factor. Accordingly, the original image data is subjected to a down sampling or interpolation process so as to match with the size of the area EA. The aspect ratio of the area EA is the same as that of the screen 40S.
While the magnified image I1 is displayed, pointing marks M1 and M2 that indicate up and down directions on the screen 40S, respectively, and pointing marks M3 and M4 that indicate left and right directions, respectively, are displayed. The pointing marks M1-M4 represent a shift direction of the magnification-image-display area on the screen 40S.
In addition to the pointing marks M1-M4, a guide mark G that indicates a relative position of the area EA in the original image IO is displayed at the left corner of the screen 40S. The guide mark G is composed of a frame mark G1 that is displayed along a horizontal direction and a sample mark G2 that represents the position of the magnification-image-display area EA. The frame mark G1 is an indicator for the original image IO and an operator can recognize the position of the sampled or magnified area in the original image IO by the sample mark G2.
Furthermore, the magnified image I1 can be scrolled while the magnified image I1 is displayed. When the up button 16A or the down button 16B is operated, the magnification-image-display area EA is shifted in the up or down direction in the original image IO. When the left button 16C or the right button 16D is operated, the magnification-image-display area EA is shifted in the left or right direction in the original image IO.
A position sensor 46 shown in FIG. 2 detects an angle of inclination relative to a horizontal position of the camera 10. The system control circuit 20 adjusts the magnification-image-display area EA and its shift direction based on the detected angle of inclination. In this embodiment, when the camera 10 is inclined, the scroll direction in the original image is changed from vertical and lateral directions of the original image IO to inclined directions so as to rotate the vertical and lateral directions by the detected angle. Hereinafter, the change of the scroll direction is explained.
FIG. 4 is a view showing the magnification-image-display area when the camera 10 is held in a horizontal position. FIG. 5 is a view showing the magnification-image-display area when the camera 10 is inclined from the horizontal direction.
In FIGS. 4 and 5, the positions of the magnification-image-display area EA in the original image IO are illustrated. Namely, the portion cut from the original image IO to be the “magnified image,” is illustrated. Also, FIGS. 4 and 5 indicate the original image IC) with the position of the camera 10.
When the camera 10 is not inclined and held in the horizontal position, the shift directions of the magnification-image-display area are along the lateral direction TA and the vertical direction TB in the original image IO. In this case, the lateral and vertical directions TA and TB coincide with the left-right and up-down directions on the screen 40S and coincide with the indicating directions of the cross-shaped button 16 and the pointing marks M1-M4.
On the other hand, when the camera 10 is inclined at an angle α, the magnification-image-display area is changed to an area EA′ that is inclined at the angle of inclination α, as shown in FIG. 5. Herein, the inclined angle α is 45 degrees. This inclined magnification-image-display area EA′ is defined by rotating the normal magnification-image-display area EA around the center point C.
Then, the shift direction of the inclined magnification-image-display area EA′ is changed from the lateral and vertical directions TA and TB of the original image IO to directions TA′ and TB′ that are inclined by the angle of inclination α and perpendicular to each other. The directions TA′ and TB′ coincide with the left-right direction and up-down direction on the screen 40S of the inclined camera 10, and the indicating direction of the pointing marks M1-M4, i.e., the indicating direction of the up, down, left, and right buttons 16A-16D.
Therefore, when an operator operates the cross-shaped button 16 to scroll a magnified image in the up-down and left-right directions along the screen 40S, the magnification-image-display area EA′ shifts along the directions TA′ and TB′. The shift directions vary with the angle of inclination of the camera 10; the larger the angle of inclination, the larger the angle of the shift directions.
In accordance to the change in the shift directions, the position of the guide mark G is changed. Concretely, the frame mark G1 is displayed with the angle of inclination α so as to be parallel to the horizontal direction, whereas the sample mark G2 is displayed along the left-right directions of the screen 40S.
FIG. 6 is a flowchart of the magnification display process.
When a zoom operation is carried out by an operator while a recorded image is displayed, a magnification-image-display area EA is sampled or cut from the central portion of the original image IO, and a magnified image based on a predetermined scaling factor (>1) is displayed (S101, S102). In the magnification image process, as is well known, a down sampling process is carried out on the original image data based on the screen size of the LCD 40 (the number of screen pixels), the size of the original image (the number of image pixels), the scaling factor, etc. Also, the guide mark G is displayed with the magnified image (S103). On the other hand, when a wide operation is carried out, an image that is zoomed out is displayed (S110).
In Step S104, it is determined whether the camera 10 is inclined from the horizontal position. When it is determined that the camera 10 is inclined, the magnification-image-display area is changed in accordance to a detected angle and part of the original image that corresponds to the position of the changed magnification-image-display area is displayed as a magnified image (S105). Concretely speaking, the original image data is stored in the SRAM 36 and image data in a memory area corresponding to the changed magnification-image-display area is read out to display the image of the memory area. Also, the display position of the guide mark G is changed in accordance to the angle of inclination (S106).
In Step S107, it is determined whether one of the up, down, left or right buttons 16A-16D has been operated. When it is determined that an input operation has been administered to a button, a determination is made as to whether the magnification-image-display area can be shifted (S108). Herein, it is determined whether the edge portion of the magnification-image-display area exceeds the frame of the original image. When it is determined that the magnification-image-display area can be shifted, the magnification-image-display area is shifted in response to the administered input operation so that a new magnified image is displayed (S109).
When an input operation is performed one time, the size of the shift of the changed or inclined magnification-image-display area is increased by an amount corresponding to the angle of inclination, and compared to that in a state where the magnification-image-display area is flat. Concretely, a triangle in which the angle of inclination is the interior angle is defined and a ratio of the hypotenuse to the base is calculated. Then, the size of the shift in a state where the camera 10 is held in the horizontal position is multiplied so that the size of the shift of the inclined magnification-image-display area is obtained.
In this way, the camera 10 according to the first embodiment is capable of changing the shift-direction of the magnification-image-display area EA. When the camera 10 is inclined from the horizontal position by the angle α, the magnification-image-display area EA′ that is inclined by the angle α is newly defined. Then, In accordance to the input operation administered to the up button 16A, down button 16B, left button 16C, or right button 16D, the modified magnification-image-display area EA′ moves along the changed direction TA′ or TB′.
Since the scroll direction is changed to the slanted direction of the original image, the area to be magnified can be smoothly and rapidly moved from one edge portion of the original image to the other edge portion even if the original image has a very large size. Also, the increase in the size of the shift per one input operation allows the shift of the area to be carried out in a relatively short time.
Furthermore, since the shift directions correspond to the up-down and left-right directions on the screen, the operator can operate the cross-shaped button while confirming a direction indicated by the cross-shaped button and/or the pointing marks M1 to M4. Then, since the frame mark G1 is displayed along the horizontal direction and the sample mark G2 is displayed with the inclined angle relative to the frame mark G1, the position of the displayed magnification image in the original image can be clearly viewed by the operator.
It is not necessary for the shift direction of the magnification-image-display area to coincide exactly with the angle of inclination. The shift direction may be roughly set to the angle of inclination. Also, the change of the shift directions may be restricted to a predetermined range of inclination angles (e.g., 20-60 degrees).
An input device other than the cross-shaped button may be optionally applied to the camera. For example, a touch panel can be utilized. Also, an image other than a photographic image can be display and a part of the image can be magnified.
The display of the guide mark G and indicating marks may be changed in response to an input operation regarding a predetermined input device.
Next, the second embodiment is explained with reference to FIGS. 7 and 8. The second embodiment is different from the first embodiment in that shift directions on the screen are modified. All other constructions are substantially the same as those of the first embodiment.
FIG. 7 is a view showing a display of a magnified image according to the second embodiment.
In the second embodiment, the magnification-image-display area is not change even though the camera is inclined. Instead, the shift directions of the magnification-image-display area are changed from the up-down and the left-right directions on the screen 40S to directions along diagonal lines on the screen 40S. Accordingly, the pointing marks M1 to M4 are displayed at the four corners of the screen 40S.
In this case, the directions indicated by the up, down, left, and right buttons 16A to 16D do not correspond to the scroll direction of the magnified image. To recognize a relationship between the buttons and the marks, the up button 16A is herein given a color different from the colors of the other buttons 16B to 16D, and the mark M1 is displayed with the same color.
Consequently, the magnification-image-display area EA moves along the diagonal direction on the screen in accordance to the input operation administered to the cross-shaped button 16. Herein, when the camera 10 is inclined by an angle within a range that matches the diagonal line of the screen 40S, the shift directions are changed to the diagonal directions. The range of the angle includes an angle β of the diagonal.
FIG. 8 is a flowchart of a magnification display process according to the second embodiment.
The performances of Step S201 to S203 are the same as that of Step S101 to S103 shown in FIG. 6. In Step S204, it is determined whether the angle of inclination “A” exceeds a tolerance angle “A0” and is within a range “R”. Herein, considering the diagonal angle β, the tolerance angle “A0” is set to 20 degrees and the range “R” is between 30 and 50 degrees. On the other hand, when it is determined that the detected angle does not tolerance angle “A0” or the angle is out of the range “R”, the shift directions are not changed.
When it is determined that the angle of inclination “A” is within the range “R”, the display of the indicating marks M1 to M4 and the guide mark G are changed. Steps S207 to S209 are the same as those of Step S107 to S109 shown in FIG. 6. Note that the shift directions are set to the diagonal angle.
In this way, when the camera 10 is inclined by the angle within the predetermined range, the shift directions of the magnification-image-display area is changed to diagonal directions of the screen, i.e., the original image. Accordingly, the indicating marks M1 to M4 are displayed at the four corners of the screen.
Note that the shift direction may be changed in accordance to an angle of inclination, similarly to the first embodiment. In this case, it may be determined whether the display of the guide mark and indicating marks should be changed because of the inclination of the camera. For example, when the detected angle exceeds the tolerance angle and is less than the minimum of the range, the shift-directions may be changed in accordance with the angle.
Next, the third embodiment is explained with reference to FIG. 9. The third embodiment is different from the second embodiment in that the shift direction of the magnification-image-di splay area is changed while maintaining the horizontal position of the camera. The other constructions are substantially the same as those of the second embodiment.
FIG. 9 is a magnification display according to the third embodiment.
In the third embodiment, when a given input operation (herein, an operation administered to the mode dial 13) is carried out, the shift directions of the magnification-image-display area is changed from the up-down and left-right directions to diagonal directions TA and TB that are inclined by the angle β. Then, the indicating marks M1 to M4 are displayed at the four corners of the screen.
Consequently, similarly to the second embodiment, the shift directions of the magnification-image-display area are changed to directions corresponding to the angle β of the diagonal line. Note that the shift directions may be optionally predetermined to an angle other than the angle β of the diagonal line.
Any portable electronic equipment with a photographing function, such as a cellular phone, may be implemented instead of a camera.
Finally, it will be understood by those skilled in the arts that the foregoing descriptions are of preferred embodiments of the device, and that various changes and modifications may be made to the present invention without departing from the spirit and scope thereof.
The present disclosure relates to subject matter contained in Japanese Patent Application No. 2011-241491 (filed on Nov. 2, 2011), which is expressly incorporated herein by reference, in its entirety.

## Claims

1. A portable device comprising:
a body that comprises a display;
a display processor displays a magnification image on a screen of said display, the magnification image obtained by magnifying a part of an original image;
an input device, said input device being operated to shift a magnification-image-display area in the original image along up-down directions and left-right directions on the screen;
a display-area shift processor that shifts the magnification-image-display area in accordance to an input operation administered to said input device; and
a position sensor that detects an angle of inclination of said body, said display-area shift processor changing shift directions of the magnification-image-display area from vertical and lateral directions of the original image to directions that correspond to a diagonal direction of the original image when the angle of inclination exceeds a tolerance angle.

2. The apparatus of claim 1, wherein said display-area shifting processor changes shift directions of the magnification-image-display area when the angle of inclination is within a range corresponding to the diagonal direction.

3. The apparatus of claim 1, wherein said display processor displays indicating marks that indicate the lateral and vertical direction in the original image along the up-down and left-right direction on the screen, said display processor changing the position of the indicating marks to directions that are along diagonal directions of the screen when the magnification-image-display area is changed.

4. The apparatus of claim 1, wherein said input device comprises an up button, down button, left button, and right button.

5. A method for displaying a magnification image, comprising:
displaying a magnification image on a screen of said display, the magnification image obtained by magnifying a part of an original image;
shifting the magnification-image-display area in accordance to an input operation administered to an input device, said input device being operated to shift a magnification-image-display area in the original image along up-down directions and left-right directions on the screen;
detecting an angle of inclination of a body that comprises said display; and
changing shift directions of the magnification-image-display area from vertical and lateral directions of the original image to directions that correspond to a diagonal direction of the original image when the angle of inclination exceeds a tolerance angle.

6. A computer readable memory that comprises a program for causing a computer to display a magnification image, comprising:
a display processing code that displays a magnification image on a screen of said display, the magnification image obtained by magnifying a part of an original image;
a display-area shifting code that shifts the magnification-image-display area in accordance to an input operation administered to an input device, said input device being operated to shift a magnification-image-display area in the original image along up-down directions and left-right directions on the screen, said display-area shifting code changing shifting directions of the magnification-image-display area from vertical and lateral directions of the original image to directions that correspond to a diagonal direction of the original image when a detected angle of inclination exceeds a tolerance angle, wherein the detected angle is an angle of inclination of a body that comprises said display.