Re: Opening and read .dat file double format [message #92455 is a reply to message #92449] |
Sun, 20 December 2015 08:42   |
alghafisuct
Messages: 20 Registered: November 2014
|
Junior Member |
|
|
On Friday, December 18, 2015 at 7:22:10 AM UTC-8, Craig Markwardt wrote:
> On Friday, December 18, 2015 at 7:26:07 AM UTC-5, algha...@gmail.com wrote:
>> Hi everyone
>>
>> I have a .dat file double and is 5000 by 8039. I'm using the file in Matlab and I want to try to open it in IDL. So I know it is very basic question but I'm new in IDL and I want to start using it. After I open the file, I want to read like the value of (1,1)
>
> What format is the data in? ASCII? Binary? Matlab format? It makes a difference.
Thanks Craig
My data is Binary double format and I used the following because I want to extact the image to see as I'm doing in Matlab
template = BINARY_TEMPLATE('C:\Users\asus\Desktop\Metasensing\IDL_PROJE CTS\20151021115853_11_SAR_CPLX_0_pres_8.dat')
Result = READ_BINARY('C:\Users\asus\Desktop\Metasensing\IDL_PROJECTS\ 20151021115853_11_SAR_CPLX_0_pres_8.dat', DATA_DIMS = [4999, 8038])
im = IMAGE(Result)
end
But I got an image meaning nothing to me only white and black image
Am I doing the right way or there are other ways to see the image
Thanks
|
|
|