Logical test if a user point is in a user defined domain in a figure

This function finds if a point (x,y) is in an irregular, possibly concave user defined domain.
137 Downloads
Updated 29 May 2012

View License

This is a program that is useful for image processing and registration. In particular, the metric of a registration in an iteration could be set to zero if it is outside the user defined area of interest. This will not only improve the efficiency but also the accuracy of registration by not considering the
%image outside the domain. Usage example: y=IsPointInUserDomain2d(movingimage,5,[150 200]).

The synthetic image used here was downloaded from www.itk.org, national library of medicine.

Cite As

Rex Cheung (2024). Logical test if a user point is in a user defined domain in a figure (https://www.mathworks.com/matlabcentral/fileexchange/36881-logical-test-if-a-user-point-is-in-a-user-defined-domain-in-a-figure), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Geometric Transformation and Image Registration in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0