Answered
Shading specific regions in a plot
Try the patch() or fill() function.

5 days ago | 1

| accepted

Answered
my application closes when the figure is displayed
Is the uiwait() commented out or in? Do you have a delete() or return in there somewhere? It would have been easier to debug i...

5 days ago | 0

Answered
Change table variable dimension
Not sure - I'd have to try some things with either table(), permute, or squeeze(). Look up squeeze and permute() in the help an...

5 days ago | 0

Answered
What is the Annual Software Maintenance Service renew fee of Matlab 2018b Academic Use — Individual and Designated Computer?
You need to call your sales rep at the Mathworks. Even if we gave you an answer, you'd still have to contact them. Personall...

5 days ago | 0

Answered
i need a source code for eye detection,features extraction
When it says % Convert the frame and the mask to uint8 RGB. frame = im2uint8(frame); frame is not defined at ...

5 days ago | 0

Answered
what does the L-shaped bracket mean?
Just consider them as regular, normal brackets, or ignore them entirely. xBar = mean(x(:)); alpha = mean(x(x >= xBar)); % Mean...

5 days ago | 2

| accepted

Answered
Change colors' short names or add new ones
It's trivial. You can add the code to your startup.m file or your specific m-file. For example to create dark versions of 'r...

5 days ago | 0

Answered
DICOM Image Resize Error
Try this utility I wrote to create 227x227 images for input to an AlexNet deep learning network from a folder of aribtrary RGB, ...

5 days ago | 1

Answered
DICOM Image Resize Error
Don't resize the third dimension. Don't try to do it all in one shot with imresize. Use imresize() to resize the lateral dimen...

6 days ago | 1

Answered
color calibration, mean square error
Try this deltaEImage = sqrt((lImage-refLImage).^2 + (aImage-refAImage).^2 + (bImage - refBImage).^2); meanColorDifference = me...

6 days ago | 0

| accepted

Answered
How ı change my label individuall to student?
Send an email to support@mathworks.com

6 days ago | 0

Answered
convert image to bitmap map image without using for loop
Try this: % Compute mean in 4-by-4 blocks % kernel = ones(4); meanImage = conv2(double(grayImage), kernel, 'same') / numel(ke...

6 days ago | 1

| accepted

Answered
How to open two files instead of one, using this "for" loop?
Have only a SINGLE for loop instead of three. close all; clc; clear all; c = [0 0 0 0 0]; s = [1 2 3 4 5]; t = [0 0 0 0 ...

6 days ago | 0

Answered
How do extract boundary nodes in matlab?
If you have the (x,y) coordinates of all those points, call convhull() to get the indexes of those that are on the convex hull.

6 days ago | 1

| accepted

Answered
2017b on win 10 . some drop out menues and dialog boxes do not appear. e.g. "save as" does nothing
Maybe you've run a uiwait(), waitfor(), or wait(). Like if you've called imrect() or drawfreehand() or something, and it's wait...

6 days ago | 0

Answered
Performing Operations on an Image Sequence
In the loop, just save the values to your lists, then call csvwrite() after the loop. for k = 1 : numberOfFrames centroids...

6 days ago | 0

Answered
read image array jpg and convert to text file in loop
See attached demos. One breaks apart a video into separate 2-D still image frames. Then the second one writes the image out to...

6 days ago | 0

Answered
incorrect results from bwconncomp
Identify the branchpoints with bwmorph() then mask them out. bpImage = bwmorph(mask, 'branchpoints'); % Find branchpoints in y...

6 days ago | 1

| accepted

Answered
How to create moving binary mask like in the image?
You can use conv2() or imfilter() if you make a kernel out of the array image of circles, like I've attached. filteredImage = i...

6 days ago | 0

Answered
maximum width of a blob
See Steve's discussion of Feret Diameters: Feret Diameters

6 days ago | 0

| accepted

Answered
problem of color display in an image
Try this: s = load('img.mat') rgbImage = s.img; subplot(1, 2, 1); imshow(rgbImage) impixelinfo title('Original Image', 'Fo...

6 days ago | 0

| accepted

Answered
How to get a position (index(j)) of a loaded image?
You said "By displaying all of them and having the user click...." Just list all your images in a listbox and have the user sel...

6 days ago | 0

| accepted

Answered
Segmenting and classifying Dust
You might try stdfilt() to look for smooth areas, and combine that with color segmentation. Use the Color Thresholder app on th...

6 days ago | 0

Answered
Change colour order and restore it
You can save the default color order in advance if you want to change it and restore it. See my attached demo (which sets it bu...

6 days ago | 0

Answered
ellip is missing from Matlab
If you have the Signal Processing Toolbox installed, then maybe you don't have a license for it, like your license expired, or y...

6 days ago | 0

Answered
Can I create points on polygon with specific distance between them?
This is what interparc does. See John D'Errico's File Exchange: interparc

6 days ago | 3

| accepted

Answered
Monte Carlo Simulation Code
You need to set x and y to rand(), not zero. You should know that all Monte Carlo simulations use random numbers, and nowhere i...

8 days ago | 0

| accepted

Answered
Fiding mean and variance of sample of gray scale images
Hmmm.. Do I tell you how to fix messed up code, or just tell you to not use messed us code in the first place? I think I'll do ...

9 days ago | 1

| accepted

Answered
Plotting a function with 2 independent variables of different ranges?
I think you might have to use meshgrid and create an image, where phi varies along one dimension, and theta varies along the oth...

10 days ago | 0

Answered
Signal Processing Feature Extraction in regards to Siren Detection
Do you have a set of known siren "types" that you can use to train the system? Maybe you can use deep learning to recognize sir...

11 days ago | 0

Load more