Digital image processing device and associated methodology of performing touch-based image scaling

A digital image processing device is provided that improves operability when performing a scaling up/scaling down operation. Based on a single trajectory when a touch position on a display screen of a display portion moves, a center point and ratio used to scale up or scale down the image are set. In this way, for example, it is possible to scale up and scale down the image by an easy touch operation of simply tracing the trajectory with a single finger (namely, by a single-touch operation).

TECHNICAL FIELD

An information processing device is provided that employs an image scaling feature for scaling a displayed image using a touch operation.

BACKGROUND ART

It is in known art that information processing devices may employ touch panels. With this type of information processing device, more intuitive operations are realized by using touch operations, such as tapping, dragging, flicking etc., on the touch panel. For example, flicking is an operation in which a surface of the touch panel is lightly flicked by a finger (a touch pen etc. is also possible).

Further, in recent years, information processing devices are also becoming more widespread that have a so-called multi-touch panel on which pinch out and pinch in operations etc. can be performed by simultaneously detecting touch positions in a plurality of locations. In this regard, the pinch out operation is an operation in which two fingers touch the touch panel and a space between the two fingers is widened. The pinch in operation is an operation in which the space between the two fingers is narrowed.

Note that, here, a touch operation realized by simultaneously detecting a plurality of touch positions is sometimes also referred to as a multi-touch operation, and a touch operation realized by detecting a single touch position in one time is sometimes also referred to as a single-touch operation.

It should be noted that, with the above-described multi-touch operation, although diverse touch operations can be performed, because a plurality of fingers are used, the operation becomes complex in comparison to single-touch operation.

SUMMARY OF INVENTION

The present invention addresses the issue described above and proposes an information processing device, an image scaling method and a program thereof that allow improved operability when performing a scaling up/scaling down operation.

A digital image processing device and associated methodology are provided, comprising a touch-screen display interface enables touch control to a user of the image processing device while displaying image data. An interface processor identifies a single touch gesture of the user applied to a surface of the touch-screen display. The single touch gesture designates an area of the displayed image data as a focal center of an image zoom operation.

In this way, based on the single touch trajectory when the touch position moves, the information processing device of the present invention sets the center point and the ratio used to scale the image. By doing this, the information processing device can, for example, scale up and scale down the image by an easy touch operation of simply tracing the trajectory with one finger (namely, by a single-touch operation).

According to the present invention, the image can be scaled up and scaled down by the easy operation of simply tracing the trajectory with the single finger (namely, by the single-touch operation). Thus, the information processing device, the image scaling method and the program thereof are realized that allow improved operability when performing the scaling up/scaling down operation.

DESCRIPTION OF EMBODIMENTS

Hereinafter, exemplary embodiments of the invention (hereinafter referred to as the embodiments) will be explained.

1. First Embodiment

1.1 Outline of First Embodiment

First, an outline of a first embodiment will be explained. It should be noted that after the outline is explained, specific examples of the present embodiment will be explained.

The reference numeral1inFIG. 1indicates an information processing device. The information processing device1has a display portion2that displays images. Further, the information processing device1has a position detecting portion3that detects a touch position on a display screen of the display portion2. In addition, the information processing device1has a trajectory recognition portion4that, when the touch position detected by the position detecting portion3moves, recognizes a single trajectory.

Additionally, the information processing device1has a setting portion5that, based on the single trajectory recognized by the trajectory recognition portion4, sets a center point (focal center) and a ratio that are used to perform scaling of an image being displayed on the display portion2. Furthermore, the information processing device1has a control portion6that, based on the settings made by the setting portion5, scales up or scales down the image being displayed on the display portion2.

With the above-described configuration, based on the single trajectory when the touch position moves, the information processing device1can perform scaling up or scaling down of the image with an easy touch operation (namely, a single touch operation) in which the trajectory is simply traced with one finger.

In addition, the information processing device1may have an image pickup portion7. In this case, images picked up by the image pickup portion7are displayed on the display portion2. Additionally, based on the single trajectory recognized by the trajectory recognition portion4, the setting portion5sets a center point and a zoom ratio used to perform a zoom in or a zoom out operation.

Furthermore, based on the settings made by the setting portion5, the control portion6causes the image being displayed on the display portion2to be scaled up or scaled down by performing zoom control.

With the above-described configuration, based on the single trajectory when the touch position moves, the information processing device1can perform zooming in or zooming out with an easy touch operation (namely, a single touch operation) in which the trajectory is simply traced with one finger.

Specific examples of the information processing device1with the above-described configuration will be explained in more detail below.

1.2 External Configuration of DSC (Digital Still Camera)

Next, an external configuration of a DSC100that is a specific example of the above-described information processing device1will be described with reference toFIG. 2AandFIG. 2B.

