You might get lucky but I think it's unlikely that the right person will see this question. The right person would be someone who is already familiar with the open-source image-based retrieval system you shared, and who understands what you're describing, and knows enough about Matlab to implement what you're describing, and has the motivation and time to invest into doing that.
You may have better luck in some other forum that focuses on that system, if one exists.
Alternatively, you could ask a more specific question that focuses on a small area where you're stuck and explain the inputs/outputs without relying on anyone being familiar with the external image retrieval software.
