I'm a new DM's user and I need to transfer data (pixels bright) between **Digital Micrograph** and **R**, for processing and modelling an image. 

Specifically, I would need to extract the bright pixels from an original image, send it to **R** for processing, and return to DM for to represent the new image.

I would like to know if it is possible and how to do it from an script in DM.

A lot of thanks. Regards.