The DSC100has a housing101that has a generally flat rectangular shape of a size that can roughly be held in one hand. A taking lens102, an AF (Auto Focus) illuminator103and a flash104are provided on an upper portion of a front surface101A of the housing101. The AF illuminator3is also a self timer lamp.

Further, a lens cover105that can be slid in the up-down direction is provided on the front surface101A. When the lens cover105is slid in the downward direction, the taking lens102, the AF illuminator103and the flash104are exposed, while, when the lens cover105is slid in the upward direction, these members are protected by being covered.

Note that, with the DSC100, a power source is automatically switched on when the lens cover105is slid in the downward direction.

In addition, a shutter button106, a playback button107and a power source button108are provided on an upper surface101B of the housing101. Furthermore, a touch screen109is provided on a rear surface101C of the housing101.

The playback button107is a hardware key that switches an operating mode of the DSC100to a playback mode that displays on the touch screen109images that have been taken. The touch screen109is a display device on which touch operations are possible.

When the lens cover105is slid in the downward direction, or when the power source button108is depressed, the power source of the DSC100is switched on and a photo mode is activated.

Then, the DSC100displays an image that has been picked up via the taking lens102on the touch screen109as a monitoring image. In addition, the DSC100performs zooming in accordance with a touch operation on the touch screen109. Then, when the shutter button106is depressed, the DSC100records an image.

Additionally, when the playback button107is depressed, the DSC100switches to the playback mode. When this happens, the DSC100displays on the touch screen109a single image, for example, from among recorded images. Then the DSC100switches the displayed image in accordance with a touch operation on the touch screen109.

1.3 Hardware Configuration of DSC (Digital Still Camera)

Next, a hardware configuration of the DSC100will be explained with reference toFIG. 3. In the DSC100, a CPU110performs various processes by downloading onto a RAM112programs written into a program ROM111and executing the programs, and also controls each portion in accordance with input signals from a touch panel113and an operating portion114. Note that CPU is an abbreviation of Central Processing Unit. ROM is an abbreviation of Read Only Memory, and RAM is an abbreviation of Random Access Memory.

The touch panel113is a device that, together with a liquid crystal panel115, forms the above-described touch screen109. By touching with a finger a selected position on the touch panel113, coordinates of the touched position (namely, the touch position) are detected. Then, the touch panel113transmits to the CPU110an input signal indicating the coordinates of the touch position.

Note that, during a period in which the touch panel113is continuously touched, such as when a drag operation is being performed etc., the input signal indicating the coordinates of the touch position is periodically transmitted to the CPU110at a certain time interval.

When the CPU110acquires the coordinates of the touch position from the input signal transmitted from the touch panel113, it converts the acquired coordinates to screen coordinates of the liquid crystal panel115, and thus recognizes which position has been touched on the liquid crystal panel115.

Furthermore, by sequentially converting the coordinates of the touch position, which are acquired from the input signal transmitted periodically at the certain time interval, to the screen coordinates of the liquid crystal panel115, the CPU110recognizes in what manner the touch position has moved (namely, recognizes a trajectory of the touch position).

Then, based on the touch position and the trajectory of the touch position recognized in this way, the CPU110determines what kind of touch operation has been performed at which position on the screen.

The operating portion114is a device formed of the shutter button106, the playback button107and the power source button108described above and transmits to the CPU110an input signal in accordance with operation of these buttons.

Based on the input signal transmitted from the operating portion114, the CPU110determines which of the shutter button106, the playback button107and the power source button108has been operated.

In actuality, when the power source button108of the operating portion114is depressed and the power source is switched on, or when an instruction is received to switch the operating mode to the photo mode by touch operation of the touch panel113, the CPU110operates in the photo mode.

At this time, the CPU110controls a motor driver116such that an actuator117is driven, and thus causes a lens portion118, which includes the taking lens102and the AF illuminator103etc. described above, to be exposed from the housing101of the DSC100. In addition, by driving the actuator117, the CPU110adjusts an aperture of the lens portion118, changes a zoom ratio of an optical zoom and moves a focus lens etc.

At that time, the CPU110controls a timing generator119and supplies a timing signal to an image pickup element120that is formed of a CCD (Charge Coupled Device) or the like. By operating based on the timing signal, the image pickup element120converts light from a photographic subject taken in via the lens portion118to an electrical signal (namely, performs photoelectric conversion), and transmits the electrical signal to an analog signal processing portion121.

Based on control by the CPU110, the analog signal processing portion121obtains an analog image signal by performing analog signal processing (amplification etc.) on the electrical signal, and transmits the analog image signal to an analog/digital converter (also sometimes referred to as an A/D converter)122.

