Risposto

unknown parameters in Radon transform example

"The page you were looking for does not exist. Use the search box or browse topics below to find the page you were looking for."...

unknown parameters in Radon transform example

"The page you were looking for does not exist. Use the search box or browse topics below to find the page you were looking for."...

circa un mese fa | 0

Risposto

How to do film dosimetry?

You can use imsplit to separate an RGB image into individual component images in one line of code: % Separate RGB image into in...

How to do film dosimetry?

You can use imsplit to separate an RGB image into individual component images in one line of code: % Separate RGB image into in...

circa un mese fa | 0

Risposto

Draw first principal component line and regression line on the same scatterplot

It looks like you're doing a simple linear fit. I'm not seeing how you're using pca. It sounds like homework and they want you...

Draw first principal component line and regression line on the same scatterplot

It looks like you're doing a simple linear fit. I'm not seeing how you're using pca. It sounds like homework and they want you...

circa un mese fa | 1

Risposto

Trying to understand how imagesc works compared to scatter.

Scatter is an x-y plot where the origin is at the lower left, by convention. And imagesc plots an image (or matrix) where the o...

Trying to understand how imagesc works compared to scatter.

Scatter is an x-y plot where the origin is at the lower left, by convention. And imagesc plots an image (or matrix) where the o...

circa un mese fa | 1

Risposto

Trying to understand why my graphs are all flipped

Maybe try axis ij or axis xy until the graph is in the orientation you want.

Trying to understand why my graphs are all flipped

Maybe try axis ij or axis xy until the graph is in the orientation you want.

circa un mese fa | 0

Risposto

How does the regionprops calculate the area or the eccentricity of an object?

Not sure how I missed your question 5 years ago, but anyway I don't think you'd use hough() anymore. You'd use imfindcircles, t...

How does the regionprops calculate the area or the eccentricity of an object?

Not sure how I missed your question 5 years ago, but anyway I don't think you'd use hough() anymore. You'd use imfindcircles, t...

circa un mese fa | 0

Risposto

Adjusting color limits on displayed color images

What data type do you have for your indexed image? If it's double, it should be in the range 0-1, and if it's uint8 it should b...

Adjusting color limits on displayed color images

What data type do you have for your indexed image? If it's double, it should be in the range 0-1, and if it's uint8 it should b...

circa 2 mesi fa | 0

Risposto

Measuring average intensity of pixels for multiple images.

There is absolutely no need to store all your images in a cell array or as a 3-D image. See the FAQ for code on how to proces...

Measuring average intensity of pixels for multiple images.

There is absolutely no need to store all your images in a cell array or as a 3-D image. See the FAQ for code on how to proces...

circa 2 mesi fa | 0

| accettato

Risposto

I want to install an MATLAB 2024 Update 6 but it is only showing Update 2 do I have to reinstall?

Try to install the update from the bell icon in the title bar in the upper right. Does your bell have a red dot on it, or not? ...

I want to install an MATLAB 2024 Update 6 but it is only showing Update 2 do I have to reinstall?

Try to install the update from the bell icon in the title bar in the upper right. Does your bell have a red dot on it, or not? ...

circa 2 mesi fa | 0

Risposto

Network doesn't work on test image

