Luminous Landscape Forum

Equipment & Techniques => Computers & Peripherals => Topic started by: Kirk Gittings on July 26, 2009, 07:28:07 pm

Title: Odd PS Photomerge problem
Post by: Kirk Gittings on July 26, 2009, 07:28:07 pm
For the past couple of years Photomerge in PS3 and PS4 has been sufficient for 95 percent of my stitches which are generally simply 2x flat stitches from shifting a T/S lens. These are all building interiors and exteriors with plenty of common points and overlap. This is an important part of my workflow and I do a few of these a week for clients. Up till recently they merged flawlessly. All of a sudden Photomerge can't seem to align any images giving me the error message "some images could not be automatically aligned". This happens under all the different merge modes. This also happens from Bridge or from open files in PS. It literally cannot merge any set of images. This is with the camera always on a tripod and exposure and WB locked down.

The only thing that has changed is I have been playing with memory usage and cache levels trying to improve performance, but even after returning them to the original settings Photomerge will not complete a merge. It matters not what merge mode you use or whether you are working from raw files or tiffs. I am having to do every stitch in Autopano Pro which slows down my workflow considerably.

Widows XP with a huge scatch disk dedicated just to PS.
Any thoughts. A reinstall?
Title: Odd PS Photomerge problem
Post by: Kirk Gittings on July 27, 2009, 12:25:51 am
Someone on the Adobe forums suggested that I delete my preferences in CS4. That did the trick. Works like new again.
Title: Odd PS Photomerge problem
Post by: walter.sk on July 27, 2009, 10:40:56 am
Quote from: Kirk Gittings
Someone on the Adobe forums suggested that I delete my preferences in CS4. That did the trick. Works like new again.
The Prefs file gets corrupted at the drop of a hat, or mouse!  I finally learned, after too much time spent resetting my preferences, to make a copy of the newly set preferences file and keep it on my desktop.  When (not if!) Photoshop begins doing strange things I have a fresh copy of the prefs file, with my favorite settings, just waiting for me.
Title: Odd PS Photomerge problem
Post by: Eric Myrvaagnes on July 27, 2009, 10:47:52 am
Glad it worked out. Gremlins like that can be a pain to exorcise.
Title: Odd PS Photomerge problem
Post by: Jack Flesher on July 27, 2009, 10:58:08 am
Kirk:

I had the same issue with a set of images that had previously merged in CS.  I tried the preference reset and it did not help.  Hugely puzzling, but this problem did happen AFTER the last CS4 update I installed.  So I then bit the bullet and did a fresh install just to get CS4 working right agin -- a huge PITA, and while it seemed to clear up a few other minor issues, it did NOT fix the merge!  Frustrated, I DL'd AutopanoPro in demo mode, and in less than half the time of CS4 it performed the merge and did a significantly better job on the color blending.  Bottom line is I went ahead and paid for AutopanoGiga and have never looked back. My only nit with APP/APG is that if you edit in Profoto colorspace as I do, APP dies not render the colors accurately, so I do NOT use their color correction tools, I just use it for the merge. APG allows you tons of adjustability on the projection, horizontal and vertical line corrections in combination, midpoint selection and distortion corrections.  Very cool and worth every penny IMO.

Cheers,
Title: Odd PS Photomerge problem
Post by: jdemott on July 27, 2009, 11:09:54 am
The problem of corrupt preference files in Photoshop has been around for a long time, and it seems like everyone (including me) has suffered through it one or more times when Photoshop starts acting strangely.  I'm not a programmer so this may be a dumb question, but is there some reason why Photoshop couldn't keep its own backup copy of the Preferences file and do some sort of integrity check when it starts up so users don't have this mysterious problem so frequently?
Title: Odd PS Photomerge problem
Post by: Jack Flesher on July 27, 2009, 12:40:58 pm
Quote from: jdemott
The problem of corrupt preference files in Photoshop has been around for a long time, and it seems like everyone (including me) has suffered through it one or more times when Photoshop starts acting strangely.  I'm not a programmer so this may be a dumb question, but is there some reason why Photoshop couldn't keep its own backup copy of the Preferences file and do some sort of integrity check when it starts up so users don't have this mysterious problem so frequently?

