Urgent!!!! Problem displaying .hdr file

Hi, I am trying to display .hdr file using hdrread function ,but I am getting 'Not a radiance file ' error.I even tried analyze75info and analyze75read commands.But when i display using imshow,i get the following error "Error using imageDisplayValidateParams Expected input number 1, I, to be one of these types:
double, single, uint8, uint16, uint32, uint64, int8, int16, int32, int64, logical
Instead its type was struct."
info of my file: HdrFileSize: 348 ImgFileSize: 67108864 Format: 'Analyze' FormatVersion: '7.5' Width: 256 Height: 256 BitDepth: 32 ColorType: 'grayscale' ByteOrder: 'ieee-le' HdrDataType: '' DatabaseName: '' Extents: 16384 SessionError: 0 Regular: 1 Dimensions: [256 256 256 1] VoxelUnits: 'mm' CalibrationUnits: '' ImgDataType: 'DT_SIGNED_INT' PixelDimensions: [1 1 1]
Please help!!!!its urgent!!!
Thanks

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Image Processing Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by