Total internal reflection based super-resolution imaging for sub-IR frequencies