Problem in working with NRRDWrite code

4 ビュー (過去 30 日間)
Bahareh Salafian Esfahani
Bahareh Salafian Esfahani 2020 年 5 月 17 日
編集済み: Madhav Thakker 2021 年 2 月 9 日
Hi, I used the attached code to convert my .mat file to nrrd file. I gave the code following input and it saved the output but when I want to read the image, it gives me the error. Does anyone know the problem? I really appreciate it if someone can help me.
Input: nrrdWriter('C:\Users\bsalafia\Desktop\LungProjection\LungProjectionMesh\LungProjectionSample.nrrd',I44, [1.00390625,1.00390625,3.00000000], [165.64453125,44.48046875,-657.00000000], 'gzip');
Error:
Unexpected end of input stream when attempting to GUNZIP the file
"C:\Users\bsalafia\AppData\Local\Temp\tp38bdd707_8531_4d70_b1ac_329b712b65af".
  1 件のコメント
Madhav Thakker
Madhav Thakker 2021 年 2 月 9 日
編集済み: Madhav Thakker 2021 年 2 月 9 日
Hi Bahareh,
Can you share the .mat file and MATLAB code?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeFile Compression についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by