An unusual and sometimes farfetched implied comparison that is applied to an object scene person emotion or other natural situation is called conceit.
It is a sort of extended metaphor which poets often use to make comparisons between very different things.