Answered

Advice for Speeding Up TIFF concatenation

First, try familarizing yourself with the <http://www.mathworks.com/help/matlab/ref/profile.html |profile|> tool. That will help...

Advice for Speeding Up TIFF concatenation

First, try familarizing yourself with the <http://www.mathworks.com/help/matlab/ref/profile.html |profile|> tool. That will help...

6 years ago | 0

Answered

Time complexity of built in functions in matlab ( imdilate, imerode, histeq, adapthisteq) which I can use in my program

These function might have multiple internal code paths for different sizes/datatypes/syntax. These paths might have different im...

Time complexity of built in functions in matlab ( imdilate, imerode, histeq, adapthisteq) which I can use in my program

These function might have multiple internal code paths for different sizes/datatypes/syntax. These paths might have different im...

6 years ago | 0

| accepted

Answered

Query regarding webcam in matlab

ANy webcam which works is detected and works with your OS ought to work: <https://www.mathworks.com/products/imaq/supported/g...

Query regarding webcam in matlab

ANy webcam which works is detected and works with your OS ought to work: <https://www.mathworks.com/products/imaq/supported/g...

6 years ago | 0

| accepted

Answered

Computer Vision and Image Acquisition for mobile computing

What are your: * Budget constraints * Power constraints? (Battery or always on AC power? * Performance constraints? I cant ...

Computer Vision and Image Acquisition for mobile computing

What are your: * Budget constraints * Power constraints? (Battery or always on AC power? * Performance constraints? I cant ...

6 years ago | 0

Answered

Greyscale an image via replacing pixels

% air code (untested) red = fit(:,:,1); green = fit(:,:,2); blue = fit(:,:,3); isblue = blue>250; % Use log...

Greyscale an image via replacing pixels

% air code (untested) red = fit(:,:,1); green = fit(:,:,2); blue = fit(:,:,3); isblue = blue>250; % Use log...

6 years ago | 1

Answered

How to convert an ASCII to NetCDF?

Hope this helps you get started: %% set up dummy data fid = fopen('tmp.mat','w'); fmtStr = repmat(' %f',[1,13...

How to convert an ASCII to NetCDF?

Hope this helps you get started: %% set up dummy data fid = fopen('tmp.mat','w'); fmtStr = repmat(' %f',[1,13...

6 years ago | 0

Answered

How to extract information from h5disp?

What data are you trying to extract? |h5info| will return the same content as the disp, but in the form of a structure. While...

How to extract information from h5disp?

What data are you trying to extract? |h5info| will return the same content as the disp, but in the form of a structure. While...

6 years ago | 0

| accepted

Answered

Runtime loading of shared libraries

Use <http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html ldconfig> or use MATLAB's <http://www.mathworks.com/help/...

Runtime loading of shared libraries

Use <http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html ldconfig> or use MATLAB's <http://www.mathworks.com/help/...

6 years ago | 0

Answered

Extracting subsets of structs from HDF5 files

Steve, You would have to use the low-level functions. I believe it can be done, but its a bit more complex than what I could ...

Extracting subsets of structs from HDF5 files

Steve, You would have to use the low-level functions. I believe it can be done, but its a bit more complex than what I could ...

6 years ago | 0

Answered

I have a problem with ncread, OPeNDAP and 4-dim data

Remon, I am not sure what is happening here. The error code appears to indicate a server side error <https://www.unidata.ucar.ed...

I have a problem with ncread, OPeNDAP and 4-dim data

Remon, I am not sure what is happening here. The error code appears to indicate a server side error <https://www.unidata.ucar.ed...

6 years ago | 0

Answered

Opening netcdf - Only displays one cell

Grant, To read data, your best bet is to use <http://www.mathworks.com/help/matlab/ref/ncread.html |ncread|>. >> landcov...

Opening netcdf - Only displays one cell

Grant, To read data, your best bet is to use <http://www.mathworks.com/help/matlab/ref/ncread.html |ncread|>. >> landcov...

6 years ago | 0

Answered

how to read a time series data at a particular (x, y) grid cell in a netcdf file

Look at <http://www.mathworks.com/help/matlab/ref/ncread.html |ncread|> (and <http://www.mathworks.com/help/matlab/ref/ncdisp....

how to read a time series data at a particular (x, y) grid cell in a netcdf file

Look at <http://www.mathworks.com/help/matlab/ref/ncread.html |ncread|> (and <http://www.mathworks.com/help/matlab/ref/ncdisp....

6 years ago | 2

Answered

Converting multilayer grayscale tiff images to JPG2000

The warning is telling you that there was some tag in the file that the reader could not interpret. It is most likely some custo...

Converting multilayer grayscale tiff images to JPG2000

The warning is telling you that there was some tag in the file that the reader could not interpret. It is most likely some custo...

6 years ago | 0

Answered

error using netcdf.putVar

Try adding a call to end the definition using <http://www.mathworks.com/help/matlab/ref/netcdf.enddef.html |netcdf.enddef|> afte...

error using netcdf.putVar

Try adding a call to end the definition using <http://www.mathworks.com/help/matlab/ref/netcdf.enddef.html |netcdf.enddef|> afte...

6 years ago | 0

| accepted

Answered

coordinates of the farthest point from centroid

Air code: [maxRadius, maxRadiusIndex] = max(distances) maxPointCoord = thisBoundary(maxRadiusIndex,:) Loo...

coordinates of the farthest point from centroid

Air code: [maxRadius, maxRadiusIndex] = max(distances) maxPointCoord = thisBoundary(maxRadiusIndex,:) Loo...

6 years ago | 0

| accepted

Answered

filling a netcdf file

To read: * <http://www.mathworks.com/help/matlab/ref/dlmread.html |dlmread|> * <http://www.mathworks.com/help/matlab/ref/tex...

filling a netcdf file

To read: * <http://www.mathworks.com/help/matlab/ref/dlmread.html |dlmread|> * <http://www.mathworks.com/help/matlab/ref/tex...

6 years ago | 0

Answered

Read multiple netcdf files with variable names

You could think of something along these lines: (air code, as in I havent tested it) modelNames = {'m1, m2}; varNames...

Read multiple netcdf files with variable names

You could think of something along these lines: (air code, as in I havent tested it) modelNames = {'m1, m2}; varNames...

7 years ago | 0

Answered

How to put a String in a dataset attribute

Second example <http://www.mathworks.com/help/matlab/ref/h5d.write.html h5d.write> doc page shows how to write strings. (using c...

How to put a String in a dataset attribute

Second example <http://www.mathworks.com/help/matlab/ref/h5d.write.html h5d.write> doc page shows how to write strings. (using c...

7 years ago | 0

Answered

can lossless jpeg2000 format picture size be LESS than lossy jpeg2000 format of same picture

You could read both back and compare against the one your wrote out to verify the lossy/lossless nature for yourself. The com...

can lossless jpeg2000 format picture size be LESS than lossy jpeg2000 format of same picture

You could read both back and compare against the one your wrote out to verify the lossy/lossless nature for yourself. The com...

7 years ago | 1

Answered

How do I use NCWRITE to write an entire variable?

Update your third input argument to have the same size as the variable in the file that you are writing to. For example, if y...

How do I use NCWRITE to write an entire variable?

Update your third input argument to have the same size as the variable in the file that you are writing to. For example, if y...

7 years ago | 0

| accepted

Answered

Creating netCDF files: How can I set the order of the dimensions in a field?

%Account for moving from Column major to Row major ordering colMajorDims = [dim_dim1 dim_dim2 dim_dim3]; rowMaj...

Creating netCDF files: How can I set the order of the dimensions in a field?

%Account for moving from Column major to Row major ordering colMajorDims = [dim_dim1 dim_dim2 dim_dim3]; rowMaj...

7 years ago | 0

| accepted

Answered

Save matrix as image format file

If you have a current version of MATLAB, the |Tiff| class provides a way to write multi sample image data. Note: This is a di...

Save matrix as image format file

If you have a current version of MATLAB, the |Tiff| class provides a way to write multi sample image data. Note: This is a di...

7 years ago | 0

Answered

Trying to use a for loop to capture data from netCDF output, and then average the data

Tyler Herrington: I solved the issue by changing the SeaIceVol(A):SeaIceVol(B) into a series of commas: for i=1:50...

Trying to use a for loop to capture data from netCDF output, and then average the data

Tyler Herrington: I solved the issue by changing the SeaIceVol(A):SeaIceVol(B) into a series of commas: for i=1:50...

7 years ago | 1

Answered

Trying to write a variable varying with 3 dimensions to MatLab

vNID will have a dimension of nt by nlat by nlon. But you are trying to write the variable S which is sulph(1,:) (just a column ...

Trying to write a variable varying with 3 dimensions to MatLab

vNID will have a dimension of nt by nlat by nlon. But you are trying to write the variable S which is sulph(1,:) (just a column ...

7 years ago | 0

Answered

reading and working with .im7 image files

This <http://www.mathworks.com/matlabcentral/fileexchange/10902-pivmat-2-12/content/pivmat/html/loadvec.html FEX> submission cla...

reading and working with .im7 image files

This <http://www.mathworks.com/matlabcentral/fileexchange/10902-pivmat-2-12/content/pivmat/html/loadvec.html FEX> submission cla...

7 years ago | 0

Answered

Finding Circles in an Image. Hough Transform, Tao's CircularHough_Grd algorithm, Matlab's infindcircles

I was able to get the sphere and some false positives with: [c, r] = imfindcircles(I, [18 22], 'ObjectPolarity','dark','Sens...

Finding Circles in an Image. Hough Transform, Tao's CircularHough_Grd algorithm, Matlab's infindcircles

I was able to get the sphere and some false positives with: [c, r] = imfindcircles(I, [18 22], 'ObjectPolarity','dark','Sens...

7 years ago | 0

Answered

Need help with Ncwrite

The second example of <http://www.mathworks.com/help/matlab/ref/ncwrite.html ncwrite> could be of some help. Note that your ...

Need help with Ncwrite

The second example of <http://www.mathworks.com/help/matlab/ref/ncwrite.html ncwrite> could be of some help. Note that your ...

7 years ago | 0

| accepted

Answered

NN in matlab

" Do you have this: http://www.mathworks.com/products/neural-network/index.html "

NN in matlab

" Do you have this: http://www.mathworks.com/products/neural-network/index.html "

7 years ago | 0

Answered

Format distance tool label to centimeter.

" The distance tool reports in pixels for a very good reason: An image doesn't have *physical* distance by itself. Real-worl...

Format distance tool label to centimeter.

" The distance tool reports in pixels for a very good reason: An image doesn't have *physical* distance by itself. Real-worl...

7 years ago | 0

Answered

Image processing for crater detection

"This seems like an interesting problem. I suppose, for the thresholding, the way they calculate the limits Rm, Rmin and Rmax ne...

Image processing for crater detection

"This seems like an interesting problem. I suppose, for the thresholding, the way they calculate the limits Rm, Rmin and Rmax ne...

7 years ago | 0