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 ...

2 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...

2 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...

2 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...

2 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...

2 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. ...

2 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...

2 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...

2 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...

2 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...

2 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...

2 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(...

2 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

2 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...

2 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...

2 years ago | 0

Answered
IHS triangular model for RGB image
From a world expert in color, Stephen Westland: https://www.mathworks.com/matlabcentral/fileexchange/?search_submit=fileexchang...

2 years ago | 0

| accepted

Answered
Is this possible, " 3D Printing with MATLAB ". If so, How far I could go with it ?
Disclaimer: I got the gcode file off a 3-D printing web site. I didn't make it from MATLAB.

2 years ago | 0

Answered
how to auto crop a image?
Try this: % Initialization steps. clc; % Clear the command window. format long g; format compact; fontSize = 20; file...

2 years ago | 1

| accepted

Answered
How to binarize a image with low contrast in certain areas?
" i would like to see all the differnt small details of each scerew and washer" <== Sounds like adapthisteq should work for you...

2 years ago | 0

Answered
Need a help with a code to check if a circle in a image is closed or not
What I'd do is to call regionprops and ask for the Solidity of the blob(s). If the solidity is close to 1, then it's closed. I...

2 years ago | 0

Answered
Can you answer why am I getting this error. What should Ido? The error says 'Unrecognised variable z'.
If youi knew how to debug, you wouldn't need to ask why z never got assigned. You would step through your code, like the rest o...

2 years ago | 0

Answered
How to resolve the error of looping
T is a table with the first column being the blob area and the second column being (x,y) of the centroid. Row 1 is for blob %1,...

2 years ago | 0

Answered
Finding the Mean brightest point of an image
To find the location of the brightest point in an image: maxGL = max(grayImage, 'all'); [rows, columns] = find(grayImage == ma...

2 years ago | 1

Answered
Distinguish land from ocean in harbors
If you want to deal with your picture as a digital image, then you can segment out the water using the Color Thresholder app on ...

2 years ago | 0

Answered
How to modify only one quadrant of an image
This is one way grayImage = imread('cameraman.tif'); mask = grayImage >= 60; grayImage(1:128, 129:end) = uint8(255 * mask(1:1...

2 years ago | 1

| accepted

Answered
How can I add transparency to an image displayed in App Designer UIAxes?
See Steve's blogs: How to overlay a foreground image over a background image? - MATLAB Answers - MATLAB Central Image overlay ...

2 years ago | 0

Answered
How to neatly exclude values from a plot?
"What I want to do is plot feta for values between 0, 0.5, 0.7, 0.8, 0.95 and exclude the rest. " So that means you want feta b...

2 years ago | 0

Answered
How to use Machine Learning Algorithms in classification for categorical problem?
In the 100x100 matrix, is one of the columns the response (ground truth or known true value), and the other 99 columns are the p...

2 years ago | 0

| accepted

Answered
Allowing users to open up specific images during execution of code
See the FAQ for code samples. https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files? Modify the inside of t...

2 years ago | 0

Answered
I want to make airfoil on Matlab..please tell me code of this
See the links on the right hand side of this page.

2 years ago | 0

Load more