Problem is CS keeps some preferences in different places.  I know it offends the old CS guard, but I've said it before and will say it again -- Adobe has a bunch of old legacy holdover code in CS4 that they need to overhaul it for efficiency in CS5.  I realize it is a huge undertaking, probably involving millions of lines of code, but the time has arrived -- especially if they plan to keep charging those usurious upgrade fees...
Title: Odd PS Photomerge problem
Post by: JeffKohn on July 27, 2009, 01:26:27 pm
Quote from: Jack Flesher
Kirk:

I had the same issue with a set of images that had previously merged in CS.  I tried the preference reset and it did not help.  Hugely puzzling, but this problem did happen AFTER the last CS4 update I installed.  So I then bit the bullet and did a fresh install just to get CS4 working right agin -- a huge PITA, and while it seemed to clear up a few other minor issues, it did NOT fix the merge!  Frustrated, I DL'd AutopanoPro in demo mode, and in less than half the time of CS4 it performed the merge and did a significantly better job on the color blending.  Bottom line is I went ahead and paid for AutopanoGiga and have never looked back. My only nit with APP/APG is that if you edit in Profoto colorspace as I do, APP dies not render the colors accurately, so I do NOT use their color correction tools, I just use it for the merge. APG allows you tons of adjustability on the projection, horizontal and vertical line corrections in combination, midpoint selection and distortion corrections.  Very cool and worth every penny IMO.
For the original poster's purpose of flat-stitching, I actually prefer PS Photomerge because it has the "reposition only" option which is exactly what you want for flat-stitching, since there's no projection involved. But for rotational panos I defiintely agree. Photomerge is pretty lame, and it amazes me how many people seem to be happy with it. My experience with it has been that it does a terrible job of choosing the vanishing point unless the camera was pointed straight ahead. It also does a lousy job of leveling panos that weren't shot with perfect rotation. I see people posting panos with obvious arcs in the horizons, or even 'wavy' distortion, and have to wonder do they really not see it?

I can understand that some may not want to invest the purcahse price in Autopano or PTGui, especially if they don't shoot panos all that often. But there are other more affordable alternatives such as PTAssembler or Hugin (free!) that would be much better than Photomerge IMHO.
Title: Odd PS Photomerge problem
Post by: Kirk Gittings on July 27, 2009, 03:48:23 pm
Quote
APG allows you tons of adjustability on the projection, horizontal and vertical line corrections in combination, midpoint selection and distortion corrections. Very cool and worth every penny IMO.
k
Jack F

As Jeff above stated. PSM does simple repositioning of architectural tiles well (when it works at all!), without creating the pincushion (for lack of a better term) distortion that seems to be inherent in APP. Jack does APG do a better job than APP?
Title: Odd PS Photomerge problem
Post by: Jack Flesher on July 27, 2009, 05:20:13 pm
Quote from: Kirk Gittings
k
Jack F

As Jeff above stated. PSM does simple repositioning of architectural tiles well (when it works at all!), without creating the pincushion (for lack of a better term) distortion that seems to be inherent in APP. Jack does APG do a better job than APP?

Hi Kirk:

Just to clarify, the adjustment capabilities of APP/APG far exceed what Photomerge delivers.  For example, in APP/APG you can set horizons or verticals of DIFFERING angles in multiple parts of the image -- even converging or diverging ones in the same capture -- and it corrects them ALL to true and, then blends the final composite into a seamless result. Sort of like an automated version of CS's transform and warp tools combined...

As far as the differences between Pro and Giga, the main one I noted was Giga is faster and has a bit fresher UI than the Pro I had been using -- I assume the newer Pro is probably the same UI as Giga now, but not sure. Giga also builds virtual tours if you are into that.  If you just want the basics, Pro should be fine and still offers an upgrade path to Giga at a later date.  You can download demos of both that run normally with a watermark until you license them, so pretty easy to compare for your needs.  I'd also recommend watching the tutorials on their website as a speed course in getting to know the software: http://www.autopano.net/en/ (http://www.autopano.net/en/)

