Respondida
what does count pixel =0 indicates?
It looks like your input image is practically binary already, because there is no histogram shown in the plot. Is it already bi...

casi 3 años hace | 0

Respondida
How can measure distance after threshold
Use bwdist on the inverse of the binary image. help bwdist

casi 3 años hace | 0

Respondida
Identify XY coordinates of boundaries of top 1/4 'pie slice' of circle
There is, sind and cosd, and it sounds like you've used them. They're for the arc. And linspace is for the straight line parts...

casi 3 años hace | 0

| aceptada

Respondida
While performing Time Series plot in MATLAB, I am getting error "Index exceeds the number of array elements. Error in ts_plot (line 42)
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this: TUTOR...

casi 3 años hace | 0

Respondida
Comments before the H1 line in help text
You could try using readlines and writing your own help function PrintHelp. Something like this: % Test code for PrintHelp fi...

casi 3 años hace | 0

Respondida
Comments before the H1 line in help text
I don't believe so. It does not look like it. The help function just takes all the comments at the beginning of the file. If ...

casi 3 años hace | 0

| aceptada

Respondida
Optimization using Cell Arrays
Just use a normal double array. Cell arrays are slow and very inefficient and are a special type of variable for situations whe...

casi 3 años hace | 0

Respondida
extracting boundaries properties from regionprops()
If they are known to be spheres, and you want to ignore having a "bay" if there happens to be a black spot on the boundary, you ...

casi 3 años hace | 0

| aceptada

Respondida
How to calculate the area of single leaf along with its height
First of all you need to segment the plant, which is easy enough. Then get the skeleton of the leaf with bwskel. Then you need ...

casi 3 años hace | 1

| aceptada

Respondida
How can i get the smallest shape using a list of centroid coordinates?
Why don't you just simply OR all the binary images together?

casi 3 años hace | 0

Respondida
Visualizing line plot with histogram density
Try this: % Initialization steps. clc; % Clear the command window. close all; % Close all figures (except those of imtool...

casi 3 años hace | 0

Respondida
how to connect the detection object
Zoom in. You'll see your crack in the original image is NOT continuous. Why do you think it is?

casi 3 años hace | 0

Respondida
Finding the amount of times '101' appears and does not appear in a series of strings
Use strfind. For example: dp = [0 1 0 1 0 1 1 1 0 1 0 1 0 0 0 1 0 1 1] indexes = strfind(dp, [1 0 1]) numOccurrences = numel(...

casi 3 años hace | 0

Respondida
Why do i get this error trying to install MATLAB using installation key? (no matter the version or install location or antivirus being disabled)
I assume you clicked the link it told you to, right? If so and you've exhausted all it suggested then your quickest route to su...

casi 3 años hace | 0

Respondida
Error Messages keep popping up: "Undefined function or variable"
There is just so much wrong with this that every time I fixed one thing, something else would pop up. For starters, use c2 inst...

casi 3 años hace | 0

Respondida
MATLAB R2023a Not Loading on Linux
If you don't get an answer here this weekend, then your fastest route to success might be the FAQ: https://matlab.fandom.com/wi...

casi 3 años hace | 0

| aceptada

Respondida
How to test and train in MATLAB
Try this link: Debugging in MATLAB | Doug's MATLAB Video Tutorials

casi 3 años hace | 0

Respondida
Why are there not enough arguments?
From data_embedding.m, you call lsb_enc(wavin, wavout, text, password); and that runs fine because you've defined the 4 inputs...

casi 3 años hace | 0

Respondida
I want to make a movie from plots in MATLAB. How do I do this?
See attached demos, especially movie_made_from_plot.m.

casi 3 años hace | 0

Respondida
making a movie from plots
See attached demos, especially movie_made_from_plot.m.

casi 3 años hace | 0

Respondida
OTSU for fibrosis quantification
I don't know what you want. If you want Otsu threshold, use graythresh help graythresh See my Image Segmentation Tutorial in ...

casi 3 años hace | 0

Respondida
Finding files in directory with two different strings in filename
See contains or ismember

casi 3 años hace | 1

Respondida
why this code is not working for a slightly diff lungs image?
Well there could be lots of reasons. Either your segmentation for the "bad" image didn't work so well. the trained SVM model...

casi 3 años hace | 1

Respondida
How to identify particles in an image that have a comet-like trail from those with perfectly circular halos?
What you need to do is to first segment out the faint halos from the background. Perhaps take the mode of the histogram and ass...

casi 3 años hace | 0

| aceptada

Respondida
I need MATLAB code that plots the aerodynamic power generated by a wind turbine vs the generator rotation speed for different wind speeds
Looks like you're not plotting out far enough on the x axis to see the parabolic shape. You're only going out on the relatively...

alrededor de 3 años hace | 0

Respondida
How to plot an in-ellipse(ellipse inside an object) which also matches the object orientation.
The leader of the Image Processing group at the Mathworks, Steve Eddins, has a blog entry showing how to do it: Visualizing reg...

alrededor de 3 años hace | 0

Respondida
How can I determine if the absolute value of a coefficient of x in each element of a matrix was less than 0.01 consider it zero?
Then just write it as a=[ 12X+14, -10(X^2); X 4] with whatever value you have for X. Why can't you? Do you not know what the ...

alrededor de 3 años hace | 0

Respondida
pore size distribution of a 1x100 surface
So it seems that you are saying the spheres represent solid matter and the rest is air space or vacuum. And you want to know th...

alrededor de 3 años hace | 0

| aceptada

Respondida
Hi everyone i want to ask about im crop
Since you already know the pixels per cm is 1030, you can crop out a 1 cm region using indexing if you know the upper left row a...

alrededor de 3 años hace | 0

Respondida
Remove regions outside a range and find their centroids
If you want the bounding box width to be between 30 and 200, do this labeledImage = bwlabel(mask); % Measure bounding boxes. ...

alrededor de 3 años hace | 0

Cargar más