답변 있음
how to estimate the density of each pixel in the image?
I am not sure what you mean, but if it is the intensity of a pixel, you can access that as follows: intensity=yourimage(50,...

대략 11년 전 | 0

답변 있음
overlay to image matrix together
It depends a lot on your images and what you exactly want, but did you try to just sum them? overlay_im=image1+image2; I...

대략 11년 전 | 0

답변 있음
how to choose weight (lamda)value for thresholding based intensity contrast and variance?
For the modulus you should check this link: http://lmgtfy.com/?q=matlab+modulus

대략 11년 전 | 0

| 수락됨

답변 있음
Find a series of consecutive numbers in a vector
The following will give the lengths of the consecutive sequences of your vector: q=yourvector; a=diff(q); b=f...

대략 11년 전 | 6

답변 있음
how to access zip files in the directory?
Using the 'dir'-command you can obtain a list of files. In your case you could use something like: filelist=dir('DATA/*....

대략 11년 전 | 0

| 수락됨

답변 있음
changing values of pixels in an image pixel by pixel ( Thresholding )
Hi, First I don't understand how your original image can have non-integer pixel values, because it seems your image is 8-bit ...

대략 11년 전 | 1

답변 있음
Change amount of ticks on a colorbar
The 'YTick' property contains the locations of the ticks on the Y axis, so I guess that set(cbr,'YTick',20:2:50) should...

대략 11년 전 | 5

| 수락됨

질문


Dummy error in parfor
Hi, While running a parfor loop i am getting the following error: Caught-error breakpoint was hit in ParallelException...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


Sparse for arrays with lots of NaN.
Hi, I am using very large arrays containing a lot fo NaNs. If they were zeros, I could use 'sparse' to save a lot of memory, ...

대략 11년 전 | 답변 수: 1 | 2

1

답변

답변 있음
HOW TO WRITE SUMMATION FORM ∑_(i=1) (L-1)
Make an appropriate vector with the values that you want to sum (or select the values from an array containing them) and use the...

대략 11년 전 | 0

답변 있음
Hi, guys, I am trying to create a MATLAB Subrountine, but I faced some problems. My code is not working, and I don't know what is wrong with it.
Try to remove the first three lines ('clc', 'clear' and the empty line), then rename your file, or function, so that the filenam...

대략 11년 전 | 0

답변 있음
Average curve for a set of curves
Maybe you can use interpolation (help interp has an example) to generate Y data for a common set of X points, based on your orig...

11년 초과 전 | 0

답변 있음
How to convert Nan to zero
To set all NaN in Q to zero: Q(isnan(Q))=0; Is that what you need?

11년 초과 전 | 45

| 수락됨

질문


Parfor reports error which does not exist when running as a for-loop
Hi, To speed up some calculations I am using a parfor-loop. I have to run calculations on many files and I made a simple parf...

11년 초과 전 | 답변 수: 2 | 1

2

답변

답변 있음
How to change the colour of the backgroud
It depends on what type of image you have, but let's say it is a 8-bit grayscale image. In that case you can do the following: ...

11년 초과 전 | 0

| 수락됨

답변 있음
Is there any matlab code to get time and date from Internet?
Take a look at this: http://www.mathworks.com/matlabcentral/fileexchange/20693-atomic-reminder It has a function where the...

11년 초과 전 | 1

| 수락됨

답변 있음
doubt regards of centroid
It seems that your labeledImage contains 40 different objects. All of those objects will have a centroid and that's why you get ...

11년 초과 전 | 0

답변 있음
sigmoid function value for parameter a and b
Well, if the only requirement is that y0 < 0.5 for x=0 and y1 > 0.5 for x=1, then for 0 < b < 1 and a > 0 it should work.

11년 초과 전 | 1

질문


Multi-dimensional version of bwboundaries
Hello, I am trying to get the boundaries of objects in a three-dimensional array. For 2D data, the bwboundaries functio...

11년 초과 전 | 답변 수: 2 | 0

2

답변