Answered
How to draw represent connected components bounding boxes with different color??
Use plot(xBox, yBox, 'Color', yourColor), or rectangle('Position', bb, 'EdgeColor', yourColor) or something like that. xBox is ...

7 days ago | 0

Answered
how to convert video to image
See my attached demo that will extract all frames, or you can process each frame one at a time.

8 days ago | 0

| accepted

Answered
How can I register or rotate series of image in matlab
See the FAQ : click here

9 days ago | 0

| accepted

Answered
how to solve the resizing of an image here?
Try this: filename='1.jpg'; A = imread(filename); % Use imread() instead of importdata(). but your bwarea() call doesn't do a...

9 days ago | 0

Answered
attempt to execute rgb2gray but showing error
Replace this: a=imread('2.jpg'); c=rgb2gray(a); f=double(c); [row, col, dim]=size(f); with this: a = imread('2.jpg'); ...

9 days ago | 0

Answered
print a circular disk onto my graph
See the FAQ: Click Here

9 days ago | 0

Answered
How I can repeatedly divide a binary image ?
Your image is not a power of 2. Try this code: clc; % Clear the command window. clear all; close all; % Close all figure...

10 days ago | 0

Answered
confusion in cat command
3 means the 2-D arrays are being stacked along the 3rd dimension. To visualize, imagine that the arrays are gray scale images i...

10 days ago | 0

| accepted

Answered
How to remove the warning?
See attached utility for turning off benign warning messages.

10 days ago | 0

Answered
average of each 1st frame of 30 .mat file
See my attached demo. Adapt it. Attach your adapted code if you still can't figure it out.

10 days ago | 0

Answered
Creating an image datastore from the images already loaded in the memory
It doesn't look like there is a way unless you save them to disk files first. You could then delete those files when your progr...

10 days ago | 0

Answered
How to round up all components of a matrix to nearest integer number
M = abs(round(M));

10 days ago | 1

| accepted

Answered
What if clustering and all data belong to the same group?
Automatic segmentation is not always good. For example you might try to threshold a gray scale image with kmeans, like in the a...

10 days ago | 1

Answered
Convolution of two signal
Try this: numPoints = 1000; % Whatever. f = .10; % Whatever. tau = 2; % Whatever. t = linspace(0, 4*pi); % Whatever. u = si...

10 days ago | 1

| accepted

Answered
masking out unwanted area in series of images
Can you have your users click on the smallest triangle? Then you can extrapolate that out to all points in the honeycomb patter...

10 days ago | 0

Answered
MATLAB R2018a has stopped working when I try to bring live images from a webcam into Matlab
It's most likely a hardware issue. See the FAQ: FAQ

10 days ago | 0

Answered
How to display the number of iterations a while loop does?
Try adding a loop counter: P = 250000; A = 25000; I = 4.5/100; counter = 1; while P > A P = P*(1+I)-A; P = P + 1;...

11 days ago | 4

Answered
How To Make an .exe file from MATLAB script file.?
See the FAQ: How can I make a standalone executable from my MATLAB code? Basically you need the MATLAB Compiler toolbox product...

11 days ago | 0

Answered
Can anyone explain this code line by line?
I think maybe the question has been changed because I don't see any LBP code in the current function (included as an attachment ...

11 days ago | 0

Answered
How to test if two elements in a vector are of the same value.
You might be interested in my attached poker app where I compute the probability of the major hands of poker using a Monte Carlo...

11 days ago | 0

Answered
How to open this folder of dicom images and then display them one by one. thank all
This is a frequently asked question (FAQ). See code samples in the FAQ: CLICK here for the FAQ

11 days ago | 0

Answered
horizontal and vertical difference array
Try this: [Dx, Dy] = imgradientxy(grayscaleImage, 'intermediate');

12 days ago | 0

Answered
Image to Video Conversion Error
I presume you are trying to open an avi file with VideoReader(), extract one frame from it, and write lots of the same frame to ...

12 days ago | 0

Answered
What are the libraries you use the most?
If you look at the Products panel on the left of the questions list, you'll see the number of questions asked that listed that p...

12 days ago | 0

| accepted

Answered
Finding second largest number in quake
Try this: n = randi([-30, 99], 1, 20) % Sample data sortedn = sort(n, 'descend') % Sort from largest to smallest secondLarges...

12 days ago | 0

Answered
it does not plot V1,V2 untill I put * in plot order. why?
In MATLAB, type this control-a (to select all), control-i (to fix indenting), control-c (to copy). Then paste back here, highli...

12 days ago | 0

Answered
find the shortest path
See Steve Eddins's blog series on this: MathWorks Image Processing Blog

13 days ago | 1

Answered
How to compute the image similarity percentage of the two input images?
Why not just compare them with ==? pixelsMatch = image1 == image2; percentMatching = 100 * nnz(pixelsMatch)/numel(image1);

13 days ago | 0

| accepted

Answered
How to detect drone against foreground?
A paper was given on this topic at the IS&T's Electronic Imaging conference in Jan or Feb 2018. I don't remember what group did...

14 days ago | 0

Load more