FWIW, here is an example of a three frame wideangle lens, P45+ image that Photomerge could not merge. APG did it easily, then I was able to correct the horizon and projection point.  My workflow is simple -- process the captures to optimal Profoto tiffs all at the same settings out of C1, assemble, align and merge in APG, then back to CS4 for final color edits, sharpening and local adjustments. The original is just under 15K x 5K pixels:
(http://forum.getdpi.com/gallery/files/2/cdc_pano1_055_1200pano.jpg)


Cheers,
Title: Odd PS Photomerge problem
Post by: JeffKohn on July 27, 2009, 06:12:16 pm
Quote from: Kirk Gittings
k
Jack F

As Jeff above stated. PSM does simple repositioning of architectural tiles well (when it works at all!), without creating the pincushion (for lack of a better term) distortion that seems to be inherent in APP. Jack does APG do a better job than APP?
Autopano Pro/Giga will always use some sort of projection to warp the images (spherical, planar, cylindrical, mercatur). IMHO you don't want this when flat-stitching images that were taken with shift lens or rear-standard movements. The ability to set the center point, leveling, etc in APP/G is great for rotational panos, but completely unnecessary for flat-stitches (in fact I would say it's detrimental).
Title: Odd PS Photomerge problem
Post by: Jack Flesher on July 27, 2009, 06:46:56 pm
Quote from: JeffKohn
Autopano Pro/Giga will always use some sort of projection to warp the images (spherical, planar, cylindrical, mercatur). IMHO you don't want this when flat-stitching images that were taken with shift lens or rear-standard movements. The ability to set the center point, leveling, etc in APP/G is great for rotational panos, but completely unnecessary for flat-stitches (in fact I would say it's detrimental).

Yes, but in all the shift-stitches I've captured, using the cylindrical projection seems to work fine, ie; projects correctly in a rectilinear fashion...  I have not analyzed it critically on an architectural composite however.
Title: Odd PS Photomerge problem
Post by: JeffKohn on July 27, 2009, 07:08:41 pm
Quote from: Jack Flesher
Yes, but in all the shift-stitches I've captured, using the cylindrical projection seems to work fine, ie; projects correctly in a rectilinear fashion...  I have not analyzed it on an architectural composite however.
Using a cylindrical projection might look OK, but it's not really correct (especially since the initial warping done to each frame is not correct due to the nature of the shift lens). You'll get a slight horizontal compression of the scene that may or may not be pleasing (the wider the FOV, the less likely that it will be pleasing). Vertical lines will be preserved, but horizontal lines will not be preserved unless they pass through the center point of the projection. I just don't see a reason to do this extra warping and projecting when there's a cleaner, simpler solution that doesn't degrade the image.

PTGui at least has some advanced options for entering the shift info for lens-shifted images; but I've not really looked into it in much detail, because for correctly-shot shift images PS Photomerge will work pretty much perfectly every time and is fast and convenient to use (no need to generate intermediate TIFF's, for instance).
Title: Odd PS Photomerge problem
Post by: Kirk Gittings on July 28, 2009, 01:01:50 pm
Quote from: walter.sk
The Prefs file gets corrupted at the drop of a hat, or mouse!  I finally learned, after too much time spent resetting my preferences, to make a copy of the newly set preferences file and keep it on my desktop.  When (not if!) Photoshop begins doing strange things I have a fresh copy of the prefs file, with my favorite settings, just waiting for me.