Based on control by the CPU110, the A/D converter122obtains a digital image signal by performing analog/digital conversion (A/D conversion) on the transmitted analog image signal, and sends the digital image signal to a digital signal processing portion123.

Based on control by the CPU110, the digital signal processing portion123performs digital signal processing (elimination of noise etc.) on the transmitted digital image signal, and then transmits the processed signal to the liquid crystal panel115. As a result, the image of the photographic subject is displayed on the liquid crystal panel115as the monitoring image. In this way, the DSC100causes a photographer to check the photographic subject.

Further, at this time, based on control by the CPU110, the digital signal processing portion123generates a graphic signal, such as a button or icon, and superimposes the graphic signal on the digital image signal. As a result, a button or an icon etc. is displayed along with the monitoring image on the liquid crystal panel115.

Furthermore, let us assume that zooming in or zooming out by touch operation of the touch panel113is instructed at this time. In this case, the CPU110performs zooming in or zooming out in accordance with the instruction.

Here, the CPU110can control the zoom ratio of the optical zoom by controlling the lens portion118, and can control a zoom ratio of a digital zoom by controlling the digital signal processing portion123.

In other words, in accordance with a zoom in or a zoom out instruction, the CPU110performs the zoom in or zoom out operation by controlling the zoom ratios of the optical zoom and the digital zoom.

As a result, the monitoring image being displayed on the liquid crystal panel115is scaled up (zoom in) or scaled down (zoom out).

Let us further assume that the shutter button106of the operating portion114is depressed at this time. In this case, the CPU110records an image in accordance with the operation.

At this time, based on control by the CPU110, the digital signal processing portion123generates compressed image data, by compressing the digital image signal transmitted from the A/D converter122using a compression and decompression format, such as JPEG, for example. Note that JPEG is an abbreviation of Joint Photographic Experts Group.

The CPU110generates an image file by adding a file header etc. to the compressed image data generated by the digital signal processing portion123.

Then, the CPU110records the image file onto a recording device124. The CPU110records the image in this way.

Note that the recording device124is, for example, a non-volatile memory of around several gigabytes to several tens of gigabytes. The recording device124may be a recording medium that is built into the DSC100in advance, or it may be a recording medium that can be attached to/detached from the DSC100, such as a memory card.

Separately to the recording device124, the DSC100has an EEPROM (Electrically Erasable Programmable ROM)125. The CPU110records onto the EEPROM125information that should be maintained after the power source is turned off, such as various pieces of information set by the user.

On the other hand, when the playback button107of the operating portion114is depressed, or when an instruction is received to switch the operating mode to the playback mode by touch operation of the touch panel113, the CPU110operates in the playback mode.

The CPU110, for example, reads one file (the image file with the most recent capture date, for example) among the image files recorded in the recording device124, extracts the compressed image data from the image file and transmits the compressed image data to the digital signal processing portion123.

Based on control by the CPU110, the digital signal processing portion123obtains the pre-compression digital image signal by decompressing the transmitted compressed image data, and transmits the digital image signal to the liquid crystal panel115. As a result, the played back image (also referred to as a playback image) is displayed on the liquid crystal panel115.

Further, at this time, based on control by the CPU110, the digital signal processing portion123generates a graphic signal, such as a button or icon, and superimposes the graphic signal on the digital image signal. As a result, a button or an icon etc. is displayed along with the playback image on the liquid crystal panel115.

Furthermore, let us assume that scaling up or scaling down of the playback image is instructed by touch operation of the touch panel113at this time. In this case, in accordance with the instruction, the CPU110scales up or scales down the playback image being displayed on the liquid crystal panel115by controlling the digital signal processing portion123.

Let us further assume that it is instructed to switch the playback image by touch operation of the touch panel113. In this case, in accordance with the instruction, the CPU110reads the image file with a more recent or older capture date than the currently displayed playback image, extracts compressed image data from the image file, and transmits the compressed image data to the digital signal processing portion123. As a result, the playback image displayed on the liquid crystal panel115is switched. The CPU110plays back the image in this way.

Note that, the lens portion118and the image pickup element120of the DSC100are hardware that corresponds to the image pickup portion7of the above-described information processing device1. In addition, the liquid crystal panel115of the DSC100is hardware that corresponds to the display portion2of the information processing device1. Furthermore, the touch panel113of the DSC100is hardware that corresponds to the position detecting portion3of the information processing device1. Additionally, the CPU110of the DSC100is hardware that corresponds to the trajectory recognition portion4, the setting portion5and the control portion6of the information processing device1.

It should be noted that, when in the photo mode, the DSC100can perform zoom operations by touch operation of the touch screen109as described above.

Further, when in the playback mode, the DSC100can perform scaling up or scaling down of the playback image by touch operation of the touch screen109.

