Applying A Parametric Script to a Surface

I am very new to grasshopper. I have a script that utilizes a photo to create a pattern based on an image. I basically understand how to change, for instance, the heights of the shapes, and shapes themselves, but I don’t know how to approach actually utilizing this to create a parametric solid patterning on a specific surface (i.e. for a building exterior). Reference script and and surface attached.
Thank you! (667.6 KB)

Ref-Surface.3dm (246.6 KB) (709.6 KB)

Thank you so much! This will be helpful to learn from!