Make sure your new images are resized to the required size for your model (the same size as your training, validation, and test ...

Network doesn't work on test image

Make sure your new images are resized to the required size for your model (the same size as your training, validation, and test ...

circa 2 mesi fa | 0

Risposto

Representing an area on a different axis.

To have different data (like area) on a different/additional axis, see yyaxis help yyaxis

Representing an area on a different axis.

To have different data (like area) on a different/additional axis, see yyaxis help yyaxis

circa 2 mesi fa | 1

Risposto

Finding mean value over certain amount of values in a matrix

A = [1,2,3;4,6,8;7,12,7;14,4,23] result = [2.5,4,5.5;10.5,8,15] % Your desired answer r = conv2(A, [1;1]/2, 'valid'); r = r(1...

Finding mean value over certain amount of values in a matrix

A = [1,2,3;4,6,8;7,12,7;14,4,23] result = [2.5,4,5.5;10.5,8,15] % Your desired answer r = conv2(A, [1;1]/2, 'valid'); r = r(1...

circa 2 mesi fa | 1

Risposto

How "medfilt1(X,N) filter logic works. How to convert this into embedded c language. please suggest how to do this.

See https://en.wikipedia.org/wiki/Median_filter for a thorough explanation of the median filter. For many MATLAB functions, y...

How "medfilt1(X,N) filter logic works. How to convert this into embedded c language. please suggest how to do this.

See https://en.wikipedia.org/wiki/Median_filter for a thorough explanation of the median filter. For many MATLAB functions, y...

circa 2 mesi fa | 0

Risposto

How do you track a tip of a pendulium and plot its displacement against time?

It all comes down to extracting one frame at a time and then segmenting that frame and using regionprops to find the centroid. ...

How do you track a tip of a pendulium and plot its displacement against time?

It all comes down to extracting one frame at a time and then segmenting that frame and using regionprops to find the centroid. ...

circa 2 mesi fa | 0

Risposto

AI to help with Matlab scripting and Simulink Drawing

See this link: https://www.mathworks.com/matlabcentral/discussions/highlights/851851-introducing-the-revolutionary-preanswer-ai-...

AI to help with Matlab scripting and Simulink Drawing

See this link: https://www.mathworks.com/matlabcentral/discussions/highlights/851851-introducing-the-revolutionary-preanswer-ai-...

circa 2 mesi fa | 0

Risposto

Attempting to fit data with a sigmoid curve, but not an option in curvefitter toolbox

Attach your actual data so we can work with it. In the meantime, I'm attaching my demo of fitting a sigmoid, though it uses a d...

Attempting to fit data with a sigmoid curve, but not an option in curvefitter toolbox

Attach your actual data so we can work with it. In the meantime, I'm attaching my demo of fitting a sigmoid, though it uses a d...

circa 2 mesi fa | 0

Risposto

Read multiple images from folder and subfolder within a for loop

See the FAQ for code snippets: Process a sequence of files

Read multiple images from folder and subfolder within a for loop

See the FAQ for code snippets: Process a sequence of files

circa 2 mesi fa | 0

Risposto

create mask (line) based on conditional (mask)

Based on your question and the answer, I don't understand. I don't know why you're messing with circles when regions in a thres...

create mask (line) based on conditional (mask)

Based on your question and the answer, I don't understand. I don't know why you're messing with circles when regions in a thres...

circa 2 mesi fa | 0

Risposto

How to filter out the noisy portion of contourf plot?

So it sounds like you want to remove local outliers and noise but do not want to touch/smooth data points that you consider to b...

How to filter out the noisy portion of contourf plot?

So it sounds like you want to remove local outliers and noise but do not want to touch/smooth data points that you consider to b...

circa 2 mesi fa | 0

Risposto

Detecting circles in an image to measure inner and outer diameter

Yes. You're using the wrong lens. It needs to be a telecentric macro lens. Telecentric so that you don't see the sides of the...

Detecting circles in an image to measure inner and outer diameter

Yes. You're using the wrong lens. It needs to be a telecentric macro lens. Telecentric so that you don't see the sides of the...

circa 2 mesi fa | 0

| accettato

Risposto

How to plot one curve and change color according to value

Maybe this: x = linspace(0,10); y = sin(3*x) .* exp(0.5 * x); plot(x,y,'-b.'); hold on yline(25, 'LineWidth', 2, 'Color', ...

How to plot one curve and change color according to value

Maybe this: x = linspace(0,10); y = sin(3*x) .* exp(0.5 * x); plot(x,y,'-b.'); hold on yline(25, 'LineWidth', 2, 'Color', ...

circa 2 mesi fa | 1

Risposto

code for segmentation of image using grabcut algorithm

GrabCut is in the image segmenter app on the Apps tab of the tool ribbon. Once you've done it, click the Export button on the a...

code for segmentation of image using grabcut algorithm

GrabCut is in the image segmenter app on the Apps tab of the tool ribbon. Once you've done it, click the Export button on the a...

circa 2 mesi fa | 0

Risposto

How to check color image linear or nonlinear?

Image a gray scale step wedge with known reflectance percentages, like the Calibrite Color Checker Chart. https://calibrite.com...

How to check color image linear or nonlinear?

Image a gray scale step wedge with known reflectance percentages, like the Calibrite Color Checker Chart. https://calibrite.com...

circa 2 mesi fa | 0

Risposto

How to exclude a certain value from a range?

It doesn't look like your "e" has a value of 6, but if it did, you'd do this e = e(e ~= 6); % e must be a vector. If e is a ma...

How to exclude a certain value from a range?

It doesn't look like your "e" has a value of 6, but if it did, you'd do this e = e(e ~= 6); % e must be a vector. If e is a ma...

circa 2 mesi fa | 0

Risposto

Change specific colour in an image

Simply use the Color Thresholder app on the Apps tab of the tool ribbon to create a mask for the red chips. Then use that mask ...

Change specific colour in an image

Simply use the Color Thresholder app on the Apps tab of the tool ribbon to create a mask for the red chips. Then use that mask ...

circa 2 mesi fa | 0

Risposto

Methods of Detecting and Removing Protrusions in Image

How about this: % Read in image. grayImage = imread('blobs5.jpeg'); % Convert to binary. binaryImage = grayImage(:,:,2) > 12...

Methods of Detecting and Removing Protrusions in Image

How about this: % Read in image. grayImage = imread('blobs5.jpeg'); % Convert to binary. binaryImage = grayImage(:,:,2) > 12...

circa 2 mesi fa | 0

| accettato

Risposto

image processing

To process a series of image files, see the FAQ: Process a sequence of files

image processing

To process a series of image files, see the FAQ: Process a sequence of files

circa 2 mesi fa | 0

Risposto

How to extract numbers from image with reflections and artifacts?

@DGM is right. It's better to fix your camera image acquisition parameters, if you can, than to try to fix up a bad image. If ...

How to extract numbers from image with reflections and artifacts?

@DGM is right. It's better to fix your camera image acquisition parameters, if you can, than to try to fix up a bad image. If ...

circa 2 mesi fa | 0

Risposto

How to fit a nonparametric distribution to a sample of known percentile values

You could fit a spline through them. The spline doesn't take any parameters, it just fits a cubic equation between each pair of...

How to fit a nonparametric distribution to a sample of known percentile values

You could fit a spline through them. The spline doesn't take any parameters, it just fits a cubic equation between each pair of...

circa 2 mesi fa | 0

Risposto

Methods of Detecting and Removing Protrusions in Image

Yes, you just call imerode to eat away enough layers such that the blob separates into two blobs. Then you "thicken" the image ...

Methods of Detecting and Removing Protrusions in Image

Yes, you just call imerode to eat away enough layers such that the blob separates into two blobs. Then you "thicken" the image ...

circa 2 mesi fa | 0