# US 2006/0038813 A1 · Image processing program and image processing apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2006/0038813 A1
- Document ID: US20060038813A1
- Status: Published application
- Kind: A1
- Application number: 11/194,483
- Filed: 2005-08-02
- Published: 2006-02-23
- Earliest claimed: 2004-08-18
- Assignees: Nintendo Co., Ltd.
- Inventors: Takuhiro Dohta
- Web page: https://patentgrep.com/patent/US20060038813A1

## CPC

- G06T 11/23: using straight lines or curves
- A63F 2300/1075: using a touch screen
- A63F 2300/301: using an additional display connected to the game console, e.g. on the controller
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- A63F: CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR

## Abstract

Between two apexes of a shape model associated with each other, a virtual spring for applying, to the two apexes, a virtual force which is directed in each of coordinate axis directions in a rectangular coordinate system and which is changed in magnitude in accordance with a distance between the two apexes in the coordinate axis direction is set. When positional relationship between the apexes of the shape model is changed from that of a reference state, the game apparatus calculates a difference between the post-change distance between the two apexes and the distance therebetween in the reference state for each of coordinate components. Then, the game apparatus calculates a magnitude of a virtual force generated by each of virtual springs based on the difference; and calculates a virtual force received by each apex for each coordinate component by adding parallel forces among the virtual forces applied to each apex.

## Claims

### Claim 1

A storage medium having an image processing program stored therein for causing a computer to execute processing of changing the shape of a shape model in a rectangular coordinate system and displaying the shape model on a screen of a display device, wherein:
each of apexes of the shape model is associated with at least one other apex of the shape model;
between two apexes associated with each other, a virtual spring for applying, to the two apexes, a virtual force which is directed in each of coordinate axis directions in the rectangular coordinate system and which is changed in magnitude in accordance with a distance between the two apexes in the coordinate axis direction is set; and
the image processing program causes the computer to execute:
a difference calculation step of, when positional relationship between the apexes of the shape model is changed from that of a reference state, calculating a difference between the post-change distance between the two apexes and the distance therebetween in the reference state for each of coordinate components;
a spring force calculation step of calculating a magnitude of a virtual force generated by each of virtual springs based on the difference;
an apex force calculation step of calculating a virtual force received by each apex from the corresponding virtual springs for each coordinate component by adding parallel forces among the virtual forces applied to each apex;
a position determination step of determining a position to which each apex is to be moved for each coordinate component, based on the virtual force calculated for each coordinate component in the apex force calculation step; and
a display control step of displaying the shape model obtained by moving each apex thereof to the determined position on the screen.

### Claim 2 (depends on 1)

A storage medium according to claim 1, wherein the image processing program causes the computer to further execute:
a control point designation step of designating at least one apex of the shape model as a control point; and
a control point movement step of moving the control point;
wherein the difference calculation step calculates the difference generated by the movement of the control point.

### Claim 3 (depends on 2)

A storage medium according to claim 2, wherein, when the control point is designated in the control point designation step, the image processing program causes the computer to further execute a control point association step of newly associating the control point and each apex of the shape model other than the control point.

### Claim 4 (depends on 3)

A storage medium according to claim 3, wherein the control point association step performs the new association until the movement of the control point in the control point movement step is completed, or until deformation of the shape model caused by the movement of the control point is stopped.

### Claim 5 (depends on 1)

A storage medium according to claim 1, wherein the image processing program causes the computer to further execute:
an input detection step of detecting a locus drawn by a user on an input plane of an input device as coordinate points in time series; and
a model creation step of creating the shape model having at least a part of the detected coordinate points as apexes.

### Claim 6 (depends on 5)

A storage medium according to claim 5, wherein:
the input detection step detects the coordinate points sequentially input by the player as a group of coordinate points;
the model creation step creates the shape model including at least a part of the group of coordinate points detected in the input detection step as apexes and line segments connecting the apexes in time series; and
the image processing program causes the computer to further execute an apex association step of associating a pair of apexes connected by a line segment among a plurality of pairs of apexes included in the shape model created in the model creation step.

### Claim 7 (depends on 1)

A storage medium according to claim 1, wherein:
the shape model includes a plurality of apexes and line segments connecting the apexes; and
the image processing program causes the computer to further execute an apex association step of, when there is an apex in the shape model which cannot be reached by following the line segments from a predetermined apex, associating the apex which cannot be reached and an apex which can be reached by following the line segments from the predetermined apex.

### Claim 8 (depends on 1)

A storage medium according to claim 1, wherein the spring force calculation step calculates a virtual force generated by each virtual spring based on a force having a magnitude in proportion to the difference and a force having a magnitude in proportion to a velocity of each apex.

### Claim 9 (depends on 1)

A storage medium according to claim 1, wherein the image processing program causes the computer to further execute:
a reference distance calculation step of calculating the distance between the two apexes when the shape model is in the reference state for each coordinate component of the rectangular coordinate system; and
a post-movement distance calculation step of calculating the distance between the two apexes at a given time after the apexes are moved from the reference state for each coordinate component;
wherein the difference calculation step calculates the difference based on the distance calculated in the reference distance calculation step and the distance calculated in the post-movement distance calculation step.

### Claim 10

An image processing apparatus for changing the shape of a shape model in a rectangular coordinate system and displaying the shape model on a screen of a display device, wherein:
each of apexes of the shape model is associated with at least one other apex of the shape model; and
between two apexes associated with each other, a virtual spring for applying, to the two apexes, a virtual force which is directed in each of coordinate axis directions in the rectangular coordinate system and which is changed in magnitude in accordance with a distance between the two apexes in the coordinate axis direction is set; and
the image processing apparatus comprises:
difference calculation means for, when positional relationship between the apexes of the shape model is changed from that of a reference state, calculating a difference between the post-change distance between the two apexes and the distance therebetween in the reference state for each of coordinate components;
spring force calculation means for calculating a magnitude of a virtual force generated by each of virtual springs based on the difference;
apex force calculation means for calculating a virtual force received by each apex for each coordinate component by adding parallel forces among the virtual forces applied to each apex;
position determination means for determining a position to which each apex is to be moved for each coordinate component, based on the virtual force calculated for each coordinate component by the apex force calculation means; and
display control means for displaying the shape model obtained by moving each apex thereof to the determined position.