Hereinafter, touch operations (also referred to as zoom operations) corresponding to this type of zoom (scaling up/scaling down) operation will be explained in more detail.

The zoom operations in the photo mode and the scaling up/scaling down operations in the playback mode are similar touch operations, and the explanation mainly concentrates on the zoom operations in the photo mode.

When switched to the photo mode, the CPU110displays a monitoring image Mp on the touch screen109, as shown inFIG. 4.

Here, when a touch operation is performed on the touch screen109by moving a single finger such that a circle is traced on the monitoring image Mp, as shown inFIG. 5andFIG. 6, the CPU110determines the touch operation to be the zoom operation, and performs the zoom operation.

At that time, if the circle is traced in the clockwise direction, for example, the CPU110makes the center point of the circle the center of the zoom (i.e., focal center), and performs a zoom in operation with a 2× zoom ratio per each circle. As a result, the monitoring image Mp being displayed on the touch screen109is scaled up centering on the center point of the traced circle.

On the other hand, if the circle is traced in the anti-clockwise direction, the CPU110makes the center point of the circle the center of the zoom, and performs a zoom out operation using with a 0.5× zoom ratio per each circle. As a result, the monitoring image Mp being displayed on the touch screen109is scaled down centering on the center point of the traced circle.

More specifically, the CPU110recognizes the trajectory when the touch position moves, by sequentially converting to the screen coordinates the coordinates of the touch position acquired from the input signal that is periodically transmitted from the touch screen109at the certain time interval (every few milliseconds, for example).

Note that, at a predetermined time interval (every few hundred milliseconds, for example), the CPU110recognizes the trajectory of the touch position based on the coordinates of the touch position acquired within the predetermined time interval.

In this case, when the recognized trajectory of the touch position (namely, the trajectory of the finger on the monitoring image Mp) is a circular arc as shown inFIG. 7, the CPU110determines the touch operation to be the zoom operation.

In other words, if screen coordinates A, B and C of three points on the trajectory (a start point, an end point and a point between the start point and the end point, for example) are not positioned on a straight line, the CPU110determines that the trajectory is a circular arc, and that the touch operation is the zoom operation.

Based on the screen coordinates A, B and C of the three points on the circular arc, the CPU110then calculates screen coordinates X of a center point and a radius R of the circle (namely, the circle of which the circular arc is part) that passes through the three points. Here, the CPU110sets the calculated screen coordinates X of the center point of the circle as the zoom center point. Note that, as long as the center point of the circle does not move, the zoom center point is fixed as the screen coordinates X.

Furthermore, from the screen coordinates A, B and C of the three points, and from the radius R that is first calculated, the CPU110then calculates a center angle W of the circular arc. The center angle W represents a ratio of the traced amount (namely, the movement amount of the finger or the length of the circular arc) with respect to a circumference of the circle of which the circular arc is part. For example, if the center angle W is ninety degrees, this means that the length of the traced circular arc is one quarter of the circumference of the circle (three hundred and sixty degrees).

Based on the screen coordinates A, B and C of the three points, the CPU110additionally determines a direction in which the circular arc is traced (namely, whether it is traced in the clockwise or the anti-clockwise direction).

Then, from the direction in which the circular arc is traced and the center angle W of the traced circular arc, the CPU110sets a zoom type (zoom in or zoom out) and the zoom ratio.

For example, assuming that the circular arc is traced in the clockwise direction and the center angle W of the circular arc is ninety degrees, the CPU110sets the zoom type as zoom in and sets the zoom ratio as 1.25×. Further, assuming that the circular arc is traced in the anti-clockwise direction and the center angle W is one hundred and eighty degrees, the CPU110sets the zoom type as zoom out and sets the zoom ratio as 0.75×.

Based on the set screen coordinates X (the center point of the zoom), the zoom type and the zoom ratio, the CPU110then performs the zoom operation. Note that, in this case, one of either the optical zoom or the digital zoom may be used, or both the optical zoom and the digital zoom may be used.

For example, when the center point of the monitoring image Mp is set as the center point of the zoom, the optical zoom may be used, and when the center point of the zoom is displaced from the center point of the monitoring image Mp, the digital zoom may be used.

In this way, based on the center point of the traced circular arc, the amount of the circular arc traced and the direction in which it is traced, which are calculated from the trajectory of the touch position, the CPU110sets the screen coordinates X (the center point of the zoom), the zoom type and the zoom ratio, and then performs the zoom operation.

As a result, as shown inFIG. 5andFIG. 6, the monitoring image Mp that is being displayed on the touch screen109is scaled up or scaled down centering on the screen coordinates X that are set as the center point of the zoom.

