×

Image processing apparatus and storage medium storing image processing program

  • US 8,797,264 B2
  • Filed: 09/19/2006
  • Issued: 08/05/2014
  • Est. Priority Date: 03/09/2006
  • Status: Active Grant
First Claim
Patent Images

1. An image processing apparatus for performing predetermined image processing in accordance with an input operation performed by an input device including a drag button and an image pickup element for taking an image of a plurality of imaging targets, the image processing apparatus comprising:

  • target image data obtaining means for sequentially obtaining, from the plurality of target images of the plurality of imaging targets in the image taken by the image pickup element, target image data indicating a distance between the plurality of target images;

    image processing means for performing enlargement and reduction of a display image of a user-operable object in a three-dimensional space displayed on a display device and controlled by a user in accordance with a change in the target image data;

    display control means for displaying on the display device the display image of the enlarged and reduced object processed by the image processing means, wherein the display image of the object is translated and rotated on the display device in accordance with an operation performed by the user,distance calculation means for, based on the target image data, sequentially calculating a distance between the image pickup element and the plurality of the imaging targets;

    enlarging/reducing means for performing the enlargement and reduction of the display image in accordance with a change in the distance, by sequentially changing, in accordance with the change in the distance, a position of a virtual camera placed in a virtual space,the distance calculation means for, when the drag button is depressed, calculating the distance between the image pickup element and the middle point between a first and a second imaging target, when the image pickup element is positioned diagonally with respect to the imaging targets, based on the target image data including the distance between the first and the second target images, a diameter diamL of the first target image, a diameter diamR of the second target image, and a predetermined diameter diamM of each of the plurality of imaging targets, including;

    a) calculating a width, w1, which indicates the range for which the image pickup element takes an image of the plurality of imaging targets with respect to a setting position of a first imaging target, the width, w1, given by
    w1=wi×

    diamM/diamL, where,wi is the width of the image taken by the image pickup element, diamM is the predetermined diameter of each of the plurality of imaging targets, and diamL is the diameter of the first imaging target;

    b) calculating the distance, realDL, between the first imaging target and the image pickup element, the distance, realDL, given by
    realDL=(w1/2)/{tan(θ

    /2)}, whereθ

    is a viewing angle of the image pickup element;

    c) calculating a width, w2, which indicates the range for which the image pickup element takes an image of the plurality of imaging targets with respect to a setting position of a second imaging target, the width, w2, given by
    w2=wi×

    diamM/diamR, where,diamR is the diameter of the second imaging target;

    d) calculating the distance, realDR, between the second imaging target and the image pickup element, the distance, realDR, given by
    realDR=(w2/2)/{tan(θ

    /2)};

    e) calculating an angle, δ

    1, between a line connecting the first imaging target and the input device and a line connecting the first and second imaging targets, given by
    cos δ

    1=(realDL2×

    m
    2

    realDR2)/(2×

    realDL×

    m
    ), wherem is the distance between the first and the second imaging targets; and

    f) calculating the distance between the image pickup element and the middle point between the first and the second imaging targets, realD, given by
    realD=√

    (realDL2+(m/2)2



    realDL×

    (m/2)×

    cos δ

    1); and

    velocity calculating means for calculating a moving velocity velD of the input device based on successively-calculated values of said calculated distance realD.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×