Answered

Memory Usage and block proc

blockproc will not read the full image, it ought to only read one tile each. However, since your file system is serial, the fina...

Memory Usage and block proc

blockproc will not read the full image, it ought to only read one tile each. However, since your file system is serial, the fina...

5 years ago | 0

Answered

I am able to read the netcdf file format. But how to calculate average? Suppose I have to calculate the average from 1st January to 5th January, then again 6th January to 10th January and so on.....Below is the program to read the values.

I assume you know about <http://www.mathworks.com/help/matlab/ref/mean.html |mean|> but want to find out how to index into a net...

I am able to read the netcdf file format. But how to calculate average? Suppose I have to calculate the average from 1st January to 5th January, then again 6th January to 10th January and so on.....Below is the program to read the values.

I assume you know about <http://www.mathworks.com/help/matlab/ref/mean.html |mean|> but want to find out how to index into a net...

5 years ago | 0

| accepted

Answered

Example 3D netcdf data

If you assume net connection, your example could "download" it. MATLAB can read <http://docs.opendap.org/index.php/Dataset_List ...

Example 3D netcdf data

If you assume net connection, your example could "download" it. MATLAB can read <http://docs.opendap.org/index.php/Dataset_List ...

5 years ago | 1

Answered

How to create Linear structuring element in morphological operations

Use <http://www.mathworks.com/help/images/ref/strel.html#bqkf9de |strel|>.

How to create Linear structuring element in morphological operations

Use <http://www.mathworks.com/help/images/ref/strel.html#bqkf9de |strel|>.

5 years ago | 0

Answered

How can i create a NetCDF file ?

Felipe, Consider starting with the example in the <http://www.mathworks.com/help/matlab/ref/nccreate.html |nccreate|> doc page ...

How can i create a NetCDF file ?

Felipe, Consider starting with the example in the <http://www.mathworks.com/help/matlab/ref/nccreate.html |nccreate|> doc page ...

5 years ago | 0

| accepted

Answered

character recognition

How about <http://en.wikipedia.org/wiki/Template_matching template matching>? Look at a demo, the corresponding source code s...

character recognition

How about <http://en.wikipedia.org/wiki/Template_matching template matching>? Look at a demo, the corresponding source code s...

5 years ago | 0

Answered

How to extract the data from .nc file based on longitude and latitude,time?

The nc* functions and the netcdf.* functions represent two independent ways to access a NetCDF file. I would recommend sticking ...

How to extract the data from .nc file based on longitude and latitude,time?

The nc* functions and the netcdf.* functions represent two independent ways to access a NetCDF file. I would recommend sticking ...

5 years ago | 0

| accepted

Answered

why does hdf5read function return only 4 decimal places instead all numbers

Look at the documentation for <http://www.mathworks.com/help/matlab/ref/format.html |format|>. >> hinfo = hdf5info('test....

why does hdf5read function return only 4 decimal places instead all numbers

Look at the documentation for <http://www.mathworks.com/help/matlab/ref/format.html |format|>. >> hinfo = hdf5info('test....

5 years ago | 0

| accepted

Answered

How we can check for more than one edge passing through a pixel

When looking for 3x3 (or 2x2) patterns, BWLOOKUP is usually faster and more flexible: function bw = multiedge(bwedge) ...

How we can check for more than one edge passing through a pixel

When looking for 3x3 (or 2x2) patterns, BWLOOKUP is usually faster and more flexible: function bw = multiedge(bwedge) ...

5 years ago | 0

Answered

extract portion of netCDF file based on latitide and longitude

Try using <http://www.mathworks.com/help/matlab/ref/ncdisp.html |ncdisp|> first to look at the structure of your file. Usually...

extract portion of netCDF file based on latitide and longitude

Try using <http://www.mathworks.com/help/matlab/ref/ncdisp.html |ncdisp|> first to look at the structure of your file. Usually...

5 years ago | 0

| accepted

Answered

Output argument "pixel_location" (and maybe others) not assigned during call to ......

Setting pixel_location to empty ([]) in the else might be the right thing to do. MATLAB often uses [] to indicate 'nothing found...

Output argument "pixel_location" (and maybe others) not assigned during call to ......

Setting pixel_location to empty ([]) in the else might be the right thing to do. MATLAB often uses [] to indicate 'nothing found...

5 years ago | 0

Answered

Imageprocessing tool of matlabR2010 doesnot contain 'getHSVColorFromDirectory' function

getHSVColorFromDirectory is not a MATLAB function. Please contact the author of the code you are trying to execute to resolve th...

Imageprocessing tool of matlabR2010 doesnot contain 'getHSVColorFromDirectory' function

getHSVColorFromDirectory is not a MATLAB function. Please contact the author of the code you are trying to execute to resolve th...

5 years ago | 0

Answered

save images as tif 32 bits by using imwrite

Soum, did you click on the documentation link? Andreas was talking about the Tiff class, which is a different interface than IMW...

save images as tif 32 bits by using imwrite

Soum, did you click on the documentation link? Andreas was talking about the Tiff class, which is a different interface than IMW...

6 years ago | 3

Answered

How to get INTENSITY along a spcific curve?

You could try using <http://www.mathworks.com/help/images/ref/improfile.html |improfile|>, it will let you draw the cirle and th...

How to get INTENSITY along a spcific curve?

You could try using <http://www.mathworks.com/help/images/ref/improfile.html |improfile|>, it will let you draw the cirle and th...

6 years ago | 0

| accepted

Answered

Builder JA Error with private file (dicominfo)

Chris: _The problem turned out to be Java 1.7 being incompatible with Matlab2013a. The documented examples like computing t...