In this way, the CPU110performs the zoom operation based on the trajectory of the touch position when the touch operation is performed in which the finger is moved such that it traces the circle on the monitoring image Mp (namely, based on the trajectory of the finger on the monitoring image Mp).

Furthermore, while this type of touch operation is continued (namely, while the finger continues to move such that it traces the circle), the CPU110periodically recognizes the trajectory of the touch position at the predetermined time interval and performs the zoom operation based on the recognized trajectory of the touch position.

As a result, based on the trajectory of the finger on the monitoring image Mp, the monitoring image Mp being displayed on the touch screen109is scaled up or scaled down while changing the zoom center point and the zoom ratio substantially in real time.

For example, let us assume that the finger is moved such that it traces one circumference of a concentric circle in the clockwise direction. In this case, the monitoring image Mp is gradually scaled up centering on the center point of the traced circle, from 1×, through 1.25×, 1.5×, 1.75× to 2×.

Further, because the CPU110periodically recognizes the trajectory of the touch position at the predetermined time interval, the faster the speed at which the circle is traced (namely, the faster the movement speed of the finger), the greater the changes in the zoom ratio.

On the other hand, for example, when the finger is moved such that it traces the circle while changing the center point of the circle, the monitoring image Mp is scaled up or scaled down while moving the center point of the zoom.

The CPU110performs the zoom operation in this way when in the photo mode, in accordance with the touch operation in which the finger moves such that it traces the circle on the touch screen109.

As described above, the DSC100recognizes the trajectory of the touch position traced by the single finger on the touch screen109, and when the trajectory is circular, it determines that the touch operation has been performed in which the single finger is moved such that it traces the circle on the monitoring image Mp.

Then, based on the center point of the traced circle, the amount of the circle traced and the direction in which the circle is traced, which are calculated from the recognized trajectory of the touch position (namely, the trajectory of the finger), the DSC100sets the center point of the zoom, the zoom type and the zoom ratio and performs the zoom operation.

In this way, by the easy touch operation of simply tracing the circle with a selected area of the monitoring image Mp as the center with one finger, the DSC100can perform the zoom operation by causing a user to specify the center point of the zoom, the zoom type and the zoom ratio.

Further, in a similar manner, in the playback mode also, the CPU110of the DSC100scales up or scales down the playback image being displayed on the touch screen109in accordance with the touch operation in which the single finger is moved such that it traces the circle on the touch screen109.

In other words, when switched to the playback mode, the CPU110displays the playback image on the touch screen109.

Here, the CPU110recognizes the trajectory of the touch position on the touch screen109and when the trajectory is the circular arc, the CPU110determines that the touch operation has been performed in which the single finger moves such that it traces the circle on the playback image. Namely, it determines that the scaling up/scaling down operation has been performed.

Then, based on the center point of the traced circle, the amount of the circle traced, and the direction in which the circle is traced, which are calculated from the recognized trajectory of the touch position, the CPU110sets the center point of the scaling operation, sets whether to perform the scaling up operation or the scaling down operation and sets the scaling ratio. The CPU110then performs the scaling up or the scaling down of the displayed image.

In this way, by the easy touch operation of simply tracing the circle with a selected area of the displayed image as the center with the single finger, the DSC100can scale up or scale down the playback image by causing the user to specify the center point of the scaling operation, whether to perform the scaling up or the scaling down operation, and the scaling ratio.

1.5 Zoom Process Procedure

Next, a process procedure (also referred to as a zoom process procedure) when performing the zoom operation in accordance with the above-described touch operation will be explained with reference to a flow chart shown inFIG. 8.

Note that a zoom process procedure RT1is a process procedure executed by the CPU110of the DSC100in accordance with programs written into the program ROM111.

It should be noted that a process procedure to perform scaling up/scaling down of the displayed image is similar to the zoom process procedure RT1, and an explanation is therefore omitted here.

When switched to the photo mode, the CPU110displays the monitoring image Mp on the touch screen109and also starts the zoom process procedure RT1, the process moving to step SP1.

At step SP1, based on the input signal transmitted from the touch screen109, the CPU110waits for the touch screen109to be touched.

When an affirmative result is obtained at step SP1by the touch screen109being touched by the finger of the user, the CPU110advances to the next step SP2.

At step SP2, based on the coordinates of the touch position obtained from the input signal periodically transmitted from the touch screen109at the certain time interval, the CPU110recognizes the trajectory of the touch position and obtains the screen coordinates A, B and C that are three points on the trajectory.

After obtaining the screen coordinates A, B and C of the three points on the trajectory in this way, the CPU110advances to the next step SP3.

At step SP3, based on positional relationships of the screen coordinates A, B and C of the three points on the trajectory, the CPU110determines whether or not the trajectory is the circular arc.

When an affirmative result is obtained at step SP3, this means that the trajectory is the circular arc, namely, that the zoom operation has been performed. At this time, the CPU110advances to step SP4.

