If you want to mechanically add a filter between you lensput it "inside" you lens/camera and youstill attach your lens to your camera (lens attached to filter attached to camera, as usual):
It will change you lens basic characteristics as it adds distance: adding a filter between you lens and your camera will have the effects of an extender (focal length and aperture will change for example).
You still have to find room for electric connection between your camera and your lens. As you can see on most lenses, there is not much surface available.You will add one more source of movement between lens and camera if your can tighten the whole 3 elements correctly.
You need space to screw you lens with your finger. You will probably need a tool to screw it inside your lens/body without adding fingerprint on the filter.The filter will have to be resistant enough to maintain the lens on the body. So you will probably end up with a huge filter with the same mount as a lens.
You will have one more chance of adding small pieces of metal/plastic in your body/lens as you screw/unscrew filter on the thread.
As mentioned by Itai, you might make it easier by using a slot/tray in which insert you filter but:
Your filter will have a hard time being compatible with all lens/body because they all have different electrical connections.
The body of your lens will have to be reinforced to compensate the structural "hole" => heavier lensSealing might be a problem for weather resistant body/camera combo (the effort exercised on the filter will be greater).
It makes your lens bulkier, you have to add a new mechanism to lock/unlock the filter in position- Making it weather-sealed might be troublesome
- It has to be "cleanable" to remove dust
If you want to mechanically put it "inside" you lensadd a filter (or your camera) and still attach your lens to your camerabetween you lens and you camera (lens attached to filter attached to camera, as usual):
You still have to find room for electric connection between your camera and your lens. As you can see on most lenses, there is not much surface available.
It will change you lens basic characteristics as it adds distance: adding a filter between you lens and your camera will have the effects of an extender (focal length and aperture will change for example).You need space to screw you lens with your finger. You will probably need a tool to screw it inside your lens/body without adding fingerprint on the filter.
You will add one more source of movement between lens and camera if your can tighten the whole 3 elements correctly.You will have one more chance of adding small pieces of metal/plastic in your body/lens as you screw/unscrew filter on the thread.
The filter will have to be resistant enough to maintain the lens on the body. So you will probably end up with a huge filter with the same mount as a lens.- Your filter will have a hard time being compatible with all lens/body because they all have different electrical connections.
- Sealing might be a problem for weather resistant body/camera combo (the effort exercised on the filter will be greater).
Of course adding a filter inside the lens or the body will have the advantage of having a unique diameter of filter for all lenses. That would be the one, and (and only ?example from Itai) advantage of such filtersit may be the only solution to fisheye lenses or lenses with a huge front element.