Beantwortet
coordinates of the farthest point from centroid
Air code: [maxRadius, maxRadiusIndex] = max(distances) maxPointCoord = thisBoundary(maxRadiusIndex,:) Loo...

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
filling a netcdf file
To read: * <http://www.mathworks.com/help/matlab/ref/dlmread.html |dlmread|> * <http://www.mathworks.com/help/matlab/ref/tex...

fast 12 Jahre vor | 0

Beantwortet
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...

fast 12 Jahre vor | 0

Beantwortet
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...

fast 12 Jahre vor | 0

Beantwortet
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...

fast 12 Jahre vor | 1

Beantwortet
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...

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 12 Jahre vor | 0

Beantwortet
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...

etwa 12 Jahre vor | 1

Beantwortet
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 ...

etwa 12 Jahre vor | 0

Beantwortet
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...

etwa 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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 ...

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
error running at fist instant
"sir ,I changed those A letters to another letter B ,IT WORKS NOW"

mehr als 12 Jahre vor | 0

Beantwortet
Subtracting the first frame of a movie from all the others....using imsubract maybe?
"HEY i DID IT USING " M = mmreader('cell.avi'); N = M.NumberOfFrames; for ii = 1:N A=imsubtract(M.read(1),M.r...

mehr als 12 Jahre vor | 0

Beantwortet
combining number of images using matlab
You could look at <http://www.mathworks.com/help/toolbox/images/ref/imfuse.html |imfuse|> and see if it helps combine two images...

mehr als 12 Jahre vor | 1

Beantwortet
Generating mex file from Matlab code containing regionprops
Try function outVar = myapp %#codegen coder.extrinsic('imread'); coder.extrinsic('regionprops'); idxList...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
How to get Image information (imtool) - Image description using command prompt function
Look at <http://www.mathworks.com/help/techdoc/ref/imfinfo.html |imfinfo|>.

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Extract multiple radius from an image
If you have the newer version with the Image Processing Toolbox, the imfindcircles might be useful (depending on the 'circularit...

fast 13 Jahre vor | 0

Beantwortet
Readint in multiple .cdf files from a text file
# You want <http://www.mathworks.com/help/techdoc/ref/cdfread.html |cdfread|> not |netcdf.open| to read CDF files. # It looks l...

fast 13 Jahre vor | 0

Beantwortet
Image Edges: Calculate complexity of a line segment?
(I'll try to flesh this soon) How about: * Obtain the |PixelList| property of each line using |regionprops| * Compute the...

fast 13 Jahre vor | 0

Beantwortet
How to count black pixels in a region of an image that can only have 1 white neighbor pixel
You could try leveraging |conv2|. Here is the idea: in = [ 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 ...

fast 13 Jahre vor | 0

| akzeptiert

Beantwortet
Low level visual equalization of images
You could try using |histeq| to equalize the histogram of two images. I was about to say its hard to quantify 'contrast' obj...

fast 13 Jahre vor | 1

| akzeptiert

Beantwortet
Change placemarker size/zoom when using impoly()
About the second question: * Yes, while drawing the polygon, mouse over and click the (+) button on the toolbar. * Dont wor...

fast 13 Jahre vor | 0

| akzeptiert

Beantwortet
How do I perform spectral unmixing in MATLAB?
For other readers who are new to 'Spectral Unmixing', <http://en.wikipedia.org/wiki/Imaging_spectroscopy#Unmixing this> is a goo...

fast 13 Jahre vor | 1

Beantwortet
imwrite function
Your previous comment specified that the file format you are using is JPEG. JPEG uses <http://en.wikipedia.org/wiki/Lossy_com...

fast 13 Jahre vor | 1

| akzeptiert

Beantwortet
CT and MRI images
This is not a full answer, but a rough guide to how you could perform anisotropic resampling of your CT image. (Posting as an an...

fast 13 Jahre vor | 0

Mehr laden