If you want to provide access to your SomeObject
within the template, you must pass that object in as a helper. There are some different ways to do that, depending on whether you want it available globally to all templates, just to this template, or just for this render() call. See: the $.views.helpers() topic under Register helpers, converters, tags...
For example if you pass it in with the render call, with a name such as "myObject":
myTemplate.render(myData, {myObject: SomeObject});
then you can reference it as in ~myObject
:
<img ... src="{{: ~fltrOAMnImgs_hlp(Images, ~myObject)}}">
See also this related answer: Trying to run a function on an array in a, for loop, using jsrender