Answered
Hello, I've been working on identifying the center point of images similar to the ones I've attached. I've tried using cornerHarris detector and various other operations, incl
See attached demos on shape recognition to find vertices. First, extract the red channel and threshold it. Then use imfill to ...

3 years ago | 0

Answered
Unable to perform assignment because the left and right sides have a different number of elements. Error in Assignment1Motorbike (line 139)
x_rd is null in y1d(n) = ( -k1*( x1(n) - 0.9*x2(n) - x_f ) - k2*( x1(n) + 0.9*x2(n) - x_r ) + k3*( x3(n) - x1(n) - 0.4*x2(n...

3 years ago | 0

Answered
separate orange band and violet band from rgb image
There are no "bands" of violet and orange in an RGB image, only a red band, a green band, and a blue band. In fact computers ca...

3 years ago | 0

| accepted

Answered
How to display skeleton data
Try this: data = readmatrix('human2_normal17_SkeletonData1.csv'); % Plot the first 4 joint skeletons. PlotJointNumber(data, 1...

3 years ago | 0

Answered
Unrecognized function or variable
Please post your code or attach it. There is no "For" in MATLAB. Plus your shown program uses my_structure and n without ever ...

3 years ago | 0

Answered
.m files keep getting corrupted?
Chances are one of your scripts or functions is overwriting them without you being aware of it. Can you do anything to reproduc...

3 years ago | 0

Answered
How to quantify non-symmetric signal clipping (clipped differently on positive and negative)?
I'd get your positive and negative signals separately by thresholding and masking. posSignalIndexes = signal > 0; posSignal ...

3 years ago | 0

Answered
Delete selected image in 2D array imtool
No, there is no way to "paint" or mask pixels using imtool. You'll have to write a script for that. Demo attached.

3 years ago | 0

| accepted

Answered
Remove non-finite values while decimating
Try this: data = readtable('data.csv'); goodRows = isfinite(data{:, 4}); data = data(goodRows, :); % Extract only the good/fi...

3 years ago | 0

| accepted

Discussion


BATLAB
Just in time for Halloween.

3 years ago | 7

Answered
Reading the image sequency
See the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files?

3 years ago | 0

Answered
how do i do a left atrium heart segmentation using matlab
Go here for published algorithms. Pick one and code it up. http://www.visionbib.com/bibliography/contentsmedical.html#Medical%...

3 years ago | 0

Answered
how to get matlab code to detect a changes from 0 to 1 in a binary mask?
If you have a single binary image, then to know where it goes to 1, from 0, simply use bwperim. If you want the rows and column...

3 years ago | 0

Answered
Change colors (of groups) in scatter plot
You should not be using scatter. You should be using gscatter (if you have the stats toolbox) which has the capability you are ...

3 years ago | 0

Answered
My Matlab R2023 keep asking for licence activition
Call tech support on the phone. See the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation,_MATLAB_crashes_or_gives_an...

3 years ago | 0

Answered
How to speed up/ Reduced Time the following code Using Parallel Processing/GPU
Why is this inside the loop: [~,Y] = meshgrid(1:lenImage,1:10000); % make a grid lenImage doesn't change so that should be out...

3 years ago | 0

Answered
smoothing datasets containg nan
Have you seen the "DataCleaner" app on the Apps tab of the tool ribbon? Try it.

3 years ago | 0

Answered
Creating Binary Image from Polygon Label in MATLAB
You have to click the Export button and then export to the workspace to a variable, like groundTruth. Then you can get the (x,y...

3 years ago | 1

| accepted

Answered
find the longest diagonal sum of a matrix.
Assign something to matrix first, like m = magic(5) then call your function largestDiagonalSum = diag_sum(m)

3 years ago | 0

Answered
How to remove thin lines in binary image
Like Matt said, use imopen to get rid of thin lines. outputImage = imopen(binaryImage, ones(3, 3)); To get rid of small object...

3 years ago | 0

Answered
MATLAB tells me "Array indices must be positive integers or logical values." The issue resides at "y_pred = ..." Not sure why.
Probably one of the most asked questions. So rather than explain it again, just see the FAQ for a thorough discussion. Once yo...

3 years ago | 0

Answered
How can the plot be divided into 2 using the graph line?
It looks like all the points on the right have a y value greater than about 6, so just do rightIndexes = (y >= 6); xRight = x(...

3 years ago | 0

Answered
number of objects in images
Yeah, that's because you're using some AI chatbot to write your code instead of trying to understand basical fundamental image p...

3 years ago | 0

Answered
how to use sound?
See attached demo. Adapt as needed, perhaps adding scroll bars to control fs.

3 years ago | 1

Answered
How to binarize a image with low contrast in certain areas?
imadjust is not necessary at all. Try to flatten the background before using global thresholding (imbinarize) by first using ad...

3 years ago | 0

Answered
Block Processing without Builtin blockproc
Looks like the other (chatbot) answer didn't get it fully correct. You need to do the multiplication the correct way and then s...

3 years ago | 0

Answered
Crop a specific area for the sem image
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

3 years ago | 0

Answered
WRONG RESULT USING CNN
What you read or misread: "deep learning methods gave higher accuracy resukts complaring with machine learning methods" is incor...

3 years ago | 0

Answered
how to detect circle object on video
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

3 years ago | 0

| accepted

Answered
How to plot a sinc function correctly?
In general, the spectrum and the time/spatial domain are inversely related. So the wider your pulse if with respect to your tot...

3 years ago | 1

| accepted

Load more