Moving the center point of an image

I'm not sure I understand why you would want to move the center point of an image, and rotate the image based on the new location of the moved center point? Can anyone give me an example why you might do this?
Thanks.

When aligning different images (for example to combine persons from different shots) I often find it convenient to align a specific feature (like an eye) of two such elements and then scale the one that’s to be adjusted based on that reference point.
Same when I use the ground-plane as reference: the SO might extend farther than the point where the element touches the ground to accommodate shadows or reflections so just dragging out from one of the lower points may not be ideal.
Edit: Sorry, I had overlooked that you specified Rotations in your question; what I mentioned may naturally include rotations but is usually more focused on Scaling.

Similar Messages

  • Can I change the center point for a motion scale

    I would like to motion scale an image with the center for the scaling at the bottom of the image, not the center of the image. I tried changing the anchor point numbers, but that moves the photo as well.

    Try setting the Anchor Point - NOT the Center Point. The Ccenter Point is where the center of the image will be; the Anchor Point is the point at which the image is anchored.
    -DH
    Message was edited by: David Harbsmeier

  • Why does moving the mouse over an IMAQ image display slow the GUI down so much?

    I have a large application with several vi's running simultaneously under labview 8.6.1.  When I mouse over an image display control in one of the vi's, everything slows down a shocking amount in all the other vi's.  The windows task manager does not show a large increase in CPU use.  My pc is has a quad cpu with 4GB of RAM, and the CPU and memory loads do not appear to be terribly taxing to the system.  However, many of my vi's apparently come almost to a standstill if I just move the mouse in a circle around my image control.
    This looks like it is largely a GUI display issue.  If I make a new vi and put a while loop in it that only displays the iteration loop number to an indicator, I can see the iterating occurring, then stopping totally when I mouse inside the image display control.  When I stop moving the mouse inside the control, or when I move it outside the control, the interation loop number jumps up, as if it had been incrementing behind the scenes the whole time.  So only display of the interating was halted.
    This problem occurs even if the vi with the image control is not executing.  If the vi with the image control is open but not running, and I mouse over the image on it, the other guis all come to a screeching halt.
    Does mousing in the image display control really utterly crush all other guis in all other labview windows?  Is this an issue inherent to the image display control?  If so, is there anything I can do about this? 
    Also, this issue is not entirely limited to display.  I started looking at it in greater detail because this issue also exposed what I think is a race condition in my code.  I have a vi that acquires an image from a ccd and puts it into an IMAQ image.ctl.  This image then gets passed up to a vi up the call chain, and is put on a queue and sent over to be de-queued by a vi that has the image display control.  Here's the kicker:  when I mouse over the image display control, the image successfully gets acquired inside the subvi, and if I probe the wire leading to the output IMAQ image display.ctl, I see the image.  If I simultaneously probe the wire coming out of the subvi one level up the call chain, the image gets lost about half the time.  This only happens if I am mousing in the image display control IN A TOTALLY DIFFERENT AND SEPARATE VI.  If I bump up the priority of the ccd image acquisition vi to 'highest priority', the problem only happens about 1% of the time, and I really have to mouse around to make it happen.  Still, it's disturbing that mousing in the GUI in one window results in a failure of a separate subvi to simply pass an image up the call chain.  I understand that IMAQ images are referenced rather than passed by value, but I don't see why there should be a failure to pass the image up the call chain.  I've looked for a race condition, but can't find one.
    Eric

    I have finally been able to replicate the behavior that you are seeing on another computer once the image was large enough.  Here are a few notes about this behavior:
    First. The UI only slows down when the images are large, 16 bit images.  The reason why this is unique to 16 bit images is that they can only be displayed on the front panel as 8 bit images.  The workaround that Weiyuan suggested to change the 16 bit display mapping hints towards the root of the problem...that any time a mouse runs over the indicator, Windows asks the entire image to re-draw (having a separate indicator overlapping the image will create the same behavior).  With a 16 bit image, not only does the image have to re-draw on the screen but the 16 bit pixels need to be mapped to 8 bits.  When setting the 16 bit display mapping to Full Dynamic, this requires mor computation/pixel than 90% dynamic or one of the other mapping schemes.
    This is expected behavior if your program is running and you're trying to display a large 16 bit image.  To fix this behavior there are a couple options:
    Change the 16 bit display mapping to something other than full dynamic.  You can choose which 8 bits to display or if you want to map the bits. 
    Resize the image just for viewing purposes on your front panel (since you aren't going to view every single pixel of you image on the screen). You can use the IMAQ Resample.vi to do this.  This will allow you to take your 1500x1500 pixel image and only display a 500x500 pixel version.
    If you are interested in viewing small details of the large image, consider just displaying a smaller region of interest at a time.
    Let me know if any of these solutions work for you.  Good luck on your application.
    Zach C.
    Field Engineer
    Greater Los Angeles

  • Scaling objects and having the distance from the center point remain the same

    Hello,
    I hope someone can help!
    How do you scale a shape--a square, say--from small to large then back to small and have the distance be the same from the shape's center point?
    I'd like to be able to specify the distance and the sizes of the smallest shape and the largest shape and the steps in between.
    There must be an easier way than the time consuming method I'm using.
    Thank you.

    1 Make your smallest and largest square or object
    2 make a blend with specified number of steps and specify the number you need.
    3 at this point it is not necessary to have them space the finally distance.
    4 then make the blend
    5 Use the Effects>Distort and Transform>Transform to copy, reflect and move and create a new instance of the blend.
    6 Expand the Appearance of the Transform now eliminate one of the large squares using the direct select tool and ungroup the squares.
    (you have to ungroup twice)
    7 Now holding down the shift key move one of the smallest square to the position you want it to be in the end.
    8 do the same for the other smallest square.
    9 now select all the squares and use the horizontal center distribute command in the align panel or control panel with the option to align to selection.
    That should do it.
    Actually simpler then the number of steps indicates.
    You get this

  • When I click on an action, nothing happens unless I keep moving the mouse pointer. This has only happened since I upgraded to version 6. Interestingly, the some situation is with the "SafeCentral" software.

    This happens every time I click on a button or text that does something like, after entering some information then clicking on say, a button to "Continue". The screen freezes and the little symbol on the left hand side of the tab stops rotating, but starts as soon as I move the mouse. If I stop moving the mouse the screen freezes again. I also have installed on my computer the application, '''SafeCentral''', which I know uses Firefox. This problem has only been encountered since I updated to version 6 and also when SafeCentral update the Firefox version they use.
    Wired or what!
    Thank you for any assistance you can offer.
    Regards
    Michael Murray

    Thank you for your prompt reply.
    I think you have identified the problem straight away, well done!
    I first encountered the problem a couple of months ago with an update on Safe Central, (protected environment) software. SC uses the Firefox browser. I won't insult you by explaining what the program does, I'm sure know better that I. I didn't have this problem with Version 5 of Firefox, so I conclude the easiest way to solve this issue would be for me to uninstall v. 6 and reinstall V. 5. As I only use SC for online shopping I can live with this miner irritation. I also notice the Trend Micro Toolbar, though it appears on the Firefox screen, does not monitor the web sites or check email addresses.
    So the TM boffins also have a problem with V.6, but I wager they aren't aware of it yet. Just in closing, I also use Chrome and Internet Explorer that work perfectly well. The problem defiantly lies with Mozilla.
    Kind regards
    Michael

  • Moving the registration point

    how can i move the original registration point , for example
    i draw a rectangle with the registration point in the middle , but
    when i move the rectangle down the registration point stays on top
    and my rectangle which is in the bottom has no registration point
    how can i move the rectangle along with its registration point
    ????

    Not sure I follow, but I'll take a guess. Are you referring
    to the + sign in the middle of stage screen when creating a symbol?
    or the centerpoint white dot in the middle of an object. If the
    former, then it doesn't move. If the latter, just click and drag
    the white dot. It will move the centerpoint (it will snap to
    anchors too). Hope that helps.

  • Why is the flip horizontal or vertical  moving the frame or image?

    (CS6) Why is the flip horizontal/vertical moving the frame or image instead of just flipping it in the current frame position? CS5 did not do this.

    It flips around the point you've picked in the Transform Proxy in the upper left of the Control panel (and has always done so). Click the center point and you'll get what you want.

  • Aligning an object to the center...

    I'm trying to load an image for displaying in a container
    which have been loaded from the Library and placed on the stage.
    Loading the image for which to use is no problem but algning
    it to the center of the stage is a problem.
    Now, keeping in mind that loaded images usually are placed at
    the top-left corner of the stage I tried to solve the problem like
    this...:
    a = stage.stageWidth/2 (finding the center of the stage)
    b = image.width/2
    c = a-b (giving us the result of which to place the image)
    image.x = c;
    The formulas above make sence... in theory. In real life (at
    least on my computer) it doesn't work.
    Now, there might be some factors to consider when doing
    simple math like this...:
    - Can it be that the container is not the same size as the
    image loaded?
    - Can it be that I have to keep the x and y of the container
    (although I have aligned it so it's placed at the center of the
    stage)?
    Any advice are helpfull...
    Thanks in advance...
    AceOfFlash

    That should pretty much do it. So there are three things that
    jump to mind.
    1. You've moved the zero point of the movie clip that
    contains the container. (of some parent of the parent, etc.)
    2. You aren't waiting until the external content is
    completely loaded. So consequently you aren't getting the proper c.
    3. You are loading into a container more than once and you
    need to set the scaleX and scaleY back to 1 before loading.
    Okay I kind of lied a bit. There are more things that come to
    mind. You say "container" but since this is the AS3 forum you mean
    "Loader instance" right?
    And yes NedWebs is right, some actual specific code would be
    more helpful.
    PS: You can shorten the math by just doing this:
    image.x=(stage.stageWidth-image.width)/2

  • How to Change the Location of the Anchor Point

    Hi
    Very new to affter effects.... i was wondering if you guys could please tell me how to move the blue anchor for animation of text please.

    If you just want to move the anchor point on your text layer you can do it by hand instead of going in and manually adjusting it from the transform menu as Dave suggested. 
    However, by what you've written it seems like there may be some confusion about what moving the anchor point actually accomplishes.  So just to clarify, the anchor point, or the small crosshair icon usually in the middle or corner of the layer, is actually a customizable location that essentially dictates the center around which the position, scale and/or rotation values will change when your layer is animated over time with keyframes.
    For example, if you would like to move the anchor point so that your text rotates around a point near the corner of the layer, you can press the Y key to activate the Pan Behind Tool and move the anchor point to the corner.  If you have CS6 you can hold down the Command Key to lock the anchor point to the center, corner or edge of your layer.  A little square will appear around the Anchor Point when it's ready to lock.
    If you've keyframed some of the properties on a layer and would like to temporarily see how your layer looks without messing up any animation you've done on it, simply duplicate the layer by selecting it in the Comp's layer panel and going to Edit - Copy and Edit - Paste.  That way you can do whatever you'd like on the duplicated layer wihout harming your original  Then do one or more of the following:
    A.) You can reset all of the trnsform properties of the layer by clicking Reset.  This will set your layer back to it's default transform settings.
    B.) Or, you can delete all of the keyframes on an individual property by clicking the stopwatch again.
    C.) Also, clicking the light yellow diamond next to the Source Name will delete a single keyframe and the arrows on either side will move the playhead from keyframe to keyframe.  You can of course always delete keyframes manually by selecting them in the timeline and hitting delete.  Holding Shift will snap the playhead to each keyframe.
    I hope this helps and if you're still having trouble I highly reccomend you start here to learn After Effects or go here for additional information.

  • Working with a center point

    How is the Center Point used in CS5 when working with transformation tools? What types of things can be done with it?
    Thanks.

    When transforming one can just drag the Reference Point from its 
    position in the center of the transformation-rectangle (it might be 
    hard to see depending on the image).
    Or it you want to have it at one of the corners or middles of sides 
    you can switch it in the Options bar.
    As to the benefits: When one wants to scale radially(alt-shift) from 
    another than the oroginal center-position this allows for such a 
    transfromation – for example if one has to recreate a lores-montage 
    with high-res data it can be easier to line up one single element of a 
    semi-transparent SO with the layout and then scale from that point 
    until congruence is achieved.

  • Can I create a keyboard shortcut to change the reference point? (Mac CS6)

    I'm forever changing the reference point during a job and the tiny squares are a nightmare (my eyes aren't what they used to be), a shortcut to change it from the centre to top left would be great.
    Cheers
    Mark.

    @Mark – and here an overview of all available options:
    AnchorPoint.BOTTOM_CENTER_ANCHOR
    The center point on the bottom of the bounding box.
    AnchorPoint.BOTTOM_LEFT_ANCHOR
    The bottom left corner.
    AnchorPoint.BOTTOM_RIGHT_ANCHOR
    The bottom right corner.
    AnchorPoint.CENTER_ANCHOR
    The center point in the bounding box.
    AnchorPoint.LEFT_CENTER_ANCHOR
    The center point on the left side of the bounding box.
    AnchorPoint.RIGHT_CENTER_ANCHOR
    The center point on the right side of the bounding box.
    AnchorPoint.TOP_CENTER_ANCHOR
    The center point on the top of the bounding box.
    AnchorPoint.TOP_LEFT_ANCHOR
    The top left corner.
    AnchorPoint.TOP_RIGHT_ANCHOR
    The top right corner.
    Uwe

  • Motion Tab Settings & Center Point

    Working in Final Cut Express HD, I am trying to use wireframes and the motion tab setting to run a series of cropped clips in a "box" in the corner of the screen. I do this by reducing Scale and Crop Left and Right to certain, set values. But since i am cropping different parts of different clips, I need to figure out what the Center Point settings should be for each one so that the "box" is always in the exact same spot on the screen -- even as it cuts from clip to clip inside the box. Using the naked eye to place the frame on a grid is not precise enough...
    In other words, if I am cropping 25 off the left in one clip, and 15 left and 10 right on another, I need to know how many "Center Point" coordinates equate to 1 "Crop" point in those Motion Tab settings to make it fit exactly.
    Any ideas or help would be GREATLY appreciated! Many thanks.

    But doesn't that ONLY work if each and every clip is cropped in exactly the same way? In other words, if a "box" is 50% wide and 100% tall, and i use one clip that takes the left 50% and then use another clip that uses the right 50%...and I want them both to places in the upper left corner of the screen, won't they have different X and Y center points?

  • Artboard Center Point

    I am using Illustrator CS6 (v16.0.3) to edit SVG files. I set the artboard center point to x= 511.5 and y= -325.5 and save as SVG. But when I reopen the file, the artboard center point x-axis consistently shifts to 249.5. What is causing the center point to move?

    Is there any quick 'n easy way to set my rulers zero point to the center of my artboard?
    No.
    And is the Grid based on the ruler zero point or the top left edge of the artboard?
    Based on the ruler origin, which by default is lower left, not top left.
    JET

  • Cp8.0 html5 file plays fine in chrome, but moving the timeline button causes audio to vanish. what to do?

    I have created a session with a combination of ppt slides with audio, and also a screen capture with audio and put it all together and published in html5. seems to work fine, i can open it on my computer by clicking on the html5 file (chrome and IE.) Moving the continuous scroll pointer often causes the audio to not be played. I know I can advance with forward and reverse buttons, that works ok. (Refreshing the html5 file in the browser fixes things and goes back to start)  This opens up many questions for a novice like myself:
    1. Am I posting this in the right place?
    2. Is the timeline button shown only to be admired from afar, and not touched ?
    3. Has this been fixed in 8.1 ?
    4. I don't want or need scalable window sizes ( 1300 by 720 is fine,) so should i not use html5 at all ? I want it to work on IE, Chrome, and Firefox.

    thanks. i see i need to explain better:
    I am describing the browser window as it appears if you simple display the html5 file that is created by publishing. I have not added a single button or feature to control movement. my project consists of slides with audio that advance after so many seconds, a captured screen sesssion, more slides, and a quiz. The buttons for play, forward, backward, and the horizontal progress bar with the 'button' (upward pointing triangle) are all native to the html that is being displayed and 'played.'
    Now, seeing that displayed, a user would be tempted to hit these buttons and to move the linear time by grabbing and moving the triangle pointer. sometimes this works perfectly, but sometimes moving the pointer causes audio to disappear and it will not play again on any slide. is this a clear description of the problem ? I do not understand some of your comments, but it seems that we were not on the same page, so it seems ok not to understand. FYI, my published  ~10 minute sessions are about ~20 MB for all files and folders.
    8.1 doesn't exist. i see, my mistake. i meant 8.0.1
    I do not need anything but a screen with 1300x720 resolution, so i will try going to SWF. I am recording a session to teach a software tool that is based on the eclipse environment, and the screen capture includes many graphics and much text, so any scaling whatsoever makes it ugly and hard to read. At one point i may have been thinking of scalable windows, but i realize now it is the last thing i need. The quality of the capture is excellent with 1300x720 ( and since 720 is native for powerpoint, i have no scaling in either ppoint or the captured screen sessions.

  • About the "Registry point"?

    Hi to everyone!
    How can i change the registry point of and object?
    I dont mean the pivot, i mean the "registry point".
    When i want to center an object to the perfect center, if i put 50%, this count since the upper left corner, and adds all the height and width of the same object. I want to count since the center of the object.
    How can i do this? Somebody can help me, please? Thnx a lot.

    since any div is a rectangle or a square I suppose you can calculate the coordinate of the center like this:
    the x axis would be at 1/2 width
    and the y axis at 1/2 height.
    var xAxis = 400/2;
    var yAxis = 300/2;
    so the registry point would be at (xAxis, yAxis)
    Therefore if you wanted to center the element  400 x 300 according to a stage that is 500 x 400 and the center point you could use this:
    var xAxis = 400/2;
    var yAxis = 300/2;
    var xPos = (500/2 - xAxis);
    var yPos = (400/2 - yAxis);
    sym.$('Rectangle').css({
         left: xPos,
         top: yPos
    You could generalize this by getting the height of the stage and the height of your element as well as the width of your stage and the owidth of your element and apply the formula.
    var elementHeight = sym.$('Rectangle').height();
    var elementWidth = sym.$('Rectangle').width();
    var stageHeight = sym.$('Stage').height();
    var stageWidth = sym.$('Stage').width();
    sym.$('Rectangle').css({
         'left': stageWidth/2-elementWidth/2,
         'top': stageHeight/2-elementHeight/2
    Here is the file with 2 different elements, a rectangle and an ellipse being centered on the stage according to their registration point which is in this case the middle of the element.
    https://www.box.com/s/79oh194blyk45wjcvw74
    If you wanted to center the element according to its origin, then it would be different.
    Hope this helps.

Maybe you are looking for