If I understand you correctly, you are talking about an image that has a wide top part, a narrow middle part and a wide bottom part, and you want to stretch only the middle part.
If that is correct, it cannot be done. You can stretch an entire image but not part of it.
What you can do is divide the image into 3 parts, and then stretch the middle one