Réponse apportée
Most efficient way to separate numerically labeled objects that share borders?
You don't need bwlabel, like KSSV suggested, because your matrix is already labeled. You can simply use oneBlob = ismember(IM...

plus de 3 ans il y a | 0

Réponse apportée
็็How can I delete shadow in this picture
You're best off using a different lighting geometry so that you don't have the shadow in the first place. But if you must have ...

plus de 3 ans il y a | 0

Réponse apportée
Detect the boundary in a 2 clustered colored image
You get a mask for the yellow, then call bwboundaries and then use sqrt (optional) and min: boundaries = bwboundaries(yellowMas...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
How to calculate whether two sets of images differ in spatial frequency?
I don't have a script but what I'd do is for each set, compute the fft2 of each image. Then add up all the FFT's of all the ima...

plus de 3 ans il y a | 0

Réponse apportée
Creating a cosine oscillation ( cos(2 * pi * f * k * T) )
A cosine wave is of the form y = Amplitude * cos(2 * pi * omega * time) So for your formula Amplitude = 50; and I beleve T i...

plus de 3 ans il y a | 0

Réponse apportée
image processing, k nearest neighbor
Here's simple demo, attached, that operates on (x,y) data.

plus de 3 ans il y a | 0

Réponse apportée
zoom image interactively maintaining a square zoom field
Try using a scroll panel. See attached demo.

plus de 3 ans il y a | 2

| A accepté

Réponse apportée
Matlab Code: Eval and Sub2ind

plus de 3 ans il y a | 0

Réponse apportée
convolution without conv function
Attached is a "manual" way to do convolution. It will be straightforward to adapt it from 2-D images to 1-D vectors if you want...

plus de 3 ans il y a | 0

Réponse apportée
What to do if i accidentally named two files the same name, and cant find one of them now.
Go to https://www.voidtools.com/ and download a utility called Everything. It's like the Windows File Explorer search except wa...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
how to loop through a folder
Try this: % Optional initialization steps clc; % Clear the command window. close all; % Close all figures (except those o...

plus de 3 ans il y a | 0

Réponse apportée
bypass an "if" within another using a flag
Since the b>c test occurs only inside the a>b block, and it's the only thing in the a>b block, you could simply do if a>b && b>...

plus de 3 ans il y a | 0

Réponse apportée
I have a problem with appdesigner, can you help me?
See the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI(s)?

plus de 3 ans il y a | 1

Réponse apportée
I have a problem with appdesigner, can you help me?
if app.checkBox.Value uiwait(helpdlg('The checkbox is currently checked.')) else uiwait(helpdlg('The checkbox is curr...

plus de 3 ans il y a | 2

Réponse apportée
Extract data from a histogram
Try this: grayImage = imread('cameraman.tif'); subplot(2, 1, 1); imshow(grayImage, []); subplot(2, 1, 2); imhist(grayImage)...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
drawing gaussian wave in matlab
Try this: % Optional initialization steps clc; % Clear the command window. close all; % Close all figures (except those o...

plus de 3 ans il y a | 0

Réponse apportée
Adjust regionprops orientation to 0-360 degrees
We can't do much without an image. But after rotation, you'd have to determine if the head was at the top or bottom somehow, or...

plus de 3 ans il y a | 0

Réponse apportée
i'm new to matlab. i need to use a tracking software and got this error, need help
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this: TUTOR...

plus de 3 ans il y a | 0

Réponse apportée
How to declare Rayleigh random variables ?
Did you try random in the Statistics and Machine Learning Toolbox. It can produce random numbers drawn from a Rayleigh distribu...

plus de 3 ans il y a | 0

Réponse apportée
How can I put images in a table using gui?
Perhaps try undocumentedmatlab.com https://undocumentedmatlab.com/?s=images+table https://undocumentedmatlab.com/articles/imag...

plus de 3 ans il y a | 1

Réponse apportée
How can I place the cancerous area on the CT image and separate it into ROI and non-ROI?
OK, here is an example.

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
I have boundaries of objects in my code. I want to use those boundaries to calculate the features of those objects in my preceding loop. please help fix
You don't need that inside loop over size(B, 1). You can simply get all the values like % Calculate region properties for each...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
How can I place the cancerous area on the CT image and separate it into ROI and non-ROI?
Start with the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files? Then see my Image Segmentation Tu...

plus de 3 ans il y a | 0

Réponse apportée
Code to store impixel data from a series of images throws errors upon reaching the end of the first increment of the loop
The problem is the code is not very robust. You should see the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_seq...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How to define different colors for different edges?
If you can get the coordinates of the line endpoints, you can use the line function to overwrite that shape with colors of your ...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Remove rows in a matrix where there isn't a change larger than 3 in either column
Do you mean a change between the first column and second column in each row? Try this changes = m(:, 2) - m(:, 1); % Change fr...

plus de 3 ans il y a | 0

Réponse apportée
Grouping times by end to start time
Not sure how you got your results but they don't seem to follow your definition of the gap time being the time between the start...

plus de 3 ans il y a | 0

Réponse apportée
Grouping times by end to start time
If you have the stats toolbox, I'd use dbscan https://en.wikipedia.org/wiki/DBSCAN % Optional initialization steps clc; % ...

plus de 3 ans il y a | 0

Réponse apportée
How to modify a sine wave
Hint: signal = min(signal, 0.7);

plus de 3 ans il y a | 0

Réponse apportée
need help with this task in matlab onramp final project
I think you want dashed if it's below 0 and solid line if it's above 0, so something like negativeIndexes = speed(v) <= 0; % A ...

plus de 3 ans il y a | 0

Charger plus