Respondida
How I can normalize a range of columns of an image
It doesn't matter that the values in those columns vary. But if img is of type uint8, you need to cast it to double otherwise w...

casi 3 años hace | 0

Respondida
(kmeans clustering) Why doesn't image resulting from labeloverlay have the same size as original image?
Don't do [0,5]. That argument does not apply to RGB images (like what labeloverlay returns), it only applies to gray scale imag...

casi 3 años hace | 0

Respondida
How to change the pixel value int16 to new value?
Not sure I understand this: "I want to convert all the pixel value with new value IMG_cps" but why can't you just say IMG(:,:) ...

casi 3 años hace | 0

Respondida
How to find a concentric irregular polygon
I'd just find the centroid of the shape, then run around the perimeter finding the distance to the centroid. Then use normal tr...

casi 3 años hace | 0

Respondida
How to calculate the pixel value segmentation
I believe the total pixel count would be numel(P~=0).

casi 3 años hace | 0

Respondida
how to separate and show original color of foreground and background image in matlab?
You need to "segment" your image. How you do that depends on what your foreground and background look like. I'm attaching a de...

casi 3 años hace | 0

Respondida
how to show color of image in a pixel coordinate?
After you display the image, do this: impixelinfo

casi 3 años hace | 0

Respondida
How to rotate some part of image?
You can use the radon transform to determine the angle you need to rotate by. See how I rotated the football in the attached de...

casi 3 años hace | 0

Respondida
Why does it take MATLAB so long to print hello world?
What MATLAB commands did you issue from the command line? What you gave does not work: >> $ time matlab -nojvm -noFigureWindow...

casi 3 años hace | 2

Respondida
how velocize operation boolean
You asked : "(i want to find idx element that change from 0 to 1 )" So do this: a = [5, 0, 1, 9, 0, 1]; index = strfind(a, [...

casi 3 años hace | 0

Respondida
how velocize operation boolean
That code has nothing to do with your subject line. You want logicalIndexes = a == 1 % or linearIndexes = find(a == 1) Same...

casi 3 años hace | 0

Respondida
Estimating the diameter and frontal area of evaporating droplets
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

casi 3 años hace | 0

| aceptada

Respondida
Image combination of a selected feature / image processing
You want to invert your mask (second image) and use it as logical indexes to your original image (grayImage). grayImage(~mask) ...

casi 3 años hace | 0

Respondida
Operation with logical data. Which is better?
Those are different things you're showing. "a.*(a<5)" is a double vector. Your A only shows positive values, while B shows non-...

casi 3 años hace | 0

Respondida
There is anyway that I can plot a graph like this in MatLab with standard deviation ?
Do you mean like the "errorbar" LinePlot shown about half way down the page here: https://www.mathworks.com/products/matlab/plo...

casi 3 años hace | 0

Respondida
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 ...

casi 3 años hace | 1

| aceptada

Respondida
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...

casi 3 años hace | 2

Respondida
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...

casi 3 años hace | 0

| aceptada

Respondida
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...

casi 3 años hace | 0

Respondida
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...

casi 3 años hace | 2

| aceptada

Respondida
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...

casi 3 años hace | 0

| aceptada

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

casi 3 años hace | 1

Respondida
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...

casi 3 años hace | 0

| aceptada

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

casi 3 años hace | 0

Respondida
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.

casi 3 años hace | 0

Respondida
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...

casi 3 años hace | 0

Respondida
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...

casi 3 años hace | 0

Respondida
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...

casi 3 años hace | 0

Respondida
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_...

casi 3 años hace | 0

Cargar más