nci / drishti

Drishti
MIT License
176 stars 40 forks source link

.raw file problem in DrishtiImport v2.6.4 #23

Open FrankFR opened 6 years ago

FrankFR commented 6 years ago

Hello everyone,

When importing data from a .raw file the slices in Z and X direction look as expected, but the y-slices behave strangely (see attached images of 4 consecutive Y-slices). Every second slice looks as if the byte order is wrong. I used data from completely different CT-setups. The used .raw files are either 'uint16 little endian' or '32-bit float' format and I am using Drishti for Windows. Despite this, I am able to create a .pvl.nc file and the rendered volume looks totally fine. As I have no idea what the problem could be, I'd appreciate every contribution.

Regards,

Frank

P.S.: I just downloaded AMIDE to check if the slice problem also occurs there, but it looks normal.

slice382 slice383 slice384 slice385

AjayLimaye commented 6 years ago

Hi Frank, This is a bug in Drishti Import for extraction and display of slice in Y axis, but as you have seen it does not affect the processing and display in the renderer.

Cheers, Ajay

On Tue, 17 Apr 2018 at 1:43 am, FrankFR notifications@github.com wrote:

Hello everyone,

When importing data from a .raw file the slices in Z and X direction look as expected, but the y-slices behave strangely (see attached images of 4 consecutive Y-slices). Every second slice looks as if the byte order is wrong. I used data from completely different CT-setups. The used .raw files are either 'uint16 little endian' or '32-bit float' format and I am using Drishti for Windows. Despite this, I am able to create a .pvl.nc file and the rendered volume looks totally fine. As I have no idea what the problem could be, I'd appreciate every contribution.

Regards,

Frank

[image: slice382] https://user-images.githubusercontent.com/38291795/38819336-6bf96dac-419b-11e8-8c15-dd36611ebcbb.jpg [image: slice383] https://user-images.githubusercontent.com/38291795/38819338-6c11b0ec-419b-11e8-8d26-968cc625c4fa.jpg [image: slice384] https://user-images.githubusercontent.com/38291795/38819339-6c29f224-419b-11e8-8e1c-636deaed34ba.jpg [image: slice385] https://user-images.githubusercontent.com/38291795/38819340-6c47e374-419b-11e8-89de-be8f93dfb4c9.jpg

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nci/drishti/issues/23, or mute the thread https://github.com/notifications/unsubscribe-auth/AFlarhWQhX2ZEVJVjzVuY7FGkh_hL1Gbks5tpLwYgaJpZM4TWyA8 .

FrankFR commented 6 years ago

Ah ok. Thank you for the quick reply!