At step SP4, based on the screen coordinates A, B and C of the three points on the trajectory, the CPU110sets the screen coordinates X that are the center point of the zoom, the zoom type and the zoom ratio, and then advances to step SP5.

At step SP5, the CPU110performs the zoom operation in accordance with the center point of the zoom, the zoom type and the zoom ratio set at step SP4, and then once more returns to step SP1.

On the other hand, when a negative result is obtained at the above-described step SP3, this means that the trajectory is not the circular arc and is, for example, a straight line, namely, that the zoom operation has not been performed. At this time, the CPU110returns once more to step SP1.

The DSC100performs the zoom operation by this type of zoom process procedure RT1.

1.6 Operation and Effects

With the above-described configuration, when switched to the photo mode, the DSC100displays the monitoring image Mp on the touch screen109.

In this case, when the touch operation is performed on the touch screen109by the single finger, the DSC100recognizes the trajectory of the touch position.

Furthermore, when the trajectory is the circle, the DSC100determines that the zoom operation, in which the single finger is moved such that it traces the circle on the monitoring image Mp, has been performed.

Then, based on the center point of the traced circle, the amount of the circle traced and the direction in which the circle is traced, which are calculated from the trajectory of the touch position (namely, from the trajectory of the finger), the DSC100sets the center point of the zoom, the zoom type and the zoom ratio, and performs the zoom operation.

In this way, by the easy touch operation of simply tracing the circle with a selected area of the monitoring image Mp as the center with the single finger, the DSC100can perform the zoom operation by causing the user to specify the center point of the zoom, the zoom type and the zoom ratio.

In addition, when switched to the playback mode, the DSC100displays a playback image on the touch screen109.

Then, in a similar manner to the photo mode, when the DSC100performs the scaling up/scaling down operation in which the finger is moved such that it traces the circle on the playback image, the DSC100sets the center point of the scaling operation, whether to perform scaling up or scaling down and the scaling ratio, and performs scaling of the displayed image in accordance with the scaling up/scaling down operation.

In this way, by the easy touch operation of simply tracing the circle with a selected area of the displayed image as the center with the single finger, the DSC100can perform the scaling operation by causing the user to specify the center point of the scaling operation, whether to perform scaling up or scaling down, and the scaling ratio.

In this way, the DSC100can perform the zoom operation and the scaling up/scaling down operation by the easy touch operation of simply tracing the circle with one finger, namely, by an easy single-touch operation.

Thus, operability of the DSC100at the time of the scaling up/scaling down operation can be further improved, in comparison to a case in which the scaling up/scaling down operation is performed by a multi-touch operation, such as by pinching in or pinching out.

Furthermore, as the zoom operation and the scaling up/scaling down operation can be performed using the single-touch operation in this way, the DSC100does not require a multi-touch compatible screen. In addition, hardware keys to perform the zoom operation and scaling up/scaling down operation are not needed.

As a result, it is possible to simplify the configuration of the DSC100in comparison to a case in which the multi-touch compatible screen and the hardware keys to perform the zoom operation and the scaling up/scaling down operation are provided.

Additionally, the DSC100sets the center point of the zoom, the zoom type and the zoom ratio based on the center point of the traced circle, the amount of the circle traced and the direction in which the circle is traced, using the touch operation that is performed only once.

As a result, the DSC100does not require a plurality of touch operations in which, for example, the center point of the zoom is specified by a first operation, and thereafter the zoom ratio is specified by a second touch operation. The DSC100can thus perform the scaling up/scaling down operation centering on a selected area using the touch operation that is performed only once.

With the above-described configuration, the DSC100can scale up or scale down the image by the easy touch operation of simply tracing the circle with the single finger (namely, by the single-touch operation), and thus operability at the time of the scaling up/scaling down operation can be further improved.

2. Second Embodiment

A second embodiment will next be explained. In the above-described first embodiment, when the finger is moved such that it traces the circle, the zoom ratio is set in accordance with the amount of the circle traced (namely, in accordance with a length of the circular arc).

In contrast, in the second embodiment, the zoom ratio is not set in accordance with the amount of the circle traced, but is set in accordance with a size of the circle traced.

Note that, the configuration of the DSC100is substantially the same as in the first embodiment, and the first embodiment is therefore referred to. Accordingly, here, only a zoom method is explained.

In a similar manner to the first embodiment, when switched to the photo mode, the CPU110displays the monitoring image Mp on the touch screen109, as shown inFIG. 4.

Here, as shown inFIG. 9andFIG. 10, the CPU110performs the zoom in operation when the touch operation is performed in which the finger is moved on the touch screen109such that it traces the circle in the clockwise direction on the monitoring image Mp.

