Yep, pretty much that. The TOUCH OUT command will assign different TOUCH values to variables. the TM variable will receive the amount of frames the screen has been touched for, the TX variable receives the X position of the touch, and TY receives the Y position of the touch.
After TOUCH OUT, you simply want to see if the touch coordinates are within the space you want to tap, so if your...
image is, say, located between points 100(X),100(Y) and 200(X),200(Y), you can check and see if that space was tapped by doing this:
IF TX>100 AND TX<200 AND TY>100 AND TY<200 THEN GOTO @IMAGE
Hope I helped!