Builder JA Error with private file (dicominfo)

Chris: _The problem turned out to be Java 1.7 being incompatible with Matlab2013a. The documented examples like computing t...

6 years ago | 0

| accepted

Answered

How do I optimize this code to run efficiently on the GPU?

A quick 'air' code using <http://www.mathworks.com/help/distcomp/pagefun.html |pagefun|>: tic M = pagefun(@mtimes, A(:...

How do I optimize this code to run efficiently on the GPU?

A quick 'air' code using <http://www.mathworks.com/help/distcomp/pagefun.html |pagefun|>: tic M = pagefun(@mtimes, A(:...

6 years ago | 0

Answered

How can i convert an ASCII file to NetCDF?

Kopparthi, I assume you meant to upload only the meta data in the text file. I am not familiar with ADCP so I am not sure how yo...

How can i convert an ASCII file to NetCDF?

Kopparthi, I assume you meant to upload only the meta data in the text file. I am not familiar with ADCP so I am not sure how yo...

6 years ago | 0

| accepted

Answered

How can delete a variable within a netcdf file

_"Attributes are more dynamic than variables or dimensions; they can be deleted and have their type, length, and values changed ...

How can delete a variable within a netcdf file

_"Attributes are more dynamic than variables or dimensions; they can be deleted and have their type, length, and values changed ...

6 years ago | 0

Answered

How do I process this netcdf file?

It looks like you have already discovered |ncdisp|, have a look at other functions in the same family: <http://www.mathworks.com...

How do I process this netcdf file?

It looks like you have already discovered |ncdisp|, have a look at other functions in the same family: <http://www.mathworks.com...

6 years ago | 0

| accepted

Answered

Regarding file convertion from one format to another format?

First, read the data into MATLAB using |fopen| and |fread|. You could then use the |nc*| family of functions like <http://www.ma...

Regarding file convertion from one format to another format?

First, read the data into MATLAB using |fopen| and |fread|. You could then use the |nc*| family of functions like <http://www.ma...

6 years ago | 0

| accepted

Answered

NETCDF GIS coupling creationg problems

I am not familiar with arcGIS, does it show you the variable dimensions? Does it expect time to be first or the last dimension? ...

NETCDF GIS coupling creationg problems

I am not familiar with arcGIS, does it show you the variable dimensions? Does it expect time to be first or the last dimension? ...

6 years ago | 0

Answered

Problem with change a files whitin netcdf

Try the <http://www.mathworks.com/help/matlab/ref/netcdf.renamevar.html |netcdf.renamevar|> function. The doc page in the link h...

Problem with change a files whitin netcdf

Try the <http://www.mathworks.com/help/matlab/ref/netcdf.renamevar.html |netcdf.renamevar|> function. The doc page in the link h...

6 years ago | 0

| accepted

Answered

How to fill inside of binary region?

How about connected component analysis? Use <http://www.mathworks.com/help/images/ref/regionprops.html |regionprops|> to obtain ...

How to fill inside of binary region?

How about connected component analysis? Use <http://www.mathworks.com/help/images/ref/regionprops.html |regionprops|> to obtain ...

6 years ago | 0

Answered

How do I call BLOCKPROC with more than one input image?

Have a look at the _Definitions_ section of the <http://www.mathworks.com/help/images/ref/blockproc.html |blockproc|> doc. Consi...

How do I call BLOCKPROC with more than one input image?

Have a look at the _Definitions_ section of the <http://www.mathworks.com/help/images/ref/blockproc.html |blockproc|> doc. Consi...

6 years ago | 0

Answered

How to superimpose images?

Give <http://www.mathworks.com/help/images/ref/imfuse.html |imfuse|> a try.

How to superimpose images?

Give <http://www.mathworks.com/help/images/ref/imfuse.html |imfuse|> a try.

6 years ago | 0

Answered

Image segmentation using active contour toolbox

I am not familiar with the toolbox you mention. If you have a current version of MATLAB, have a look at <http://www.mathworks...

Image segmentation using active contour toolbox

I am not familiar with the toolbox you mention. If you have a current version of MATLAB, have a look at <http://www.mathworks...

6 years ago | 0

| accepted

Answered

Converting multispectral images to single RGB image

Greg, I am not too familar with this domain - have a look at <http://www.mathworks.com/help/images/ref/makecform.html |makecform...

Converting multispectral images to single RGB image

Greg, I am not too familar with this domain - have a look at <http://www.mathworks.com/help/images/ref/makecform.html |makecform...

6 years ago | 0

Answered

Extracting individual maps from netCDF files

What is the size of the variable? ( <http://www.mathworks.com/help/matlab/ref/ncdisp.html |ncdisp|> might help). If you have ...

Extracting individual maps from netCDF files

What is the size of the variable? ( <http://www.mathworks.com/help/matlab/ref/ncdisp.html |ncdisp|> might help). If you have ...

6 years ago | 0

Answered

Does different image parameters affect image registration?

Difference in spatial resolution differece might explain the poor registration. You could specify the image spacing using us...

Does different image parameters affect image registration?

Difference in spatial resolution differece might explain the poor registration. You could specify the image spacing using us...

6 years ago | 0

Answered

Passing byte array to Matlab as if read by imread

I assume you are using the MATLAB compiler to wrap MATLAB functions into a C-callable DLL. Have a look at this <http://www.mathw...

Passing byte array to Matlab as if read by imread

I assume you are using the MATLAB compiler to wrap MATLAB functions into a C-callable DLL. Have a look at this <http://www.mathw...

6 years ago | 0