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

oltre 11 anni fa | 0

| accettato

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 1

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 1

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

quasi 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 1

| accettato

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 1

| accettato

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

oltre 12 anni fa | 0

Carica altro