At this time, the CPU110performs the zoom in operation such that a section that forms an inside of the traced circle on the monitoring image Mp being displayed is displayed such that it fills a display area of the touch screen109.

As a result, the monitoring image Mp being displayed on the touch screen109is scaled up such that the section that forms the inside of the traced circle is displayed filling the display area of the touch screen109.

More specifically, from the trajectory of the touch position, the CPU110calculates the screen coordinates X of the center point and the radius R of the traced circle. The CPU110then sets the calculated screen coordinates X of the center point of the circle as the center point of the zoom.

In addition, from the calculated screen coordinates X of the center point of the circle and the calculated radius R of the circle, the CPU110identifies, on the monitoring image Mp, the section that forms the inside of the traced circle.

Based on the radius R of the traced circle and a size of the display area of the touch screen109, the CPU110then sets the zoom ratio such that the section inside the traced circle is scaled up to fill the display area, and performs the zoom in operation.

In this case, as shown inFIG. 9andFIG. 10, the larger the radius R of the traced circle, the smaller the zoom ratio set by the CPU110, and the smaller the radius R of the traced circle, the larger the zoom ratio set by the CPU110.

Accordingly, as shown inFIG. 11, for example, by gradually tracing smaller circles, the user can gradually zoom in while narrowing down the section he or she wishes to scale up.

For example, let us assume that the user is concentrating on a face of a girl in a center of the monitoring image Mp. First, as shown inFIG. 11, the user traces a larger circle that encloses the face of the girl and other sections also. By doing this, a general section that includes the face of the girl is scaled up (refer to11a).

Further, while making the traced circle smaller, the user displaces the center of the traced circle such that the center of the traced circle becomes the center of the face of the girl (refer to11bandFIG. 11c).

As a result, finally, the face of the girl is scaled up such that it is displayed filling the display area (refer toFIG. 11d).

As described above, when the touch operation is performed on the touch screen109in which the circle is traced by the finger in the clockwise direction on the monitoring image Mp, the DSC100determines that the zoom in operation has been performed.

The DSC100then performs the zoom in operation such that the section inside the traced circle on the monitoring image Mp is displayed filling the display area of the touch screen109.

In this way, by the easy touch operation of simply tracing the circle that encloses a selected area on the monitoring image Mp, the DSC100can perform the zoom in operation such that the selected area is displayed filling the display area of the touch screen109.

Note that, here, the explanation is given for the zoom in operation. The zoom out operation is substantially the same as that of the first embodiment, and an explanation is thus omitted here.

Additionally, when switched to the playback mode also, in a similar manner to the zoom in operation when in the photo mode, the DSC100can perform the scaling up operation such that a selected area of the displayed image is displayed filling the display area of the touch screen109.

Further, with respect to the zoom process procedure, the zoom settings performed at step SP4of the zoom process procedure RT1of the first embodiment may be changed to the settings explained in the second embodiment.

In other words, at step SP4, the CPU110may set the center point of the zoom and the zoom ratio based on the screen coordinates X of the center point of the traced circle, the radius R of the traced circle and the size of the display area of the touch screen109.

3. Other Embodiments

In the above-described first and second embodiments, when in the playback mode, when the touch operation is performed in which the finger is moved to trace the circle in the clockwise direction, the CPU110of the DSC100scales up the playback image being displayed on the touch screen109.

At this time, a section that is outside the traced circle on a displayed playback image Sp may remain the same and a section that is inside the traced circle may be scaled up, as shown inFIG. 12.

More specifically, when the touch operation is performed in which the finger is moved to trace the circle in the clockwise direction, the CPU110identifies the section inside the traced circle on the playback image Sp.

The CPU110then scales up the section inside the traced circle, centering on the screen coordinates X that are the center point of the traced circle, and using a scale-up ratio corresponding to the amount of the circle traced. Further, the CPU110trims sections that extend outside the circle, from the image of the scaled up section.

As a result, only the section inside the traced circle on the playback image Sp being displayed on the touch screen109is scaled up and displayed inside the circle, centering on the center point of the traced circle.

In addition, for example, let us assume that the touch screen109of the DSC100is multi-touch compatible, and that the touch operation shown inFIG. 13is performed, in which two circles are simultaneously traced by moving two fingers.

In this case, the CPU110may leave sections that are outside the two circles as they are, and may scale up sections that respectively form the inside of the two simultaneously traced circles.

The present invention is not limited to these examples, and, when a plurality of circles is traced sequentially, sections that form insides of the sequentially traced plurality of circles may be sequentially scaled up.

Further, in the above-described first and second embodiments, when the touch operation is performed in which the finger is moved such that it traces the circle, the touch operation is determined to be the zoom operation and the zoom operation is performed.

