Aligning two layers using manually selected reference points

I am trying to align two images that have the same pattern of thousands of dots, but the two images are not properly aligned or scaled but do have the same aspect ratio. I have tried manually aligning the two images resulting in no forward progress and much frustration. Is there a way to use a series of points selected manually as reference points to then align two overlapping images?
Thanks in advance for the help.

Try turning on rulers (View > Rulers). Then drag out guides from the rulers to help with alignment.

Similar Messages

  • Copying two layers through same selection mask produces different dimensions on new file

    Hi all,
    This is driving me insane!
    I'm creating an animation in AE eventually but initially have two hand drawn images of the same object that I've scanned into PS.
    I have a single mask created that I turn into a selection to copy the two images to output as new single files to then import as 2 frame png sequence into AE.
    Normally, and this is critical, the dimension of the new files would/should be exactly the same.
    But they're not!
    How is this possible, the selection is the same for both layers.
    Any suggestions, help, assistance, very much appreciated.
    thanks
    Yan

    yancowles wrote:
    Still annoying though, I'm creating the double drawn animation effect and it would help if I could make the new files to exactly the same dimensions quickly and easily somehow.
    Menu file>Save As to create a new file Photoshop is not a file editor. For a new document the same size menu File>New or Ctrl+N then use the preset pull down menu  and select the open document that has the size you want.
    You can also script a new document from selection.
    /* ==========================================================
    // 2009  John J. McAssey (JJMack)
    // ======================================================= */
    // This script is supplied as is. It is provided as freeware.
    // The author accepts no liability for any problems arising from its use.
    // Download from the web and fixed to work better
    <javascriptresource>
    <about>$$$/JavaScripts/NewDocumentFromSelection/About=JJMack's New Document From Selection.^r^rCopyright 2009 Mouseprints.^r^rJJMack's Script.^rNOTE:New Document From Selection!</about>
    <category>JJMack's Script</category>
    </javascriptresource>
    // enable double-clicking from Mac Finder or Windows Explorer
    #target photoshop // this command only works in Photoshop CS2 and higher
    // bring application forward for double-click events
    app.bringToFront();
    // ensure at least one document open
    if (!documents.length) alert('There are no documents open.', 'No Document');
    else main(); // at least one document exists proceed
    //                            main function                                  //
    function main() {
              try {
                        // Set the ruler units to PIXELS
                        var orig_ruler_units = app.preferences.rulerUnits;
                        app.preferences.rulerUnits = Units.PIXELS;
                    if(hasSelection()) newDocFromSelection();
                        // Reset units to original settings
                        app.preferences.rulerUnits = orig_ruler_units;
              // display error message if something goes wrong
              catch(e) { alert(e + ': on line ' + e.line, 'Script Error', true); }
    //                           main function end                               //
    function hasSelection(doc) {
              if (doc == undefined) doc = activeDocument;
              var res = false;
              var activeLayer = activeDocument.activeLayer;          // remember active layer
              var as = doc.activeHistoryState;                    // get current history state #
              doc.selection.deselect();
              if (as != doc.activeHistoryState) {                    // did the deselect get recorded
                        res = true;
                        doc.activeHistoryState = as;                    // backup and reselect
              activeDocument.activeLayer = activeLayer;          // insure active layer didn't change
              return res;                                                   // return true or false
    function newDocFromSelection() {
              var AD = app.activeDocument.name;      // remember current document name
            /* the following code seems to be from the script listener  what it
                does is to add a layer via copy selection ( Ctrl+J) which will fail
                if the select area of the active layer is empty then code then creates
              a new documents with a normal layer cotaining the contents of that layer */
              executeAction( charIDToTypeID('CpTL'), undefined, DialogModes.NO );//
                        var desc5 = new ActionDescriptor();
                                  var ref2 = new ActionReference();
                                  ref2.putClass( charIDToTypeID('Dcmn') );
                        desc5.putReference( charIDToTypeID('null'), ref2 );
                        desc5.putString( charIDToTypeID('Nm  '), "NewDoc"+documents.length.toString());
                                  var ref3 = new ActionReference();
                                  ref3.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
                        desc5.putReference( charIDToTypeID('Usng'), ref3 );
                        desc5.putString( charIDToTypeID('LyrN'), "From Selection" );
                        executeAction( charIDToTypeID('Mk  '), desc5, DialogModes.NO );
                        app.activeDocument.trim(TrimType.TRANSPARENT);          // trim new document transparency
                        activeDocument = documents.getByName(AD);          // retun to the old document
                        activeDocument.activeLayer.remove();                    // delete layer added via Ctrl+J 

  • Doing absolute move using center reference point

    I want to place a large number of images of varying aspect ratio using the center reference point at the same point in each page.  I have played with move and it appears to always use the top left point.  My interpretation of the documentation suggests that I would get the same results with transform.
    I realize that I could do the calculations to do the move but am hoping I am missing something and there is a much simpler way to do it.
    Thanks in advance
    Jerry

    csm_phil: Your English is quite confusing. Please remember to end sentences with periods. I assume you meant to say:
    I don't know why you wrote  "Bad for performance, bad for idempotency, and bad philosophically" when this method is working.  If its working, what is the problem? Can you please explain.
    (I'm still not sure what you meant by "i want to change the your mehtods.")
    Because something is working does not mean it is right.
    Because something is working does not mean it is good.
    It may cause problems in the future. Or it may have side effects.
    I wrote four things:
    Using the selection is a bad idea. This is well-accepted by experienced scripters. Scripts should avoid using the selection wherever possible. But why? I tried to explain in brief:
    Bad for performance: Interacting with the selection is slower. InDesign has to deal with updating the display and the UI when the selection is involved, when it would not otherwise have to do so. Anytime you interact with the selection your script will be slower. That slowness may not matter most of the time, such as when you are donly doing something once.
    Bad for idempotency: When you change the selection, it becomes difficult to repeat your work, and you do not leave the state of the program as you found it. If something else is depending on the selection, then you will screw that up. It is like changing a global variable. The best solution is not to change it, but to use a local variable instead. As a workaround, you can save the old value of the selection, perform your work, and then restore the selection. But that is imperfect. What if your code is running in an event handler? What if two pieces of code that use the selection are running in parallel? What if there are thread concurrency issue? Probably not the case in CS5.5, but what about CS7?
    Bad philosophically: This one is harder to explain. I think it really boils down to, if your script is not affecting the user interface, it should not alter portions of the user interface. The selection should be considered out-of-bounds for most scripts. This is really a restatement of the previous claims, especially "bad idea," so maybe it does not count on its own. But I repeat it because it is worth repeating.
    If you're really careful, using the selection can work. But much of the time it causes problems, either in the present or in the future. It is good to avoid problems where feasible.
    I hope this post helps you to understand what I meant.

  • Can one reference points to many objects?

    HI friend:
    Can I use one object reference points to all objects defined in same class? Because sometimes I only want to access some instance methods and they require a object reference to access. And it doesn't matter which object it is. For example:
    I have a table class:
    public class Table
    int tableNo;
         int tableSize;
         String tableSta;
         String reserName;
         public Table(int n, int s, String c)
              tableNo = n;
                        tableSize = s;
                        tableSta = c;
    Somewhere in the future, I will define a search method (a non-static method) inside table class and it doesn't really matter which object I use to call this method. Because the searching target is all the objects of this Table class. Is it possible to create 50 table objects from another class and use one object reference points to all these objects created and use that reference to access the search method?
    Here is the coding in another class:
    for (int i=1; i<=20; i++)
                   table = new Table(i, 2, "vacant");
                   for (int i=21; i<=30; i++)
                   table = new Table(i, 4, "vacant");
    for (int i=31; i<=50; i++)
                   table = new Table(i, 8,"vacant");
    Can I use table as object reference to access search method?

    Because if the method is static, it can't process instance variables, such as Table objects. But when I implement the search() method, it should search all table objects. That's why I don't want make the method static. :-)

  • 5800: How can I select access points manually in a...

    The access point management of the 5800 is somewhat different: using Web you can select the access point every time you start it, but other applications using network (e.g. Opera Mini) start connecting Wifi or 3G whatever comes first which means when you are in another country and the signal of a Wifi hotspot is too weak it will select 3G and does not notify the user of it, which will cost lots of money then.
    Is there a possibility that I can select manually  the access point at every application start like Web does ?
    The older Nokias (e.g. E70) allowed to do this.
    Nokia 5800
    FW 30.0.011

    Since you are using a Select-Option,  it could complicate things a little, but here is a sample program which is pretty locked down.
    report zrich_0001.
    tables: bsid.
    select-options: s_bldat for bsid-bldat no-extension..
    start-of-selection.
      read table s_bldat index 1.
      call function 'RE_ADD_MONTH_TO_DATE'
           exporting
                months  = '-12'
                olddate = s_bldat-low
           importing
                newdate = s_bldat-low.
      modify s_bldat index 1.
      check sy-subrc  = 0.
    Regards,
    Rich Heilman

  • Rotate an image after clicking two times on reference points on the picture

    Hello Community!
    I am looking for a solution to rotate an image by clicking on two reference points on the image. The two coordinate pairs of the mouse clicking can give me the rotation angle with simple geometry. After that I will rotate the image with the calculated angle.
    My problem is: How can I get those two coordinate pairs? I wanted to do it with an easy MatlabScript "input: path ... imread(path) ... imshow ... ginput(2) ... calculation ...output: angle". Apparently imshow doesnt work in Labview
    I already have the Mouse Down event but I dont know how I can make Labview let me click EXACTLY and ONLY two times on my picture and store the coordinates.
    Does anyone of you have a glue/ hint how to do that? 
    Best,
    Annki
    (Started LabView 2 weeks ago)
    Solved!
    Go to Solution.

    Hi Annkitranky,
    welcome to the forum!
    Here is one that works well: http://en.wikipedia.org/wiki/Cyanoacrylate  (Sorry, I couldn't resist...)
    Check this out: http://forums.ni.com/t5/LabVIEW/Using-mouse-click-to-return-image-coordinates/m-p/890731 and http://forums.ni.com/t5/LabVIEW/How-to-find-cursor-position-on-an-image-in-LabVIEW/m-p/1862495 There is a suggestion not marked as a solution, but I think it is: see last posts there; User Event Structure with the position reported implicitly. Further, I would put the Event Structure in the While Loop, where I wait for user input, collect the user inputs and finish (execute rotation on a two-element array).
    If you have a code or something, post it.
    Cheers

  • Auto-Align Layers using AS

    It is possible to Auto-Align Layers using AppleScript?
    I cannot find the command in the Dictionary.
    Otherwise the only solution is to call an action that call Auto-Align Layers.
    Stefano

    Capste, an alternative to calling an action is to use script listener output code in your applescript and call this with do javascript. This way you need no external items. This should work as long as you have more than one layer selected when calling it. The six options should be self evident in the commented applescript line above the handler call.
    tell application "Adobe Photoshop CS2"
    activate
    set Doc_Ref to the current document
    tell Doc_Ref
    -- AdLf, AdRg, AdCH, AdTp, AdBt, AdCV
    my Align_Layers(Doc_Ref, "AdCH")
    end tell
    end tell
    on Align_Layers(Doc_Ref, Align_Ref)
    tell application "Adobe Photoshop CS2"
    tell Doc_Ref
    do javascript "Align_Layers(); function Align_Layers() {function cTID(s) { return app.charIDToTypeID(s); }; function sTID(s) { return app.stringIDToTypeID(s); }; var desc01 = new ActionDescriptor(); var ref01 = new ActionReference(); ref01.putEnumerated( cTID('Lyr '), cTID('Ordn'), cTID('Trgt') ); desc01.putReference( cTID('null'), ref01 ); desc01.putEnumerated( cTID('Usng'), cTID('ADSt'), cTID('" & Align_Ref & "') ); executeAction( cTID('Algn'), desc01, DialogModes.NO );};" show debugger on runtime error
    end tell
    end tell
    end Align_Layers

  • I use i-tunes for backing tracks with an acoustic band...how can I get a playlist to play one song at a time and not go to the next one until I manually select it?

    I use i-tunes for backing tracks. How can I set up a play list to play only one song at a time and not go to the next one until I manually select it?
    Thanks

    Uncheck all the songs in the playlist. iTunes will then play one song and stop.
    Regards.

  • Unable to change reference point location while using the Transform Functions in Photoshop Elements 6.0.

    Unable to change reference point location while using the Transform Functions in Photoshop Elements 6.0.

    Which operating system are you using?
    In photoshop elements 6, as far as i know, you can only change the Reference Point Location for transforms using the small grid in the left hand corner of the tool options bar with Transform enabled.

  • Using the content aware move tool, I want to move an item from one image to another image but it does not seem to work. I think I need two layers on one document so how do I do this

    Using the content aware move tool, I want to move an item from one image to another image but it does not seem to work. I think I need two layers on one document so how do I do this

    Good day!
    A simple Paste does not work for you?
    It should place the clipboard content as a new Layer which you can then move around.
    If there is any chance that the elements need to be scaled, rotated etc. I would prefer to place them as Smart Objects (File > Place …) and do the masking that is specific to the images themselves in those.
    Regards,
    Pfaffenbichler

  • When I use the selection tool to move vector points and bend edges, I only see the change in wire frame.

    When I use the selection tool to move vector points and bend edges, I only see the change in wire frame.  Once I commit by letting go of the mouse button, the object does change.  It just previews with a wire frame. I would like to see the preview change on the solid object.  Is there a setting somewhere?
    I sure hope I am explaining this for people to understand .
    Thanks
    Ed

    Hi Ed,
    What do you mean by wire frame??And are you using selection or sub-selection tool since you have mentioned about vector point I doubt if it is sub-selection tool.Could you please attach a video demonstrating the issue where we see the mismatch in the preview and the output, so that we can understand the problem better and try to resolve it.
    Thanks,
    Sangeeta

  • ITunes won't sync all photos across from iPhoto to my iPad, either when using 'all photos' or manually selecting the events. All the rest sync normally

    Can anyone suggest a workround or reason why I can't sync a batch of about 300 photos in 5 events on consecutive days across from iPhoto 09 to my iPad 2? All the rest (>1000 frames mainly before and some after) go over, including some shot on the same digital camera (before and after). I've tried using 'all photos' and also manually selecting the events individually, they won't go. An album containing some of these photos goes across without them included, and converting the whole album on iPhoto to a movie and then dropping that into my videos won't go either. I've cleared the sync history as advised by the support line, and all software is updated. Loads of room on the iPad

    Started having the same issue with my iPad 2 just this week. Tried deleting the iPod Photo Cache, disabling then re-enabling photo sync through iTunes, but keep getting the error: "Some of your photos, including the photo “XXX.jpg”, were not copied to the iPad “XXX” because they cannot be displayed on your iPad." This is with iOS 4.3.5, iTunes 10.4, and Mac OS 10.7 Lion.
    Interestingly enough, I have no issues syncing the same exact set of photos to my iPhone 4 (also running 4.3.5). This seems to be an iPad-only issue.

  • Animated Gif - Aligning Multiple layers

    Hi All
    I am creating a rotating animated gif in PS. Now I have about 37 layers, where I increment the angle of each layer with 10 degress relative to the previous one. But even when aligning all my layers with the aligning tools the layers still not align...How can I align them perfectly? See what I mean on the image below here:
    NOTE: If the gif here does not animate, see this link:
    You can see it is off-center

    DexterDave wrote:
    @JJMack. I am not sure how to rotate the layer without the older frame copying the new rotated position...that is why I used copies of layers
    You do copy the layer and rotate. The layer needs to be perfectly aligned to the center of a is square 1:1 aspect ratio canvas. Guide lines were added 50% Horizontal and Vertically three were added a 49%, 50% and 51%. Then using the elliptical tool set to path mode a circle path was drawn by holding down the Alt key so the path would be from the center and holding the shift key down so the ellipse would be constrain to a circle. You click at the 50% 50% crossed guide line which the mouse pointer snaps to and you drag out the first otter circle.  You then set the path mode to subtract and drag out the inner circle.  Your path is now a ring. Then switch you the rectangle tool and subtract a rectangle path using the 49% and 51% guide lines. Your Path is now two arcs. Create two filled Shape layers the colors in the ring delete 1/2 of the layer so you have two colored arcs. Rastersize the two and merge the two layers int one.  You now have you arcs aligned from the center.  Next the action its simple dupe the layer rotate the layer 10 degrees select previous layer turn off visibility select layer forward.  Play this action till you the required 36 ring layers. Create a frame animation have Photoshop make frames from the layers using the frame animation palette's fly-out option.  Delete the first IK frames and turn on the IK layer visibility in what in now the first frame. It will turn on in all frames. You the save for web the animated gif. PSD file http://mouseprints.net/old/dpr/ik.psd  also tried using a smart object ring layer to loose less quality rotating the layer however there seem to be movement in the rotation.  Photoshop may be having a problem dealing wit the transparency in the layer and the break in the circle. http://mouseprints.net/old/dpr/ikso.psd so then I put all the ring layers into a group and masked the group with a vector mask. http://mouseprints.net/old/dpr/iksomask.psd  the best tool you have when using Photoshop is the gray matter between your ears let it do its thing it may even surprise you sometimes.

  • Select a small area and then use the selected area to paint other areas of the image

    Hello
    My problem is a little hard to explain but I try.
    What I want is to select a small area and then use the selected area to paint other areas of the image. Do not know how to do it and if it's stamp tools or pen tools to be used?

    Howdy.
    Sounds like you're looking for the Clone Stamp Tool. Set to Aligned, the sampling point resets when you release the mouse after painting. Untic Aligned and the sampling point stays in the original spot for the next stroke. It's a good idea to clone onto a separate layer with Sample All Layers selected. Then you don't lose original pixels. Allows you a do over later.
    FWIW.
    Peace,
    Lee

  • Use of Pitch Reference graph during Pitch Correction

    Hope somebody can help me understand the function of the Pitch Reference graph when using manual pitch correction.  It doesn't seem to correctly follow the actual audio waveform.  For instance when I'm trying to correct a long-held vocal note that has gone off key at the end, the graph drops down to nothing far before the note ends, so I'm just guessing at where to put control points on the waveform and how far to correct them.  I don't understand exactly all of the abrupt ups and downs of the graph.  Is it level sensitive or something?  Is it adjustable or rescalable?  Thanks.

    IMO the manual pitch correction tool is one of the most valuable and probably underused tool in the AA arsenal.
    It gets significant use here in my studio and the results that can be achieved are nothing short of miraculous.
    Before anyone starts going on about 'keep music live' or 'its all about the performance' or whatever, here its all about making the client sound as good as possible - yes even if they shouldn't even be standing in front of a mic.  Why? Because thats what they are paying for.
    From my experience the graph is nothing more than a guide and it relates more to pitch than the actual wave shape itself.
    "Is it adjustable or rescalable?"
    Only the view height is adjustable.
    Unfortunately the best results require a good 'ear' for pitch and it is awkward as there is no way of selecting one of the other tracks in the multitrack (like a guitar track) to play at the same time in order to better judge the pitch that you are correcting. (I have requested this as a feature!)
    So in the absence of said 'guide' track (and as you probably already know) you may have to switch back and forth to check your results - sorry I can't offer more.
    Here is something I prepared earlier for another reason :-)
    http://www.aatranslator.com.au/training.html

Maybe you are looking for

  • Getting error Can't read from the source or disk when moving documents from one folder to another folder in the library

    Hi, When we try to move documents from one folder to another folder in the document library using "Open with explorer" getting beloe error.      Can read from the source file or disk.     The user having below permission for the Library as well as si

  • Damage to ipod cable port covered under warranty?

    I'm not sure (doesn't even look damaged, apart from a few scratches I made while trying to get it in) but I think the port at the bottom of my ipod classic is damaged, as the cable won't fit in even 1mm. it has worked before but not now (I've tried a

  • Can't install Adobe Air with Safari

    I'm using Adobe Air 1.5 with Safari 4.0.3 on Mac OS Snow Leopard. When the browser attempts to download the Air file, binary code is displayed in the browser instead of downloading the Air application. Firefox has no problems downloading this Air app

  • Database Connectivity Issue

    Host :localhost Port:1521 SID:orcl Whenever I try to connect by SQL Developer I get the following Error ORA12505, TNS Listener does not currently know of SID given in connect descriptor. My tnsnames.ora file # tnsnames.ora Network Configuration File:

  • Mac OS X 10.4: Error -36 alert displays when connecting to a Windows server

    Mac OS X 10.4: Error -36 alert displays when connecting to a Windows server http://docs.info.apple.com/article.html?artnum=301580 A user meet the above problem connecting to Windows 2003 server but have no this error if connected to Windows 2000 Serv