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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 2

| aceptada

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 1

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 1

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

más de 2 años hace | 0

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

Cargar más