답변 있음
How to make a loop inside a loop?
Difficult to answer without more context, but I suspect that the error is not related to the loops but something else. There are...

대략 2년 전 | 0

답변 있음
Hough transform incorrectly identifying vertical line segments
Ok, 2 things, you are first comparing and then subtracting, which may be counteracting, you could calculate hough directly like ...

대략 2년 전 | 0

답변 있음
Hough transform incorrectly identifying vertical line segments
Have you tried inverting the intensities of the image? As it is, white is the main element and that will be difficult to obtain ...

대략 2년 전 | 0

답변 있음
Why are title and label not working on histogram?
You are using the commands incorrectly, by writing title = ('Temperatures @ Top') you are creating a new variable called title w...

대략 2년 전 | 0

| 수락됨

답변 있음
Change variable name in plot
As mentioned before, this is not the best way to handle your data, BUT you are where you are, so to be able to use the names run...

대략 2년 전 | 0

| 수락됨

답변 있음
2D color map change the input of y axis
Hello There are 2 ways to change the values of the y axis, first is to change the values when you plot. I do not have your fi...

대략 2년 전 | 0

| 수락됨

답변 있음
Asignar matriz automaticamente.
Hola Primero te recomendaria escribir en ingles para aumentar la posibilidad de que respondan las preguntas. Segundo, para que ...

대략 2년 전 | 1

답변 있음
Filter out small dust in image!
Where exactly are the rocks that you want to count? There is a lot of green but I cannot immediately see any rocks.

2년 초과 전 | 0

답변 있음
Bar Plot Legend and Axes
Hi First, to plot the subplots together, you need to grab the handles of each axes, i.e. figure h1=subplot(141); h2=subplo...

2년 초과 전 | 0

답변 있음
Smoothing colormap of plotted image
If you only want to smooth the final data, you can try with filters, e.g. imagesc(medfilt2(abs(Y),[5 5 ])) imagesc(imfilt...

2년 초과 전 | 1

| 수락됨

답변 있음
How to calculate the centroid / center of a patch?
The data X,Y must have been previously calculated from some raw data, say a thresholded figure, it is from that data you can eas...

2년 초과 전 | 2

답변 있음
Error of the following code : "Array indices must be positive integers or logical values."
Not very clear, what are length_ijk and index_ijk? in the files you have added, miu has 262144 values, ind has 77 and freq has 6...

2년 초과 전 | 0

답변 있음
Not able to write the image by reading xcel files generated , getting error of data type as shown in picture attached. Anybody please help.
This is not very clear, it would be better to copy the code instead of figures and provide a sample file so that the case can be...

2년 초과 전 | 0

답변 있음
How to add colormap on an image?
I guess that this is a 2 step question, you want to add a colormap and then export as a png or jpeg, try the following, read an ...

2년 초과 전 | 0

답변 있음
What is a good performance metric for pixels classification tasks
One good metric is the Jaccard Index, or the Intersection over Union. What this metric does is to divide true positives over th...

2년 초과 전 | 0

| 수락됨

답변 있음
Does anyone know how to create graphics of the same size?
Hello You can use the command "print" https://uk.mathworks.com/help/matlab/ref/print.html?searchHighlight=print&s_tid=srcht...

2년 초과 전 | 0

답변 있음
double data type in image processing
Another easy way around this is to divide the doubles by 255 X=imread('cameraman.tif'); %read the cameraman image X=doubl...

2년 초과 전 | 1

답변 있음
Random shuffle of vector elements
This can be easily done by addressing the vector correctly. First you need a random order to shuffle your elements. You can do t...

거의 3년 전 | 1

| 수락됨

답변 있음
how can i use a Gaussian gradient routine for remove the out of focused section in image processing
You could refine your processing using bwlabel to assign unique labels to the regions you have already detected. Then use region...

거의 3년 전 | 0

| 수락됨

답변 있음
A ’BGR’ image.
Hello: First, changing channels is very simple you just need to change the third dimension of the image, e.g. image1=imread('p...

거의 3년 전 | 1

| 수락됨

답변 있음
I cannot save matlab editor, the .m file.
I guess that you must have used some special characters like accents, have you copy-pasted something into the editor?

거의 3년 전 | 0

답변 있음
Detecting a stain in a texture
This would not be that difficult, marble = imread('https://upload.wikimedia.org/wikipedia/commons/f/f3/SierraXenolith.JPG'); ...

거의 3년 전 | 0

답변 있음
I need to find the phase of the images.
Hello The image that you show could be that of a phase, but it is hard to judge from what you are showing. In any case, here is...

대략 3년 전 | 4

답변 있음
unshow unnecessary intervalls in a histogramm
Hello: What you need to do is rather simple if you capture the values of your histogram, instead of using hist to display dir...

대략 3년 전 | 0

답변 있음
Mean computaion in matlab
If your data is in a matrix of dimensions [samples x 3], e.g. data=[lon1 lat1 value1; lon2 lat2 value2; lon3 lat3 value3; ...

대략 3년 전 | 0

| 수락됨

답변 있음
convolution of 2 signals
You are confusing functions. conv is used to obtain the convolution, subplot is used to divide a figure and then plot inside eac...

대략 3년 전 | 0

답변 있음
Compute convolution y[n]=x[n]*h[n]: x[n]={2,0,1,-1,3}; h[n]={1,2,0,1}
What exactly is your question?

대략 3년 전 | 0

답변 있음
How can I extract the GLCM features from each nucleus of mircroscope blood smear image?
One way to do this would be to crop each region, once you have found each object, you can use regionprops to determine the extre...

대략 3년 전 | 0

답변 있음
How to Loop to plot histogram and line plot?
The following is not clear and most probably your error: for i=4:8;k=1:2 subplot(1,2,k) plot(Temp(:,3),Temp(:...

대략 3년 전 | 0

답변 있음
fprintf or fwrite non ASCII characters
Have you tried using TeX formatting? I.e. \alpha \sigma \mu https://uk.mathworks.com/help/matlab/creating_plots/greek-letters...

대략 3년 전 | 0

더 보기