Feeds
提问
Does imread read subsets from cloud-optimized geotiffs
Hi, cloud-optimized geotiff (COG) is a format to work with spatial raster data in the cloud (https://www.cogeo.org/). I am curr...
2 years 前 | 1 个回答 | 0
1
个回答已回答
Plot line with points at given distance
Since you are working with TopoToolbox, you might want to use the function getlocation. If you have a STREAMobj S, then you can ...
Plot line with points at given distance
Since you are working with TopoToolbox, you might want to use the function getlocation. If you have a STREAMobj S, then you can ...
2 years 前 | 0
| 已接受
已回答
Inverse distance weighting based on direction
Hi Christian, interesting question. First of all, if you follow the IDW-approach, you might save a lot of computing time using ...
Inverse distance weighting based on direction
Hi Christian, interesting question. First of all, if you follow the IDW-approach, you might save a lot of computing time using ...
2 years 前 | 0
| 已接受
提问
Fit Gaussian mixture model with weighted observations
Hi everyone, looking at the help of fitgmdist, I cannot see that there is the possibility to weight observations. Is there a rea...
5 years 前 | 3 个回答 | 0
3
个回答已回答
2D gaussian filter with a variable sigma
Hi Chad, below is some code that does the trick using nlfilter. To be more efficient, I created a look-up table with a finite s...
2D gaussian filter with a variable sigma
Hi Chad, below is some code that does the trick using nlfilter. To be more efficient, I created a look-up table with a finite s...
5 years 前 | 0
已回答
What makes a Toolbox a Toolbox, and how is it recognized by Matlab?
Hi Chad, the trick is to have a Contents.m-file in the main folder of your toolbox. In TopoToolbox, the file starts with T...
What makes a Toolbox a Toolbox, and how is it recognized by Matlab?
Hi Chad, the trick is to have a Contents.m-file in the main folder of your toolbox. In TopoToolbox, the file starts with T...
6 years 前 | 0
提问
Customized icons in workspace
Hi all, I have written a couple of MATLAB classes and, as icing on the cake, I'd like to have customized icons in the worksp...
10 years 前 | 0 个回答 | 1
0
个回答已回答
total number of elements which are not zero
Hi, what about: B = sum(Percey~=0,2); Regards, W.
total number of elements which are not zero
Hi, what about: B = sum(Percey~=0,2); Regards, W.
12 years 前 | 0
| 已接受
已回答
How can I perform a comparison function (of surrounding pixels) on a DEM using a starting pixel?
Hi, you might be interested in using the function ixneighbors available on the FEX which might make life a little easier for ...
How can I perform a comparison function (of surrounding pixels) on a DEM using a starting pixel?
Hi, you might be interested in using the function ixneighbors available on the FEX which might make life a little easier for ...
12 years 前 | 0
已回答
Connected graph given adjacency matrix
You can use the function dmperm to see if a graph consists of one or several connected components. E.g. see the example here <h...
Connected graph given adjacency matrix
You can use the function dmperm to see if a graph consists of one or several connected components. E.g. see the example here <h...
12 years 前 | 0
| 已接受
已回答
path elevation profile
Hi, if you have the image processing toolbox, the function improfile should do what you ask for. <http://www.mathworks.de/help/...
path elevation profile
Hi, if you have the image processing toolbox, the function improfile should do what you ask for. <http://www.mathworks.de/help/...
12 years 前 | 0
已回答
What does +(A>0) do?
I often do this to convert a logical matrix to double. However, I just tried and realized that this is slower than A = double(A>...
What does +(A>0) do?
I often do this to convert a logical matrix to double. However, I just tried and realized that this is slower than A = double(A>...
13 years 前 | 1
已回答
error using imsubtract
Hi Megah, apparently both variables don't have the same class. Try image3 = imsubtract(im2double(image1),im2double(BWfinal)...
error using imsubtract
Hi Megah, apparently both variables don't have the same class. Try image3 = imsubtract(im2double(image1),im2double(BWfinal)...
13 years 前 | 0
已回答
Calculate the indirect distance between two points
Bahare, you might find this contribution interesting: <http://www.mathworks.com/matlabcentral/fileexchange/8625-shortest-pat...
Calculate the indirect distance between two points
Bahare, you might find this contribution interesting: <http://www.mathworks.com/matlabcentral/fileexchange/8625-shortest-pat...
13 years 前 | 0
已回答
Ordered connected components
Hi Dustin, I don't have MATLAB at hand right now, so I cannot try, but I think bwboundaries should solve your problem. [...
Ordered connected components
Hi Dustin, I don't have MATLAB at hand right now, so I cannot try, but I think bwboundaries should solve your problem. [...
13 years 前 | 0
已回答
Graph analysis question
I just tried your example. While results of a kmeans clustering don't look too promising, the function clusterdata works quite w...
Graph analysis question
I just tried your example. While results of a kmeans clustering don't look too promising, the function clusterdata works quite w...
13 years 前 | 0
已回答
Overlay digital elevation model on hillshade
Hi Ajay, you might want to check TopoToolbox, which includes such a function. <http://physiogeo.unibas.ch/topotoolbox/> ...
Overlay digital elevation model on hillshade
Hi Ajay, you might want to check TopoToolbox, which includes such a function. <http://physiogeo.unibas.ch/topotoolbox/> ...
13 years 前 | 0
已回答
Count black and white pixels on a image
How about using *blockproc* to get the number of white pixels (in case you have the image processing toolbox)? A = full(spran...
Count black and white pixels on a image
How about using *blockproc* to get the number of white pixels (in case you have the image processing toolbox)? A = full(spran...
13 years 前 | 1
提问
Keeping k largest values in each column of a sparse matrix
Hi everyone, I am trying to implement an algorithm that involves a pruning of a large sparse matrix. The pruning scheme shoul...
13 years 前 | 1 个回答 | 0
1
个回答已回答
data correction
Hi, you can identify the NaNs using the function isnan. I = isnan(dem); % where dem is the digital elevation model The inpa...
data correction
Hi, you can identify the NaNs using the function isnan. I = isnan(dem); % where dem is the digital elevation model The inpa...
13 years 前 | 0
已回答
Problem on fuzzy inference calculations ..
Hi, the error message says all: The first input must be a defined DOUBLE matrix Is the variable input in double format? ...
Problem on fuzzy inference calculations ..
Hi, the error message says all: The first input must be a defined DOUBLE matrix Is the variable input in double format? ...
13 years 前 | 1
| 已接受
已回答
finding neighbor of a position
Hi, you might find this function useful. <http://www.mathworks.com/matlabcentral/fileexchange/16991-neighbor-indexing> ...
finding neighbor of a position
Hi, you might find this function useful. <http://www.mathworks.com/matlabcentral/fileexchange/16991-neighbor-indexing> ...
13 years 前 | 1
已回答
Connect bwlabeled components
I'd start with using the function bwlabeln to label the connected components in the 3d. This, however, requires them to never ov...
Connect bwlabeled components
I'd start with using the function bwlabeln to label the connected components in the 3d. This, however, requires them to never ov...
13 years 前 | 0
已回答
straighten curved Image
This is not trivial and I think you should show what you have done so far. If you haven't really started yet, you may want to lo...
straighten curved Image
This is not trivial and I think you should show what you have done so far. If you haven't really started yet, you may want to lo...
13 years 前 | 0
已回答
how to draw a grid in MATLAB???
Hi, take a look at Steve's blog, where he describes how to generate a pixel grid. Perhaps, this is what you want. <http://...
how to draw a grid in MATLAB???
Hi, take a look at Steve's blog, where he describes how to generate a pixel grid. Perhaps, this is what you want. <http://...
13 years 前 | 1
已回答
Kriging
To my knowlegde there is no comprehensive geostatistical software written in Matlab. I would always use packages such gstat or g...
Kriging
To my knowlegde there is no comprehensive geostatistical software written in Matlab. I would always use packages such gstat or g...
13 years 前 | 2
已回答
How to plot a 2D vector-field and exclude zero-vectors (dots) in the graph?
How about: I = ~(T(:,3)==0 & T(:,4)==0); quiver(T(I,1),T(I,2),T(I,3),T(I,4)); cheers, Wolfgang
How to plot a 2D vector-field and exclude zero-vectors (dots) in the graph?
How about: I = ~(T(:,3)==0 & T(:,4)==0); quiver(T(I,1),T(I,2),T(I,3),T(I,4)); cheers, Wolfgang
13 years 前 | 2
| 已接受