The present invention is characterized by an optimization method of laser trajectory at laser microdissection, wherein an interactive layer, represented by a transparent layer, is generated above an image scanned by a microscope camera. After entering coordinates of desired and undesired objects, there is determined optimal trajectory of the laser such that weighted difference of the desired and undesired object distribution is filtered by Butterworth low-pass filter of the third order.
The smoothed image is the further provided with thresholds. Brightness values, which do not exceed the threshold value are considered as a foreground, Polygons, representing the laser trajectory are determined as boundaries between the foreground and background.
This laser optimal trajectory is then transmitted to the laser control routine, which subsequently carries out the laser microdissection cut.