1. A method for writing text to a region, the method comprising:
performing an inverse transform on expressions for coordinates of a perimeter of the region to produce transformed expressions for coordinates of a perimeter of a transformed region, the inverse transform being the inverse of a text transform;
identifying a set of text boxes in the transformed region;
writing text to the text boxes; and
applying the text transform to the text.
2. The method of claim 1 wherein performing the inverse transform comprises performing an inverse of a rotation transform.
3. The method of claim 1 wherein performing the inverse transform comprises performing the inverse of a skewing transform.
4. The method of claim 1 wherein performing the inverse transform comprises performing the inverse of a translational transform.
5. The method of claim 1 wherein identifying a set of text boxes in the transformed region comprises:
identifying a set of rectangles that have at least two corners on the perimeter of the region and have a height that is less than a font height for the text;
combining the set of rectangles to form the text boxes, the text boxes having a height equal to the font height.
6. The method of claim l wherein in the method forms part of a larger method for writing a single string of text across a plurality of regions, the larger method further comprising:
performing the inverse transform on at least two of the regions to form two transformed regions;
identifying a set of text boxes in at least two of the transformed regions;
writing different portions of the text string to text boxes in at least two different transformed regions; and
applying the text transform to text written to the text boxes.
7. The method of claim 1 wherein the method is invoked by issuing a call to a server process from a client process the call including issuing a plurality of parameters comprising a region identifier, a text identifier, and a font identifier, and a transform identifier.
8. The method of claim 7 wherein issuing a transform identifier comprises issuing an identifier that designates a transform matrix.
9. A computer-readable medium having computer-executable components comprising:
a transform component for transforming a region using an inverse of a text transform to produce a transformed region, wherein transforming the region comprises applying the inverse of the text transform to expressions for coordinates of the perimeter of the region to form transformed expressions for coordinates of the perimeter of the transformed region;
a text box identifying component for identifying at least one text box in the transformed region; and
a draw text component for drawing text to at least one of the text boxes while applying the text transform to the text.
10. The computer-readable medium of claim 9 wherein the transform component performs an inverse of a rotation transform on the region.
11. The computer-readable medium of claim 9 wherein the transform component performs an inverse of a skew transform on the region.
12. The computer-readable medium of claim 9 wherein the transform component performs an inverse of a translational transform on the region.
13. The computer-readable medium of claim 9 wherein the text box identifying component comprises:
a scan component capable of identifying a set of lines that terminate at the perimeter of the region and that are separated by a distance that is smaller than the height of the text; and
a text box generation component capable of combining the set of lines to identify the text boxes.
14. The computer-readable medium of claim 9 wherein the transform component is capable of transforming multiple regions using the inverse of the text transform to produce multiple transformed regions.
15. The computer-readable medium of claim 14 wherein the text box identifying component is capable of identifying a text box in each of the transformed regions and the draw text component is capable of drawing text in a text box in each of the transformed regions.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A system comprising:
a non-destructive testing (NDT) system comprising:
an NDT probe comprising a testing sensor and a motion sensor, wherein the testing sensor is configured to capture sensor data from an inspection area, and the motion sensor is configured to detect a measurement speed at which the NDT probe moves relative to the inspection area; and
a processor configured to determine a speed comparison between the measurement speed and a reference speed range.
2. The system of claim 1, wherein the processor is configured to disregard the sensor data captured when the measurement speed is outside the reference speed range.
3. The system of claim 1, wherein the NDT probe comprises a haptic device configured to provide haptic feedback to an operator when the measurement speed is outside the reference speed range.
4. The system of claim 1, wherein the NDT probe comprises an audio output or a visual output configured to provide an operator-perceptible notification when the measurement speed is outside the reference speed range.
5. The system of claim 1, wherein the NDT system comprises a display screen configured to visually display the speed comparison.
6. The system of claim 5, wherein the NDT system comprises a mobile device having the display screen.
7. The system of claim 5, wherein the testing sensor comprises an eddy current sensor, an x-ray sensor, an ultrasonic sensor, or a light sensor, or any combination thereof.
8. The system of claim 1, wherein the motion sensor comprises an accelerometer, a gyroscope, a counter, a magnetometer, or any combination thereof.
9. The system of claim 8, wherein the motion sensor is configured to detect a measurement angle of the NDT probe relative to the inspection area, and the processor is configured to determine an angle comparison between the measurement angle and a reference angle range.
10. The system of claim 1, wherein the reference speed range is based at least in part on a user input, the inspection area, or a current use of the NDT probe, or any combination thereof.
11. A non-transitory computer readable medium comprising instructions configured to:
capture sensor data from an inspection area, by using a non-destructive testing (NDT) probe;
determine a measurement speed of the NDT probe and a measurement angle of the NDT probe relative to the inspection area;
determine a speed comparison between the measurement speed and a reference speed range;
determine an angle comparison between the measurement angle and a reference angle range;
display a first graphical representation of the speed comparison and a second graphical representation of the angle comparison on a display screen.
12. The non-transitory computer readable medium of claim 11, comprising instructions configured to display a speed warning when the speed comparison is within a speed threshold of speed bounds of the reference speed range, or to display an angle warning when the angle comparison is within an angle threshold of angle bounds of the reference angle range, or any combination thereof.
13. The non-transitory computer readable medium of claim 11, comprising instructions configured to:
receive a user input by using a user interface; and
determine the reference speed range and the reference angle range based at least in part on the user input.
14. The non-transitory computer readable medium of claim 11, comprising instructions configured to display a speed guide, an angle guide, or any combination thereof.
15. The non-transitory computer readable medium of claim 11, comprising instruction configured to:
classify the sensor data based on the speed comparison and the angle comparison corresponding to a time the sensor data is captured;
recording the sensor data in a memory.
16. A method comprising:
receiving probe data from a non-destructive testing (NDT) device, wherein the probe data comprises sensor data and motion data, wherein the sensor data and motion data correspond to a sample time;
comparing the motion data to one or more motion reference ranges;
notifying an operator if the motion data of the sample time is outside the one or more motion reference ranges; and
recording the sensor data of the sample time if the motion data of the sample time is within the one or more motion reference ranges.
17. The method of claim 16, wherein the one or more reference ranges comprise a speed range of the NDT device relative to an inspection area, an angle range of the NDT device relative to the inspection area, or any combination thereof.
18. The method of claim 16, wherein notifying the operator comprises providing haptic feedback, audio feedback, or visual feedback to the operator.
19. The method of claim 16, comprising notifying the operator if the motion data of the sample time is within a threshold of bounds of the one or more reference ranges.
20. The method of claim 16, comprising recording the sensor data of the sample time if the motion data of the sample time is outside the one or more motion ranges, wherein the sensor data comprises an indicator that the motion data is outside the one or more motion ranges.