Answered
How to detect marker with specific feature on it?
Try this. Note that I only found 2 markers because one of them is not surrounded by a solid black circle -- it has a gap, like ...

3 years ago | 1

| accepted

Answered
How to find number of intensity levels in an image
Just mentioning imhist in case you wanted the number of pixels at each gray level (distribution) instead the number of unique gr...

3 years ago | 2

Answered
find the coordinates 5 first white pixels in an image
Try this: % Find coordinates of the last and first white pixel % First image pix_amarelor = imread('pac14_e.png'); [row1firs...

3 years ago | 0

| accepted

Answered
Insert an external image in a video
You can paste your image on top of your frame before you send it to videoWriter. See my attached copy and paste demo. I've als...

3 years ago | 0

Answered
I am trying to find the radius of an arc in an image.
Try this. I'm using find() to get the x and y of the mask rather than a double for loop like @William Rose. The computed radiu...

3 years ago | 2

| accepted

Answered
Does MATLAB Mobile count as a license install?
I don't believe so. I have installed it on my phone and it does not show up at all in my list of licenses. You can try it. Ju...

3 years ago | 0

| accepted

Answered
Smallest mask enclosing a polygon
Perhaps you'd be interested in the attached paper on "Minimum Perimeter Polygon"

3 years ago | 1

Answered
Live Image Processing and Tracking Image Features
Call tech support and ask for Andrew B in the image acquisition team. He helped me out with such an issue. There are other fun...

3 years ago | 0

| accepted

Answered
I cannot read and display this image
Use imshow() instead of disp(): imshow(im);

3 years ago | 0

Answered
Display an image processed in LAB channel
The code looks right. The problem is that CLAHE is often not a good algorithm because it's non-linear. Try imadjust instead.

3 years ago | 0

Answered
Smallest mask enclosing a polygon
Not sure what you're calling mask and what you're calling polygon, but the smallest shape that would enclose the blue shape with...

3 years ago | 0

Answered
Drawing auto polyline around tif image
Not sure how I missed this when it was first posted but here is one way I'd do it. %% Extract the contour from the BC image cl...

3 years ago | 0

Answered
How to solve error "access denied" when using mkdir?
This is what I'd do folder = '\\dbfz-user.leipzig.dbfz.de\user$\jboettner\Documents\HiWi\Matlab\File import\angepasste_Ausgabed...

3 years ago | 0

Answered
In an assignment A(:) = B, the number of elements in A and B must be the same. How can I fix this error?
See the FAQ for a thorough general explanation. https://matlab.fandom.com/wiki/FAQ#%22In_an_assignment_A(I)_=_B,_the_number_of_...

3 years ago | 0

Answered
calculate the averages of non-squared matrix blocks
Here is one way (there are others): % Define the 12x4 matrix A = [1 0 2 0; 0 1 3 0 ; 1 1 0 0 ; 0 2 3 1 ; 3...

3 years ago | 0

Answered
Random number of points moving with given velocity
You need a comma after 'Position' : set(MOVINGPOINT,'Position', [trajectory(1,frameNo)-0.25,trajectory(2,frameNo)-0.25,0.5,0.5]...

3 years ago | 0

Answered
how to index the stating position of something?
If you have the Image Processing Toolbox, why not use the power of the bwareafilt function to immediately extract the longest ru...

3 years ago | 0

Answered
how to close error dialog
Fix the code or data so that the errors never occur. Or else just call "return" instead of uiwait(errordlg("You made a mistak...

3 years ago | 0

Answered
How can I add the correct coefficients from exponential curve fitting to the code
I don't get anything like either of your two sets of coefficients. This is what I get: % Uses fitnlm() to fit a non-linear mod...

3 years ago | 1

Answered
New line after fprintf in a for/ while loop
Let's say you loop over val1 to val2, and you want to only enter the loop if val1 is more than 5 and val2 is less than 80. One ...

3 years ago | 0

Answered
Finding the first 1 in a binary set using optimization
Why not simply do V=[zeros(1,10^4) 1 zeros(1,100) 1 1 zeros(1,10^3)]; index = find(V == 1, 1, 'first') ???

3 years ago | 0

Answered
MATLAB standalone App not working when installed on another system
See the FAQ for a list of common reasons your compiled app won't run on a target system: https://matlab.fandom.com/wiki/FAQ#My_...

3 years ago | 1

| accepted

Answered
Compare each spectrum to a reference spectrum.
Try something like this (untested) to compare spectro files to a ref spectro file using RMS. Adapt as needed. % Specify the fo...

3 years ago | 1

| accepted

Answered
The given below i put 100%efforts but do not solve.so please help me. I prepocessed the three signals and added the nm2cm but do not pass the test cases.
MATLAB is case sensitive. You created harp_Cm while it wanted harp_cm with a lower case c. harp_cm = harp; % Duplicate harp an...

3 years ago | 2

| accepted

Answered
Image acquisition in parallel via FireWire
Post a screenshot of what you see when you run imageAcquisitionExplorer or imaqtool If there are two cameras you should see two...

3 years ago | 1

Answered
how to assign a numerical value to an image based on the gray scale present in the image
Hint: function [meanGL, returnValue] = MyHomework(inputImage) meanGL = mean2(inputImage); percentage = %code if percentage >...

3 years ago | 0

Answered
Why does Matlab 2023a crash when running my code?
See support article: https://www.mathworks.com/matlabcentral/answers/157894-resolving-low-level-graphics-issues-in-matlab?s_tid...

3 years ago | 0

Answered
how to extract elements that are not succesive
Here's help: Invest 2 hours of your time here: MATLAB Academy - Free 2 hour training You will learn things like that plus mo...

3 years ago | 0

Answered
how to draw a tangent line between two point (highest points) and draw a perpendicular drop line from mid of the tangent line?
Here's a start. See if you can finish it: x1 = 50; x2 = 62; y1 = 60; y2 = 64; plot([x1, x2], [y1, y2], 'k.-', 'MarkerSize'...

3 years ago | 0

Answered
unable to run the label overlay of original and labeled image for data training on matlab
I'm not sure what your x is, but something like this works fine: x = imread('moon.tif'); % x is a gray scale image. rgbImage =...

3 years ago | 0

Load more