Answered
How do I upload an image to Matlab to read in progam?
Try imread help imread See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic,...

3 years ago | 0

Answered
Matlab don't work
See the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation,_MATLAB_crashes_or_gives_an_error_message_when_I_try_to_run_...

3 years ago | 0

Answered
Generate a group of random number
Try this and see if it works for your purposes. r = 0.5 * randn(20000, 1); histogram(r); grid on; theMean = mean(r) stDev =...

3 years ago | 1

| accepted

Answered
How to extract only the object and get the extreme coordinates?
Try bwferet. help bwferet

3 years ago | 0

Answered
Assign values from an matrix to another by using row and column indexes -- array exceeds maximum array size preference
You can just use the logical image. Don't use find or rows or columns at all. Simply do mask = image1 == 1; % Logical image. ...

3 years ago | 1

Answered
How to Remove Tail from Segmented Circle
Another solution might be possible. How much do you know about the tail? Is it always about that thickness, and the ventricle ...

3 years ago | 1

Answered
How to package programs containing third-party tools into independent apps in Matlab?
First you'd have to get permission from the author/publisher to compile their third party code into your standalone executable. ...

3 years ago | 0

Answered
Inserting zeros into another array at values in the second array
This looks like a homework problem. If you have any questions ask your instructor or read the link below to get started: How d...

3 years ago | 0

Answered
How to calculate the Jaccard Index of two sets of points (x,y,z)
If you have just a list of points, and not a digital image, you can do this: list1 = [1,1; 2,3; 4,7; 5,9; 6,11; 7,13] list2 = ...

3 years ago | 0

Answered
Identifying straight line & intersection with the curve from the binary image
The best solution is if you can put your part into some kind of jig so that everything is in a fixed, known position. Then you ...

3 years ago | 1

| accepted

Answered
Infusing/ Overlaying two images in reference to their center-to-center distance w.r.t to coordinates
You're going to have to create a canvas larger than either one, like the height is the sum of the two images heights. Paste one...

3 years ago | 0

| accepted

Answered
Read files with both upper and lower cases
In Windows, it will retrieve all the files regardless of the capitalization of the extension or base file name. I'm not sure ab...

3 years ago | 0

Answered
What criteria should be used to select the number of images used in image processing for detection based on image segemntation?
Here is what MATLAB Playground says: "The number of images required to validate a traditional image analysis algorithm depends ...

3 years ago | 0

Answered
image processing ideal LPF
There is no ideal LPF in general. Maybe there is for your particular image though depending on the high frequency noise in your...

3 years ago | 0

Answered
Is it possible to use 'assignin' to append data to an array in the base workspace?
You'd need to use eval to first get the current values of the variable into a new variable, say existingVar. Then make up your ...

3 years ago | 0

| accepted

Answered
How can I just change the color of the bottom x-axis of a figure?
Here is a demo to show you how you can change nearly everything in a plot. % Demo to make a black graph with red Y axis, green ...

3 years ago | 0

Answered
Centerline detection from the binary image.
What I'd do is to find the rows where you have two blobs, instead of 0 or 1. Then for those, log the left edge and the right ed...

3 years ago | 2

| accepted

Answered
Passing a matrix between App Designer Apps
Start with the FAq for some ideas. https://matlab.fandom.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI...

3 years ago | 0

| accepted

Answered
edit .mat values to match
You could try interp1 or imresize to resize the stereo audio signal to be as if it had the number of samples it would have had i...

3 years ago | 0

Answered
How to calculate recall for image detection model based on image segementation?
See discussion in your duplicate post: https://www.mathworks.com/matlabcentral/answers/2049337-how-to-calculate-the-precision-an...

3 years ago | 0

Answered
code just runs and never stops not sure what to do
You forgot to put a failsafe in your code so most likely t(counter) never exceeds P. Try it this way % Initialization steps. ...

3 years ago | 0

Answered
Problem with rotating an image
stat is a structure array, not a single structure. Try this xy = vertcat(stat.Centroid); % Get all N blobs centroids into an N...

3 years ago | 0

Answered
Read the screen value according to the colorbar
If you are really starting with an RGB image of an indexed image that has been pseudocolored with a colormap, then you will need...

3 years ago | 0

Answered
Remove unwanted small and connected regions in the image
I know you accepted the other answer but I don't think it's right. It assumes you want to "count connected components in a bina...

3 years ago | 1

Answered
How to detect & fitting curvature from the binary image?
See my solution to your duplicate question: https://www.mathworks.com/matlabcentral/answers/2050272-curvature-detection-from-ou...

3 years ago | 0

Answered
Curvature detection from outlines of the binary image
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

3 years ago | 0

| accepted

Answered
Error in Code for Lighting: "Index in position 1 is invalid. Array indices must be positive integers or logical values."
See the FAQ for a thorough discussion: Subscript indices must either be real positive integers or logicals You do this: line(...

3 years ago | 0

Answered
Why am I getting this error?
See the FAQ for a thorough discussion: Subscript indices must either be real positive integers or logicals

3 years ago | 0

Answered
I Have completed Deblurring by using wiener Filter and now i want to get facial angle and emotion of a persons
It's a big, evolving field and of course there are some faces where the emotion is ambiguous or uncertain. Anyway, here are a l...

3 years ago | 0

Answered
How to calculate the precision and recall ( determine FP and FN) for image detection based on image segmentation?
Jaccard index is related to how much a "ground truth" binary image overlaps your "test" image. According to the help "similarit...

3 years ago | 0

Load more