<div dir="ltr">Hi dears,<div>How can to make a Local Buffer from a big file and pass it to importimagefilter </div><div><br></div><div>const char * buffer</div><div><div>typedef ImageType::PixelType PixelType;</div><div>PixelType* pixelData = static_cast< PixelType*>( buffer );</div><div>const unsigned int totalNumberOfPixels= nx * ny;</div><div>import->SetImportPointer(pixelData,totalNumberOfPixels,importFilterWillDeleteTheInputBuffer );</div><div>importer->Update();</div><div>return importer->GetOutput();</div></div><div><br></div><div>How can I generate Buffer when I have a big file for example  300MB and when I cast to pixel Data</div><div>Just brings one char </div><div><br></div><div>Thanks in advance  <br></div></div>