Good solution. Works like a charm. Also from a suggestion on the PS Forum, I wrote out the file location in Notepad and saved it in the same desktop file with the uncorrupted Preferences folder. I then copy and paste that in Run and it takes me right to the corrupted file location.
Title: Odd PS Photomerge problem
Post by: Kirk Gittings on July 28, 2009, 01:30:32 pm
Holy Cow! The new Preferences file had already been corrupted by the time I saved it and I had to start over again. I guess you have to save an absolutely clean file freshly set up before you run a single image?
Title: Odd PS Photomerge problem
Post by: Kirk Gittings on July 28, 2009, 02:06:19 pm
As per the point Jeff and I were making above about PM vs. APP for flat architectural stitches from T/S lenses. Here is an example. The first two arre from the raw files. The second in Photoshop Photomerge from the raw files (unedited from the merge) and the third is merged in AutoPano Pro with no post merging adjustments. It was done with the planar projection (the best of them for flat stitchs). See the pincushioning it introduces and the additional work required if you go this route for flat stitch architectural subjects. These all need some fine tuning before the client sees them of course, but you can see how working from from raw files in PS to Photomerge is quick and easy and does a competent job.
Title: Odd PS Photomerge problem
Post by: Jack Flesher on August 23, 2009, 08:00:47 am
Quote from: Kirk Gittings
As per the point Jeff and I were making above about PM vs. APP for flat architectural stitches from T/S lenses. Here is an example. The first two arre from the raw files. The second in Photoshop Photomerge from the raw files (unedited from the merge) and the third is merged in AutoPano Pro with no post merging adjustments. It was done with the planar projection (the best of them for flat stitchs). See the pincushioning it introduces and the additional work required if you go this route for flat stitch architectural subjects. These all need some fine tuning before the client sees them of course, but you can see how working from from raw files in PS to Photomerge is quick and easy and does a competent job.

Kirk/Jeff:

