Code integration with imagepy

I have a code in python and i will write a plugin in imagepy. I want to call this code through my plugin. Should I integrate my python code with imagepy source code? If so how should i do it?

Hi, @dinesh_kumar,
To write a plugin in ImagePy, you may want to follow the demos in thie

Sureā€¦I will check it out.
In addition to the plugin i need to call a python code (that i have written) through the plugin. Then what should I do.?

The plugin you will be writing is in Python. So, just put it in.
For example, your Python script will be in the def run(self, ips, imgs, para = None) def.
The imgs variable is the image you will be processing in the plugin.