Claims
- 1. A method, comprising:
decomposing a first shape into at least one subshape; identifying instances of said at least one subshape in a target shape; and determining if said first shape is present in said target shape based on said identifying.
- 2. The method of claim 1 additionally comprising defining an equivalent straight line shape for each curved line in said first shape before decomposing said first shape.
- 3. The method of claim 2 additionally comprising, for any identified instances of a subshape corresponding to an equivalent straight line shape, confirming said identified instances with said curved line.
- 4. The method of claim 3 wherein said decomposing includes decomposing said first shape into a plurality of subshapes, said plurality of subshapes being arranged hierarchically according to constraints.
- 5. The method of claim 4 wherein said identifying is performed iteratively using said plurality of subshapes, beginning with a subshape having the most constraints, and ending when either instances of all of said plurality of subshapes have been identified in said target shape or no instances of one of said plurality of subshapes have been identified in said target.
- 6. The method of claim 5 additionally comprising applying a rule to said target shape based on said determining.
- 7. A method, comprising:
defining an equivalent straight line shape for each curved line in a first shape; decomposing said first shape into at least one subshape; identifying instances of parametric transformations of said at least one subshape in a target shape; comparing any instances of a subshape corresponding to a straight line shape found in said target shape to said curved line; and determining if said first shape is present in said target shape based on said identifying and said comparing.
- 8. The method of claim 7 wherein said decomposing includes decomposing said first shape into a plurality of subshapes, said plurality of subshapes being arranged hierarchically according to constraints.
- 9. The method of claim 8 wherein said identifying and comparing are performed iteratively using said plurality of subshapes, beginning with a subshape having the most constraints, and ending when either instances of all of said plurality of subshapes have been identified in said target shape or no instances of one of said plurality of subshapes have been identified in said target.
- 10. The method of claim 9 additionally comprising applying a rule to said target shape based on said determining.
- 11. A memory device carrying a set of instructions which, when performed, execute a method comprising:
decomposing a first shape into at least one subshape; identifying instances of said at least one subshape in a target shape; and determining if said first shape is present in said target shape based on said identifying.
- 12. A memory device carrying a set of instructions which, when performed, execute a method comprising:
defining an equivalent straight line shape for each curved line in a first shape; decomposing said first shape into at least one subshape; identifying instances of parametric transformations of said at least one subshape in a target shape; comparing any instances of a subshape corresponding to a straight line shape found in said target shape to said curved line; and determining if said first shape is present in said target shape based on said identifying and said comparing.
- 13. An apparatus, comprising:
means for decomposing a first shape into at least one subshape; means for identifying instances of said at least one subshape in a target shape; and means for determining if said first shape is present in said target shape in response to said means for identifying.
- 14. An apparatus, comprising:
means for defining an equivalent straight line shape for each curved line in a first shape; means for decomposing said first shape into at least one subshape; means for identifying instances of parametric transformations of said at least one subshape in a target shape; means for comparing any instances of a subshape corresponding to a straight line shape found in said target shape to said curved line; and means for determining if said first shape is present in said target shape in response to said means for identifying and said means for comparing.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is a continuation-in-part of U.S. patent application Ser. No. 09/493,903 entitled Parametric Shape Grammar Interpreter filed Jan. 28, 2000.
STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT
[0002] Certain of the research leading to the present invention was sponsored by the United States National Science Foundation under contract No. DMI-9713782. The United States Government may have rights in the invention.
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
09493903 |
Jan 2000 |
US |
Child |
10350428 |
Jan 2003 |
US |