Share a operation sequence

asked 2015-05-25 09:00:57 -0500

LBerger gravatar image

Hi, I 'm wondering if a file format exist (like a macro) which contains all operations to perform a task.

example convert a color image in grayscale and after thresholding :

Operation0: { op:cvtcolor, op1:0, op2:-1, res:-1, nomSequence:colorThreshold, intParam: - { name:ColorSpaceCode, value:6 }}

Operation1: { op:threshold, op1:1, op2:-1, res:-1, , nomSequence:colorThreshold, intParam: - { name:threshold_type, value:0}, doubleParam: - { name:maxval, value:255. } - { name:thresh, value:50. }, }

If it exits already where can I find it ? If not is it interesting to think how can it be done.

Thanks for your answer

edit retag flag offensive close merge delete