Export RGB color profile to csv

Hello everyone,
I’m a newbie programming macros with ImageJ and after many trials I finally decided to post my question here.

I have an image with multiple closed lines (only one shown here as an example). Then, I extracted the orientation information by means of the Orientation J plugin. I also used the modified Color Survey plugin to extract the RGB profiles of the orientation paths. However, I found it very difficult to export the RGB values to a csv (or txt) document as part of a macro.

Any hints would be really appreciated!



Export_orientation.ijm (583 Bytes)
Color_Profiler.jar (46.1 KB)