What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Reply to thread

Yup:  Generate the spatial cross correlation between each of your images and a (centered) annular region of roughly the right size.  The peak of the xc function will give you the offset of your circle from the center of your image.  Using that information, translate your image in x and y by the offset values you just determined.  As the final step, convert your image to polar coordinates and integrate over all angles.  The graph of the brightness (or lack of saturation, or any other suitable metric) as a function of, r, the remaining coordinate, should show a strong peak at the average radius of the circle.  So now, you have it's position and scaling (ie, size).


However, here's the catch -- as I mentioned in earlier discussions, you are trying to shoehorn what amounts to an image processing project using software (ie, Photoshop) that was never, every intended to be used for mathematical image processing.  All of the above steps could be done in probably fewer than 10 lines of Matlab code.


Tom M


What is our favorite program/app? (Hint - it begins and ends with the letter P)
Back
Top