Skip to content, Skip to search



121 bytes added, 00:47, 27 April 2017
no edit summary
There are two plugins in the collection providing two methods of crystal bending detection: Bending_Crystal_Track and Laser_Spot_Track4. Both use the template matching technique based on OpenCV library to track the movement of specific targets in the series of time lapse images organized in the virtual stack. Direct usage of movies opened as image stacks is not supported currently (movies can be transformed in the image sequences with tools like ffmpeg). Timeline of the registered process is based on exif timestamps in the images or on the constant time step if the metadata are not available.
There is an ability to monitor a folder for additional images appearing in the time lapse series thus allowing live process registration. The plugins work with 8/16/32-bit greyscale or 24-bit RGB images. The matching mode can be chosen from the intensity-based or color-based for the RGB format(the later is useful for images having weak intensity contrast but possessing sufficient color gradients). Subpixel registration is available using local quadratic approximation of the matching measure.   [[Image:photobend_processing.jpg|frame|400pix|left|Crystal shape tracking in process]][[Image:photobend_deformation_plot.jpg]][[Image:photobend_curvature_plot.jpg]] 
The plugins use ideas and code of
The plugin is for the analysis of a stack of time lapse microscopic images of a bending crystal. The plugin requires a virtual stack. User is instructed to select specific parts on the reference crystal image which includes: the point on the tip of free crystal's end, the point on the attached end of the crystal, the point in the middle of the crystal and a rectangle around a stable part of the image (a part supposed to be immobile during the whole process, a tip of holder or capillary to which the crystal is attached, for one).
[[Image:photobend_processing.jpg|frame|400pix|left|Crystal shape tracking in process]][[Image:photobend_deformation_plot.jpg]][[Image:photobend_curvature_plot.jpg]] The plugin code use uses the selected regions of the image as reference templates to find them in the series of the time lapse images. Automatic picture stabilization is provided by the search detection of the stable partdisplacement. Then the free crystal's end and its middle part are detected in new positions of the image (accounting for the displacement and rotation) with the template matching technique. The coordinates of the three points (two ends and the middle part) are used to calculate the curvature and deformation (elongation or shortening) of the crystal.