Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 803079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T23:42:06+00:00 2026-05-14T23:42:06+00:00

So I have a 3D image that’s getting transformed into a space via an

  • 0

So I have a 3D image that’s getting transformed into a space via an affine transform. That transform is composed of the traditional 4×4 matrix plus a center coordinate about which the transform is performed. How can I invert that center point in order to go back into the original space? I have the coordinate, but its a 1×3 vector (or 3×1, depending on row/column order). I assume that to do get the appropriate center of the inverse, I need to make the vector into 1×4, but if that’s the case, what should I put into the fourth position? Obvious candidates are 0 and 1, but I’m not sure if that’s the Right Thing to do.

The idea is that if I transform an image into the space, and then invert the transform, the resulting image should be identical (within rounding errors/aliasing effects from resampling). However, at the moment, I’m just using the same center coordinate, and that’s producing an image that’s shifted by some amount rather than producing the exact same image. So, how can I transform that center point?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T23:42:07+00:00Added an answer on May 14, 2026 at 11:42 pm

    I assume your transformation goes like this

    x' = Mx + t
    

    Solving for x should give

    x = M_inv (x' - t) 
    

    Working with 4×4 matrices in a 3D coordinate system usally mean working in homogeneous coordinates. You store a multiplicative value in the 4th coordinate that is usally called w. The value 1 works well for positions, the value 0 is meant for vectors. That’s because the translation information stored in matrix M should affect only positions (this is a very basic explanation, sorry). So, yes, negating the translation vector should already do the trick. Add 0 as 4th component.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an image that I get and attempt to load into a graphics
I have an image that is 1024x1024 and is divided into 4 quadrants: I
I have an image that is sliced into 9 images into multiple div. I
i have an image that contains a series of images, e.g.: In the olden
I have an image that I'm rendering like this: glDrawPixels(image->width, image->height, GL_BGR, GL_UNSIGNED_BYTE, image->imageData);
I have an image that is too big and I want to put it
I have an image that, depending on the screen resolution, drops down out of
I have an image that I want to resize on my websites rendering using
I have an image that is 480x331 and has a transparent background. The transparent
I have image data and i want to get a sub image of that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.