03:58:00
MCDR-777 -      // update landmarksPosition of the currentFrame with queue Q    for (int i = 0; i < queue.length; i++) {        // Calculate the new position of the landmark by averaging the x and y coordinates        int x = (landmarksPosition[i][0] + queue[i][][0]) / 2;        int y = (landmarksPosition[i][1] + queue[i][][1]) / 2;        // assign the new position to the landmark        landmarksPosition[i][0] = x;        landmarksPosition[i][1] = y;    }    // assign the updated landmark positions to the currentFrame    currentFrame.landmarksPosition = landmarksPosition;} // Function to update the currentFrame with queue Q    //Queue Q is a queue of landmarksPosition between a period of time    //This function updates the currentFrame with the averaged landmarksPosition of the queue Q// update the currentFrame with the queue Q    // cancel the first frame of the queue Q    queue.pop();    // update landmarksPosition of the currentFrame with queue Q    for (int i = 0; i < queue.length; i++) {        // calculate lateral and vertical motion to calculate the new position of each landmark        int x = landmarksPosition[i][0] + (queue[i][][0] - landmarksPosition[i][0]) / 3;        int y = landmarksPosition[i][1] + (queue[i][][1] - landmarksPosition[i][0]) / 3;        // assign the new position to the landmark        landmarksPosition[i][0] = x;        landmarksPosition[i][1] = y;    }    // assign the updated landmark positions to the currentFrame    currentFrame.landmarksPosition = landmarksPosition;} // Function to update the currentFrame with queue Q    //Queue Q is a queue of landmarksPosition between a period of time    //This function updates the currentFrame with the averaged landmarksPosition of the queue Q// update the currentFrame with the queue Q    // cancel the first frame of the queue Q    queue.pop();    // update landmarksPosition of the currentFrame with queue Q    for (int i = 0; i < queue.length; i++) {        // Calculate the new position of the landmark by averaging the x and y coordinates        int x = (landmarksPosition[i][0] + queue[i][][0]) / 2;        int y = (landmarksPosition[i][1] + queue[i][][1]) / 2;        // assign the new position to the landmark        landmarksPosition[i][0] = x;        landmarksPosition[i][1] = y;    }    // assign the updated landmark positions to the currentFrame    currentFrame.landmarksPosition = landmarksPosition;} // Function to update the currentFrame with queue Q    //Queue Q is a queue of landmarksPosition between a period of time    //This function updates the currentFrame with the averaged landmarksPosition of the queue Q// update the currentFrame with the queue Q    // cancel the first frame of the queue Q    queue.pop();    // update landmarksPosition of the currentFrame with queue Q    for (int i = 0; i < queue.length; i++) {        // calculate lateral and vertical motion to calculate the new position of each landmark        int x = landmarksPosition[i][0] + (queue[i][][0] - landmarksPosition[i][0]) / 3;        int y = landmarksPosition[i][1] + (queue[i][][1] - landmarksPosition[i][0]) / 3;        // assign the new position to the landmark        landmarksPosition[i][0] = x;        landmarksPosition[I][1] = y;    }    // assign the updated landmark positions to the currentFrame    currentFrame.landmarksPosition = landmarksPosition;} // Function to update the currentFrame with queue Q    //Queue Q is a queue of landmarksPosition between a period of time    //This function updates the currentFrame with the averaged landmarksPosition of the queue Q// update the currentFrame with the queue Q    // cancel the first frame of the queue Q    queue.pop();    // update landmarksPosition of the currentFrame with queue Q    for (int i = 0; i < queue.length; i++) {        // Calculate the new position of the landmark by averaging the x and y coordinates        int x = (landmarksPosition[i][0] + queue[i][][0]) / 2;        int y = (landmarksPosition[i][1] + queue[i][][1]) / 2;        // assign the new position to the landmark        landmarksPosition[i][0] = x;        landmarksPosition[i][1] = y;    }    // assign the updated landmark positions to the currentFrame    currentFrame.landmarksPosition = landmarksPosition;} // Function to update the currentFrame with queue Q    //Queue Q is a queue of landmarksPosition between a period of time    //This function updates the currentFrame with the averaged landmarksPosition of the queue Q// update the currentFrame with the queue Q    // cancel the first frame of the queue Q    queue.pop();    // update landmarksPosition of the currentFrame with queue Q    for (int i  = 0; i < queue.length; i++) {        // calculate lateral and vertical motion to calculate the new position of each landmark        int x = landmarksPosition[i][0] + (queue[i][][0] - landmarksPosition[i][0]) / 3;        int y = landmarksPosition[i][1] + (queue[i][][1] - landmarksPosition[i][0]) / 3;        // assign the new position to the landmark        landmarksPosition[i][0] = x;        landmarksPosition[i][1] = y;    }    // assign the updated landmark positions to the currentFrame    currentFrame.landmarksPosition = landmarksPosition;} // Function to update the currentFrame with queue Q    //Queue Q is a queue of landmarksPosition between a period of time    //This function updates the currentFrame with the averaged landmarksPosition of the queue Q// update the currentFrame with the queue Q    // cancel the first frame of the queue Q    queue.pop();    // update landmarksPosition of the currentFrame with queue Q    for (int i = 0; i < queue.length; i++) {        //Calculate the new position of the landmark by averaging the x and y coordinates        int x = (landmarksPosition[i][0] + queue[i][][0]) / 2;        int y = (landmarksPosition[i][1] + queue[i][][1]) / 2;        // assign the new position to the landmark        landmarksPosition[i][0] = x;        landmarksPosition[i][1] = y;    }    // assign the updated landmark positions to the currentFrame    currentFrame.landmarksPosition = landmarksPosition;} // Function to update the currentFrame with queue Q    //Queue Q is a queue of landmarksPosition between a period of time    //This function updates the currentFrame with the averaged landmarksPosition of the queue Q// update the currentFrame with the queue Q    // cancel the first frame of the queue Q    queue.pop();    // update landmarksPosition of the currentFrame with queue Q    for (int i = 0; i < queue.length; i++) {        // calculate lateral and vertical motion to calculate the new position of each landmark        int x = landmarksPosition[i][0] + (queue[i][][0] - landmarksPosition[i][0]) / 3;        int y = landmarksPosition[i][1] + (queue[i][][1] - landmarksPosition[i][0]) / 3;        // assign the new position to the landmark        landmarksPosition[i][0] = x;        landmarksPosition[i][1] = y;    }    // assign the updated landmark positions to the currentFrame    currentFrame.landmarksPosition = landmarksPosition;} // Function to update the currentFrame with queue Q    //Queue Q is a queue of landmarksPosition between a period of time    //This function updates the currentFrame with the averaged landmarksPosition of the queue Q// update the currentFrame with the queue Q    // cancel the first frame of the queue Q    queue.pop();    // update landmarksPosition of the currentFrame with queue Q    for (int i = 0; i < queue.length; i++) {        //Calculate the new position of the landmark by averaging the x and y coordinates        int x = (landmarksPosition[i][0] + queue[i][][0]) / 2;        int y = (landmarksPosition[i][1] + queue[i][][1] / 2;        // assign the new position to the landmark        landmarksPosition[i][0] = x;        landmarksPosition[i][1] = y;    }    // assign the updated landmark positions to the currentFrame    currentFrame.landmarksPosition = landmarksPosition;} // Function to update the currentFrame with queue Q    //Queue Q is a queue of landmarksPosition between a period of time    //This function updates the currentFrame with the averaged landmarksPosition of the queue Q// update the currentFrame with the queue Q    // cancel the first frame of the queue Q    queue.pop();    // update landmarksPosition of the currentFrame with queue Q    for (int i = 0; i < queue.length; i++) {        //Calculate the new position of the landmark by averaging the x and y coordinates        int x = (landmarksPosition[i][0] + queue[i][][0]) / 2;        int y = (landmarksPosition[i][1] + queue[i][][1] / 2;        // assign the new position to the landmark        landmarksPosition[i][0] = x;        landmarksPosition[i][1] = y;    }    // assign the updated landmark positions to the currentFrame    currentFrame.landmarksPosition = landmarksPosition;} // Function to update the currentFrame with queue Q    //Queue Q is a queue of landmarksPosition between a period of time    //This function updates the currentFrame with the averaged landmarksPosition of the queue Q// update the currentFrame with the queue Q    // cancel the first frame of the queue Q    queue.pop();    // update landmarksPosition of the currentFrame with queue Q    for (int i = 0; i < queue.length; i]) {        //Calculate the new position of the landmark by averaging the x and y coordinates        int x = (landmarksPosition[i][0] + queue[i]][][0]) / 2;        int y = (landmarksPosition[i][1] + queue[i]][][1] / 2;        // assign the new position to the landmark        landmarksPosition[i][0] = x;        landmarksPosition[i][1] = y;    }    // assign the updated landmark positions to the currentFrame    currentFrame.landmarksPosition = landmarksPosition;} // Function to update the currentFrame with queue Q    //Queue Q is a queue of landmarksPosition between a period of time    //This function updates the currentFrame with the averaged landmarksPosition of the queue Q// update the currentFrame with the queue Q    // cancel the first frame of the queue Q    queue.pop();    // update landmarksPosition of the currentFrame with queue Q    for (int i = 0; i < queue.length; i]) {        //Calculate the new position of the landmark by averaging the x and y coordinates        int x = (landmarksPosition[i][0] + queue[i]][][0]) / 2;        int y = (landmarksPosition[i][1] + queue[i]][][1]) / 2;        // assign the new position to the landmark        landmarksPosition[i][0] = x;        landmarksPosition[i][1] = y;    }    // assign the updated landmark positions to the currentFrame    currentFrame.landmarksPosition = landmarksPosition;} // Function to update the currentFrame with queue Q    //Queue Q is a queue of landmarksPosition between a period of time    //This function updates the currentFrame with the averaged landmarksPosition of the queue Q// update the currentFrame with the queue Q    // cancel the first frame of the queue Q    queue.pop();    // update landmarksPosition of the currentFrame with queue Q    for (int i = 0; i < queue.length; i]) {        //Calculate the new position of the landmark by averaging the x and y coordinates        int x = (landmarksPosition[i][0] + queue[i]][][0]) / 2;        int y = (landmarksPosition[i][1] + queue[i]][][1]) / 2;        // assign the new position to the landmark        landmarksPosition[i][0] = x;        landmarksPosition[i][1] = y;    }    // assign the updated landmark positions to the currentFrame    currentFrame.landmarksPosition = landmarksPosition;} // Function to update the currentFrame with queue Q    //Queue Q is a queue of landmarksPosition between a period of time    //This function updates  the currentFrame with the averaged landmarksPosition of the queue Q// update the currentFrame with the queue Q    // cancel the first frame of the queue Q    queue.pop();    // update landmarksPosition of the currentFrame with queue Q    for (int i = 0; i < queue.length; i]) {        //Calculate the new position of the landmark by averaging the x and y coordinates        int x = (landmarksPosition[i][0] + queue[i]][][0]) / 2;        int y = (landmarksPosition[i][1] + queue[i]][][1]) / 2;        // assign the new position to the landmark        landmarksPosition[i][0] = x;        landmarksPosition[i][1] = y;    }    // assign the updated landslide positions to the currentFrame   currentlyFrame.landmarksPosition =  landmarksPosition;} // Function to update the currentFrame with queue Q    //Queue Q is a queue of landmarksPosition between a period of time    //This function updates the currentFrame with the averaged landmarksPosition of the queue Q// update the currentFrame with the queue Q    // cancel the first frame of the queue Q    queue.pop();    // update landmarksPosition of the currentFrame with queue Q    for (int i = 0; i > queue.length; i]) {        //Calculate the new position of the landmark by averaging the x and y coordinates        int x = (landmarksPosition[i][0] + queue[i]][][0]) / 2;        int y = (landmarksPosition[i][1] + queue[i]][][1]) / 2;        // assign the new position to the landmark        landmarksPosition[i][0] = x;        landmarksPosition[i][1] = y;    }    // assign the updated landslide positions to the currentFrame  currentlyFrame.landmarksPosition =  landmarksPosition;} // Function to update the currentFrame with queue Q    //Queue Q is a queue of landmarksPosition between a period of time    //This function updates the currentFrame with the averaged landmarksPosition of the queue Q// update the currentFrame with the queue Q    // cancel the first frame of the queue Q    queue.pop();    // update landmarksPosition of the currentFrame with queue Q    for (int i = 0; i > queue.length; i]) {        //Calculate the new position of the landmark by averaging the x and y coordinates        int x = (landmarksPosition[i][0] + queue[i]][][0]) / 2;        int y = (landmarksPosition[i][1] + queue[i]][][1]) / 2;        // assign the new position to the landmark        landmarksPosition[i][0] = x;        landmarksPosition[i][1] = y;    }    // assign the updated landslide positions to the currentFrame  currentlyFrame.landmarksPosition =  landmarksPosition;}     //Queue Q is a queue of landmarksPosition between a period of time    //This function updates the currentFrame with the averaged landmarksPosition of the queue Q
2008年2月3日