A question about the size of the gray window

Hi, I want to display a image as a 2D texture, but the image’s gray window size is from -1 to 1, and the gray level is 0,What’s more it has only one component. when I use opengl to display it, I cann’t see anything. so I want to know there are any ways to set the the window’s gray size and level? Thank you