according to the present invention , the method commences with a digital image of tooth decay . fig1 is a typical picture taken by a digital dental camera . as shown in fig1 , human gums 1 support a human molar tooth 2 with tooth decay 3 . the photo can be downloaded to a personal computer in a conventional way as it is done today . the image can be retrieved from a digital x - ray of the tooth , or a digital scan of a paper photograph of the tooth . according to this invention , and using software tools , as described herein , the dentist can use the personal computer &# 39 ; s pointing device to define the edges of the tooth decay over the displayed digital image , creating one or more boundaries . fig2 shows boundaries 5 overlaid on the digital image from fig1 . the boundaries can be scaled by the user entering the image size . fig3 is the schematic of the selected area defined to be treated having boundaries 6 and 7 , by radiation ablation or cutting filled with consecutive focused pulses locations 8 . using the means to move the radiation focused energy spot at distance d of fig7 , the apparatus can thus cover the selected area . the distance d of fig7 is a programmable value of the step size , and it can be varied as a percentage of the radiation focused spot size , such as in a range from 30 % to 80 %, with the default set at 50 %. fig3 is the defined treatment boundaries of the selected area displayed by the apparatus that is part of this invention . to show the defined treatment boundaries with respect to the tooth , a red diode laser can be used to focus and move a spot around the boundaries in repetition at a rate that is greater than 50 times a second , thereby forming a standing image 10 as shown in fig4 . this image at the correct scale can then be aimed and aligned with the tooth decay . the user can then hold the apparatus steady in place and by pressing a command switch , such as a footswitch , the focused radiation spot will be moved from spot to spot with distance d as outlined in fig7 until the last spot is covered . to repeat the process , the user can press the command switch again . according to the present invention the continuation of laser ablating of the tooth carries will continue with the last selected area boundaries or a scaled down in programmable size , to smaller area until the dentist will determined that the remain tooth is clean from decay and he will be ready to fill the cavity and finalize the treatment . the present invention is for a method of performing laser surgery by ablating or cutting a preprogrammed and selected particular area of hard material such as teeth , bones or a none cellular material . in some embodiments , the selected area will be part of a human tooth that has different level of tooth decay that needs to be removed . the apparatus that is part of this invention has selection of areas that had been preprogrammed , and according to this invention the shapes can include , but are not limited to , circle , square , rectangle , ellipse , triangle and line , programmed to sizes of 1 - 4 mm . fig5 is a selected narrow rectangle where the boundary 11 will be displayed by the apparatus using a red laser diode focused beam moving at rate larger than 50 times a second creating a standing image that the user can aim and position over the selected area to treat . the radiation focused pulse locations 12 can then be filled , causing the selected area ablation . fig6 is similarly a circle as a selected area . the choices of the different preprogrammed shapes and sizes are performed by the user before the ablation process commences . moreover , the use of preprogrammed shapes and sizes , such as described in connection with fig5 and 6 , need not also use the digital picture since the preprogrammed shapes and sizes can be selected on the fly by the user , and the selected shapes and sizes can be readily seen on the targeted area itself using the visible standing image , as described . according to this invention , in some embodiments , the radiation source is a co 2 laser at wavelength of 9 . 3 μm . the laser emits pulses for duration of 50 - 75 μseconds , with energy of 5 - 7 milli - joules per pulse spaced at 2 . 5 milliseconds apart , or at frequency of 400 hertz . in addition , some embodiments will have a red diode laser with wavelength of 650 nm . this red visible laser is use to show the physical programmed boundaries . the laser beam can be focused to a 135 μm by an optical lens with focal distance of 50 mm . the method and apparatus described by this invention includes motorized scanner mirrors capable to direct and maneuver the said focused beams in an area larger than the said pre - selected programmed area . the apparatus can be used by the operator to select the area with a particular predetermined shape and size . the apparatus can maneuver the focused red diode laser at rate of 50 times per second around the selected boundaries forming a visible standing image of the selected area boundaries that can be used by the operator to aim and align the area with the area on the tooth that need s to be ablated or cut . according to this invention , the apparatus is provided with an electric activating switch , such as but not limited to , a footswitch , that the operator can use to activate the co 2 laser to ablate or cut the defined selected area . by activating the said electric switch , the focused laser beam will be directed to the first spot inside the selected area and the x - y motorized scanner will aim and hold the laser direction at this spot for the duration of about 2 . 5 milli - second . within this time the laser will release one pulse . according to the details of this invention , the system then will move the said focused laser beam distance d mm away from the previous spot along one axis ( either x or y axis ) for the said 2 . 5 milliseconds . fig7 distance d is a programmable value and can be defined as a percentage of the spot size , such as where the percentage is set to 50 %, thus d = 67 . 5 μm . within this period of time the laser will release the next pulse . this process will repeat until the selected area is fully covered by pulses both in x and y direction . according to the details of this invention , the user can repeat the ablation by using same setting and activating the footswitch again for another layer , or change the setting to different shape or different size , until the dentist will determine that the selected area is clean from any undesired substance . embodiments of the subject matter and the functional operations described in this specification can be implemented in digital electronic circuitry , or in computer software , firmware , or hardware , including the structures disclosed in this specification and their structural equivalents , or in combinations of one or more of them . embodiments of the subject matter described in this specification can be implemented as one or more computer program products , i . e ., one or more modules of computer program instructions encoded on a tangible program carrier for execution by , or to control the operation of , data processing apparatus . the tangible program carrier can be a computer - readable medium . the computer - readable medium can be a machine - readable storage device , a machine - readable storage substrate , a memory device , or a combination of one or more of them . the term “ data processing apparatus ” encompasses all apparatus , devices , and machines for processing data , including by way of example a programmable processor , a computer , or multiple processors or computers . the apparatus can include , in addition to hardware , code that creates an execution environment for the computer program in question , e . g ., code that constitutes processor firmware , a protocol stack , a database management system , an operating system , or a combination of one or more of them . the processes and logic flows described in this specification can be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output . the processes and logic flows can also be performed by , and apparatus can also be implemented as , special purpose logic circuitry , e . g ., an fpga ( field programmable gate array ) or an asic ( application - specific integrated circuit ). processors suitable for the execution of a computer program include , by way of example , both general and special purpose microprocessors , and any one or more processors of any kind of digital computer . generally , a processor will receive instructions and data from a read - only memory or a random access memory or both . the essential elements of a computer are a processor for performing instructions and one or more memory devices for storing instructions and data . generally , a computer will also include , or be operatively coupled to receive data from or transfer data to , or both , one or more mass storage devices for storing data , e . g ., magnetic , magneto - optical disks , or optical disks . however , a computer need not have such devices . devices suitable for storing computer program instructions and data include all forms of non - volatile memory , media and memory devices , including by way of example semiconductor memory devices , e . g ., eprom , eeprom , and flash memory devices ; magnetic disks , e . g ., internal hard disks or removable disks ; magneto - optical disks ; and cd - rom and dvd - rom disks . the processor and the memory can be supplemented by , or incorporated in , special purpose logic circuitry . to provide for interaction with a user , embodiments of the subject matter described in this specification can be implemented on a computer having a display device , e . g ., a crt ( cathode ray tube ) or lcd ( liquid crystal display ) monitor , for displaying information to the user and a keyboard and a pointing device , e . g ., a mouse or a trackball , by which the user can provide input to the computer . other kinds of devices can be used to provide for interaction with a user as well ; for example , feedback provided to the user can be any form of sensory feedback , e . g ., visual feedback , auditory feedback , or tactile feedback ; and input from the user can be received in any form , including acoustic , speech , or tactile input . while this specification contains many implementation details , these should not be construed as limitations on the scope of the invention or of what may be claimed , but rather as descriptions of features specific to particular embodiments of the invention . certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment . conversely , various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination . moreover , although features may be described above as acting in certain combinations and even initially claimed as such , one or more features from a claimed combination can in some cases be excised from the combination , and the claimed combination may be directed to a subcombination or variation of a subcombination . similarly , while operations are depicted in the drawings in a particular order , this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order , or that all illustrated operations be performed , to achieve desirable results . in certain circumstances , multitasking and parallel processing may be advantageous . thus , particular embodiments of the invention have been described , but other embodiments are within the scope of the following claims . for example , a different method of scanning can be used to form a fixed circular pattern that only varies in size .
methods , systems , and apparatus for programmable selective ablating or cutting of a targeted area of a material with a laser , producing a succession of pulses of the generated radiation with an energy level , pulse duration , and repetition rate specified to ablate or cut the material without causing harmful side effects ; and concentrating the radiation pulses on the targeted material to a spot sufficiently small to cause ablating or cutting of the material ; and means to direct the said spot to cover the programmed selected targeted area of a material .