diff --git a/modules/io/src/img/map_io_mrc_handler.cc b/modules/io/src/img/map_io_mrc_handler.cc index 077b1057d0c5a8adf16c645d2b5c5120351e0c8c..d5ccdb9fd42dcf9cc050a17a182c2cdb65651d35 100644 --- a/modules/io/src/img/map_io_mrc_handler.cc +++ b/modules/io/src/img/map_io_mrc_handler.cc @@ -808,7 +808,6 @@ void import_helper(img::MapHandle& image, std::istream& in,const MRC& formatmrc) LOG_MESSAGE("Suspicious dell dimensions found. Cannot set sampling."); } LOG_MESSAGE("resulting image extent: " << image.GetExtent() << std::endl); - image.Reset(img::Extent(mstart,msize),img::REAL,img::SPATIAL); if(img::image_state::RealSpatialImageState *rs=dynamic_cast<img::image_state::RealSpatialImageState*>(image.ImageStatePtr().get())) { if(header.mode==0) { detail::real_filler<uchar,CONVERSIONTYPE>(*rs,f,header);