Sorry for not responding sooner, but APP/APG will do it...  You first need to set the focal length in preferences to always force 1000mm (and/or set to use 1000mm if no exif present), then re-launch to make those settings stick.  Here are your two files above rendered in APG as "Planar" projection with 1000mm focal forced, no other editing done.  Note this is a crappy looking image on quality because I used your miniscule jpegs above, but there is no pincushioning:
(http://forum.getdpi.com/gallery/files/2/group_1_-raw_1_raw_2-2_images.jpg)
Title: Odd PS Photomerge problem
Post by: JeffKohn on August 23, 2009, 11:14:48 am
OK so you can do it if you override the EXIF info. I'm still not sure why I would want to if Photoshop does a perfectly good job, especially since I don't have to generate intermediate TIFF's when using Photomerge. Also, with Photomerge I end up with the layers/masks intact and can tweak them if so desired (although I don't think I've ever actually needed to).

It's something to keep in mind if Photoshop ever fails to stitch correctly, though.
Title: Odd PS Photomerge problem
Post by: Jack Flesher on August 23, 2009, 12:50:25 pm
Quote from: JeffKohn
OK so you can do it if you override the EXIF info. I'm still not sure why I would want to if Photoshop does a perfectly good job, especially since I don't have to generate intermediate TIFF's when using Photomerge. Also, with Photomerge I end up with the layers/masks intact and can tweak them if so desired (although I don't think I've ever actually needed to).

It's something to keep in mind if Photoshop ever fails to stitch correctly, though.

I hear you, but a couple of other points.  One is that APP/APG does an extremely good job of blending colors and tones where they differ. Obviously if you do the captures and raw processing properly that usually isn't an issue, but still something to keep in mind in case you need it. The other is perspective/PoV changes on the fly, lots more intuitive and easier than CS's transform tools.
Title: Odd PS Photomerge problem
Post by: Kirk Gittings on August 26, 2009, 03:36:45 pm
Quote from: Kirk Gittings
Holy Cow! The new Preferences file had already been corrupted by the time I saved it and I had to start over again. I guess you have to save an absolutely clean file freshly set up before you run a single image?

Deleting the settings file solves the problem....temporarily.

Any thoughts on this? If I close PS, delete the preferences file, open PS, set my new preferences, copy and save that new preferences file and use that the next time the file gets corrupted, that fresh preferences file I saved is already corrupted and I have to delete it and just build a new one from scratch every time. I have tried creating new files eliminating a specific preference setting each time to see if a particular setting is causing the problem but it isn't.

What is causing the settings file to get corrupted???
Title: Odd PS Photomerge problem
Post by: Kirk Gittings on October 09, 2009, 06:53:25 pm
Quote from: Kirk Gittings
Deleting the settings file solves the problem....temporarily.

Any thoughts on this? If I close PS, delete the preferences file, open PS, set my new preferences, copy and save that new preferences file and use that the next time the file gets corrupted, that fresh preferences file I saved is already corrupted and I have to delete it and just build a new one from scratch every time. I have tried creating new files eliminating a specific preference setting each time to see if a particular setting is causing the problem but it isn't.

What is causing the settings file to get corrupted???


I am back to this same question again with a brand new faster computer running 64 Bit Vista and 64 bit PS CS4 now. Extremely slow merges unless I use a brand new fresh preferences file with none of my custom settings applied. Not that I have anything weird that I can think of in terms of custom settings, just color profiles, scratch disk location etc. Differences this time?-none of my plugins work with 64 bit so none of those are installed.

Any new thoughts on this all to common problem?
Title: Odd PS Photomerge problem
Post by: michaelbiondo on October 29, 2009, 09:38:51 pm
Sorry to hear about your problems kirk, Since I use mac systems I am afraid I can not help at all with the corrupted preferences issue. Regarding the various stitching software, I am working with CS3, APP pro and PTgui. I am shooting with a Cambo Ultima view camera with a Canon 1ds mkII mounted on the rear as a capture device, for lenses I use the schneider digitar 28 and various hasselblad glass. I like this set up for architecture as it allows me to create 9 frame stitches (there up and three across ) So far so good. Everyone is happy (including my accountant) but I am spending too much time behind the computer.  My problem is that when I  bracket my exposures (2 stops either way) and create the stitches the resulting files do not align precisely. They can vary from dead on to three or four pixels off, this is a pain because I like to paint (with layer masks) from one exposure on to another. Is anyone else have this problem ?  The folks at APP suggested that in application settings I  "Change "Detect links in" to "one stack level". This means there will be only one level of the bracket that has links and not all layers. Effectively, it will give what you want : every layer will have the same links" well that does not seem to be doing the trick.....
Title: Odd PS Photomerge problem
Post by: Kirk Gittings on October 29, 2009, 10:29:50 pm
Can't help you with that one. I own and use APP sometimes but have not encountered that problem. I would suggest starting a new thread as there are some people here with allot of experence with APP.

Good bump however for my original issue. Anyone have any thoughts about the all too common corruption of the preferences file on CS4?
Title: Odd PS Photomerge problem
Post by: JeffKohn on October 29, 2009, 11:14:27 pm
Quote from: michaelbiondo
Sorry to hear about your problems kirk, Since I use mac systems I am afraid I can not help at all with the corrupted preferences issue. Regarding the various stitching software, I am working with CS3, APP pro and PTgui. I am shooting with a Cambo Ultima view camera with a Canon 1ds mkII mounted on the rear as a capture device, for lenses I use the schneider digitar 28 and various hasselblad glass. I like this set up for architecture as it allows me to create 9 frame stitches (there up and three across ) So far so good. Everyone is happy (including my accountant) but I am spending too much time behind the computer.  My problem is that when I  bracket my exposures (2 stops either way) and create the stitches the resulting files do not align precisely. They can vary from dead on to three or four pixels off, this is a pain because I like to paint (with layer masks) from one exposure on to another. Is anyone else have this problem ?  The folks at APP suggested that in application settings I  "Change "Detect links in" to "one stack level". This means there will be only one level of the bracket that has links and not all layers. Effectively, it will give what you want : every layer will have the same links" well that does not seem to be doing the trick.....
I can't comment on doing this in APP, since my past experience is that it didn't handle this scenario very well. PTGui can do it just fine, though. Just configure it to enable HDR stitching and link the layers. I prefer the Exposure Fusion option to the regular HDR processing. Then on the output tab, tell it to output the 'blend planes' in addition to the final blended shot, and it will give you what you want.

One word of warning, if you use Smartblend for the blending, sometimes it will blend slightly differently for each bracket and you'll get small alignment problems in certain parts of the image. I prefer to use the 'PTGui' option for blending when dealing with brackets.
Title: Odd PS Photomerge problem
Post by: michaelbiondo on October 30, 2009, 09:25:05 am
Jeff, Thank you so much. I tested the PTgui solution with your recommended settings and it worked perfectly. You really saved me a lot of time and effort, I owe you one.
I am constantly in awe the power of user forums, the collective knowledge of all of us is really impressive!
Michael Biondo