However, the present invention is not limited to this example, and, as shown inFIG. 14, when a touch operation is performed in which the monitoring image Mp is lightly brushed by a finger (a flick), and a flick operation is determined by the CPU110from a trajectory of the finger, the CPU110may recognize that the zoom in operation has been performed and perform the zoom in operation.

More specifically, the CPU110recognizes the trajectory of the flick, sets the screen coordinates X of a starting point of the flick as a center point of the zoom, and also sets a zoom ratio in accordance with a speed of the flick (speed of movement of the finger).

At this time, for example, the zoom ratio is set such that the faster the speed of the flick, the higher the zoom ratio set by the CPU110.

In this way, by the easy touch operation of taking a selected section on the monitoring image Mp as the starting point and performing the flick at a selected speed, the DSC100can perform the zoom in operation by causing the user to specify the center point of the zoom and the zoom ratio.

Note that, when in the playback mode also, the DSC100can scale up the display image by causing the flick operation to be performed in a similar manner to the zoom in operation in the photo mode.

Additionally, the invention is not limited to the example of the circle, and a touch operation in which the finger is moved to trace another shape, such as a triangle or a square may be determined as the zoom operation and the zoom operation may be performed accordingly. In this case also, in a similar manner to the case of the circle, the CPU110calculates from the trajectory of the touch position (namely, the trajectory of the finger) the center point of the shape, the amount of the shape traced and the direction in which the shape is traced, and, based on these, the CPU110sets the center point of the zoom, the zoom type and the zoom ratio. The CPU110then performs the zoom operation accordingly. However, in the case of a shape in which it is difficult to calculate a center point when the shape is only partially traced, such as with the triangle etc., the center point may be calculated at a time point at which a single closed shape is traced.

In addition, in the above-described first embodiment, the CPU110performs the zoom operation at the zoom ratio corresponding to the length of the traced circular arc at the predetermined time interval.

The invention is not limited to this example, and the CPU110may perform the zoom operation every time a length of the traced circular arc reaches, for example, a quarter of the circumference of the circle, using a quarter of the zoom ratio of a full circumference.

Further, every time the length of the traced circular arc reaches the length of the circumference of the circle, for example, namely, every time a single circle is traced, the zoom operation may be performed at the zoom ratio of the full circumference.

By doing this, it is possible to perform control such that the zoom operation is not performed until the traced circular arc reaches a predetermined length, and mistaken operation can thus be inhibited, such as performing the zoom operation when the touch screen109is mistakenly touched, for example.

The invention is not limited to this example, and the zoom ratio may be set not in accordance with the length of the traced circular arc, but in accordance with a speed at which the circular arc is traced.

Furthermore, in the above-described embodiments, the DSC100that is the information processing device is provided with the lens portion118and the image pickup element120as the image pickup portion. The DSC100is further provided with the liquid crystal panel115as the display portion. The DSC100is further provided with the touch panel113as the position detecting portion. The DSC100is further provided with the CPU110as the trajectory recognition portion, the setting portion and the control portion.

The present invention is not limited to this, and as long as they have the same functions, each of the above-described functional portions of the DSC100may be formed by other various hardware or software. For example, in place of the touch screen109that is formed by the liquid crystal panel115and the touch panel113, the DSC100may be provided with a liquid crystal panel etc. that has touch panel functions. Further, in place of the liquid crystal panel115, the DSC100may be provided by another display device, such as an organic EL (Electro-Luminescence) device etc.

Further, in the above-described embodiments, the present invention is applied to the DSC100. However, the present invention is not limited to this, and may be and can be applied to a variety of devices, including a digital video camera, a personal computer, a mobile telephone etc., as long as the device has a display device on which a touch operation is possible, such as the touch screen109etc.

For example, the present invention may be applied to a navigation device that displays a map image. By applying the present invention to the navigation device, the navigation device can perform a scaling up/scaling down operation, centering on a selected section on the map image, by a single touch operation using one finger.

Furthermore, in the above-described embodiments, the program used to execute each of the various processes is written into the program ROM111of the DSC100.

The present invention is not limited to this example, and the program may be, for example, recorded in advance on a recording medium such as a memory card, and the CPU110of the DSC100may read the program from the recording medium and execute it. Alternatively, the program read from the recording medium may be installed in the EEPROM125.

Furthermore, the present invention is not limited to the above-described first and second embodiments and the other embodiments. In other words, the scope of the present invention embraces a chosen combination of part or all of the above-described first, second and other embodiments, or an extraction of part of the above-described embodiments.

The present application contains subject matter related to that disclosed in Japanese Priority Patent Application JP 2009-121106 filed in the Japan Patent Office on May 19, 2009.

This invention can be widely applied to devices having a touch screen, for example.