Segmented Texture Mapping

Hi guys!

I am trying to build a grasshopper script that samples certain pixel dimensions from an image and maps into a designated Rhino geometry. Please refer to the image attached. This is done entirely in Rhino space. I wonder if there is anyone here who tried to do this in Grasshopper. I will keep posting as I work on it. Any advice would be greatly welcomed!

Thanks,
Jsong