DicomImageReadParam param1 = (DicomImageReadParam) readers.getDefaultReadParam();//return DicomImageReadParam // Adjust the values of Rows and Columns in it and add a Pixel Data attribute with the byte array from the DataBuffer of the scaled Raster

ImageInputStream iis = ImageIO.createImageInputStream(file);

readers.setInput(iis, false);//sets the input source to use the given ImageInputSteam or other Object

DicomImageReadParam param1= (DicomImageReadParam) readers.getDefaultReadParam();//return DicomImageReadParam // Adjust the values of Rows and Columns in it and add a Pixel Data attribute with the byte array from the DataBuffer of the scaled Raster