Answered
Object depth tracking with magnetometer
Since you don't know how the Z values change, you'll have to model that. So I'd map out a 3 by 3 (or more) grid that covers the...

2 years ago | 0

Answered
PROBLEMS WITH SAVING PATHFOLDERS
I'd say that you don't have the folderpath on your computer folderPath = '\path\folder\test'; or else the images are not in th...

2 years ago | 0

Answered
How to completely extract the green pixels from this image?
Try the Color Thresholder on the Apps tab of the tool ribbon. Use HSV color space, then click the Export function button on the...

2 years ago | 0

| accepted

Answered
Do I have to upgrade to Matlab 2020?
I'd say sure, but upgrade to R2023b, the latest, instead of R2020a. Can't hurt. Otherwise call delete(filename) before calling...

2 years ago | 0

Answered
How can I deform an image to fit a shape, but keep the same pixel values?
You cannot do it without "new" pixel values being interpolated especially if you enlarge the region. For example if the source ...

2 years ago | 0

Answered
Handwritten number recognition app
Yes, I'm pretty sure there is a simple deep learning example using transfer learning and the NIST numerical image data set. Sea...

2 years ago | 0

Answered
I want to use Interpole with Zero Padding
Why are you doing anything with fft? Just use interp1 xInterp = linspace(min(n), max(n), 5 * length(n)); x_interpolated =in...

2 years ago | 1

| accepted

Answered
My output text file continues to have a delimiter. How do I change this in my code?
You can go through each row of the table using fprintf to write whatever you want into a text file. Just don't write delimiters...

2 years ago | 1

Answered
Video and image analysis of microfluidics channel with a growing bubble. Calculate the size of the bubble.
After getting the binary image "L" you should have removed the background and then extracted the largest blob (assuming the bubb...

2 years ago | 0

Answered
Identify specific rectangular shape in image and measure distance
Try this. Adapt as needed. % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (exce...

2 years ago | 1

| accepted

Answered
How to find the minimum area bounding box of a region returned from regionprops
Yes it is. Did you actually try to use the bwferet function? If not, you should.

2 years ago | 0

Answered
I am a 3rd year ECE UG student i know the basics of this matlab language but want to from the community about how to get advanced.....
See this link: Best way(s) to master MATLAB? - MATLAB Answers - MATLAB Central

2 years ago | 1

| accepted

Answered
How can I find the red areas?
Try thresholding. See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, gener...

2 years ago | 0

Answered
implement some enhancement techniques
This looks like a homework problem. If you have any questions ask your instructor or read the link below to get started: How d...

2 years ago | 0

Answered
license error -10
Then do exactly what it says to do in the FAQ. https://matlab.fandom.com/wiki/FAQ#After_installation,_MATLAB_crashes_or_gives_a...

2 years ago | 0

Answered
How can I make this code a function to extract data and use the data in another code?
Why not just save whatever data you want in a .mat file that the other code can load?

2 years ago | 0

| accepted

Answered
Finding the neighbouring regions
Not too hard. Simply call bwlabel to give each region an ID. Then call bwmorph with the thicken option to dilate the regions t...

2 years ago | 1

Answered
How can I increase classification accuracy after feature extraction
To get better classification accuracy you can either pick better features to measure, use more training samples, or pick a bette...

2 years ago | 0

Answered
Is there a method to combine some functions into a single .m file?
Simply make sure the folder where tools lives is on the search path. Then testadd will find it no problem. No need to pass it ...

2 years ago | 1

Answered
How to extract the region coordinates in this example?
Use load to load the (x,y) coordinates from the MAT file. Then you can use poly2mask to get a mask then use the mask to get the...

2 years ago | 1

| accepted

Answered
How to get the inside shape within my segmented image?
If "mask" is your binary image, you can get the interior holes by inverting the image. Then call imclearborder to get rid of th...

2 years ago | 0

| accepted

Answered
What would be the best detector to classify objects with simple geometry and color such as a blue cube ?
That's a pretty simple problem. You don't have to use deep learning if you don't want to. Traditional methods would work fine....

2 years ago | 0

| accepted

Answered
I am trying to measure the length of this laser in the image. For now I am using intensity profile but that gives me R G and B. Are there any other way you guys can recommend?
Try the Color Thresholder app. % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (e...

2 years ago | 0

Answered
Why do I get license manager Error 114 after activation?
See the links on the right hand side of this page, or else see the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation,_...

2 years ago | 0

Answered
Correct the code for me please
I don't know what you're trying to do but this line: d(i,j) = (d(i,j-1) - d(i-1,j-1))/(x(i) - x(i-j)); when i and j are both 2...

2 years ago | 0

Answered
Doesn't show the result as an integer even though the result of the operation is an integer
See the FAQ: https://matlab.fandom.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_(or_similar)_not_equal_to_zero?

2 years ago | 0

Answered
how to measure the droplet spreading diameter from the series of images and also want to output in .xlxs file.
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

2 years ago | 0

Answered
Need a space in strcat comand
V = [1 2 3 4 5]; str = sprintf('R = %s', strjoin(string( V),', '))

2 years ago | 0

Answered
[Image Processing] Detect horizontal lines in image
Try a masked median filter, where you median filter the image, then find the bad lines, then replace only the bad lines with the...

2 years ago | 0

| accepted

Answered
cant detect valid coins and segement them fully, have a deadline in 4 days
Looks like it should work. What values are in allSD? Maybe you need to pick a different threshold than 15. How are they deter...

2 years ago | 0

Load more