It happens often that patent claims have as broad a scope as they can get away with. However, I have heard that, if your invention can be in general described by an independent claim of a third-party patent, but is implemented using a specific technique that is not protected by that claim, then it can be patented. Is this true?
Further, if one implements such an invention with aforesaid non-protected method, but does not patent it, can one be sued because of infringing on the broader claim of the third-party patent?
For example, let's say that an imaginary patent claims a self-driving car with help of a set of camera sensors, and nothing more specific. If I invent a special algorithm for processing the images of the cameras in order to implement a self-driving car, am I infringing on that claim?