Setting a tolerance for variable such as angles

2 views (last 30 days)
Hello all,
I have a function that aligns micrographs taken at different angles into one composite image at 0 degrees. The function searches for exactly 0, 60, 120, 180, and 300 degrees. I was wondering how I could set a tolerance maybe within 5-10%. I've only been finding answers for testing if values are within a certain tolerance. Thank you.

Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!