It helps to reduce the borders but i dont know how big is offset is correct, I used 4 as offset because i have resized the window 1/4 than original size but that not big enough,for this image i need to set offset as 5.1
And i noticed if i load the different dicomseries then the offset will also be different ,it is so wired.
There is some function in vtk let the image automaic fill the window?
Thanks for your reply! Yes i have both of them checked. My input data is a Dicomseries not a single dicom which show in Example , So I didn’t read it carefully. But you said it might work, so I went through it again. This part from link https://lorensen.github.io/VTKExamples/site/Cxx/Images/FillWindow/ help me out of the Problem! even though i dont know why it works butI’ll figure it out later. Thank you so much !!!