Beantwortet
extracting mean pixel value from an image
It seems to work for me. The figure in which the ROI object is created needs to be present and needs to contain only one image....

etwa 4 Jahre vor | 0

Beantwortet
How do I superimpose images using imfuse() while keeping colors?
The short answer is very simple. Don't use imfuse() for image composition. Imfuse() is a tool for visually comparing two image...

etwa 4 Jahre vor | 0

Beantwortet
Why is the waveform of torque for single phase induction motor sinusoidal in Simulink?
It's been years since I had to think about this, but off the top of my head, that seems correct. The stator in a three-phase in...

etwa 4 Jahre vor | 0

Beantwortet
Problem in getting proper output image format
The output of rgb2lab() is already of class double(). L is in the range of 0-100. Rescaling L to [0 255] and casting to uint8 ...

etwa 4 Jahre vor | 0

Beantwortet
How to output the Cascading image
Depends what you want to do with it. With a function name like op(), it's impossible to tell. If your goal is to just visual...

etwa 4 Jahre vor | 0

Beantwortet
extracting mean pixel value from an image
I was assuming that the green marks weren't going to be the ROI delimiters anymore, but if they still are, you can't use image g...

etwa 4 Jahre vor | 0

Beantwortet
i need to combined several blocks to one image
I suppose if I'm going to clean up the duplicate of this question, I should be willing to answer it to some degree. While there...

etwa 4 Jahre vor | 0

Beantwortet
Growing eye matrix as per the size of eye
There are a number of ways, but this is what I'd do: A = toeplitz([1 0 0 1 0 0 1 0 0],[1 0 0 0 0 0 0 0 0])

etwa 4 Jahre vor | 1

Beantwortet
How to create a crumpled (wrinkled) paper effect on an image?
The answer is fairly simple, but it depends what you expect. The basic concept isn't a MATLAB problem at all. Solving the prob...

etwa 4 Jahre vor | 1

| akzeptiert

Beantwortet
Dumb mistakes we make with MATLAB.
I spent a moment today trying to figure out why outarray = logical(size(inarray)); % preallocate didn't create a logical array...

etwa 4 Jahre vor | 0

Beantwortet
Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 0-by-0
RadiusFunc (and possibly LengthFunc) is an empty array. You'll have to find out which ones are empty and why they're empty, bec...

etwa 4 Jahre vor | 0

| akzeptiert

Beantwortet
Filtering with regionprops and ismember
I cropped the image out of your screenshot, so the sizes are probably wrong, but this is just an example in concept. You appear...

etwa 4 Jahre vor | 0

Beantwortet
greek words in axis labels
Forgive the blind translation attempt, but wouldn't something like this work? hungerpct = 1:100; bph = (1:100).'.*[2 3] + [0...

etwa 4 Jahre vor | 0

| akzeptiert

Beantwortet
Colormap- specific values for each heatmap value
You might try something like this: % some fake data z = 0.2*rand(10); % define parameters of new CT ctlength = 256; cbrea...

etwa 4 Jahre vor | 0

Beantwortet
Checking given point in circle
Depending on the context, there are probably more purpose-built tools, but you can do it in a very basic manner just the same. ...

etwa 4 Jahre vor | 0

Beantwortet
string for x label in a plot
You can make the tick labels whatever you want. They don't have to be a literal label of the tick locations. x = 1:10; y = si...

etwa 4 Jahre vor | 2

Beantwortet
How can I move a binary image to the center?
Without knowing how the object images were obtained, it's hard to say how to change the process. You should have the bounding b...

etwa 4 Jahre vor | 0

Beantwortet
How to create picture effects in MATLAB?
Steve's blog has some ideas for thinking outside the box with basic MATLAB/IPT tools, but for the most part there aren't first-p...

etwa 4 Jahre vor | 1

Beantwortet
Overlay graph with latest input
If by "latest input", you mean the text object, you can use text(). https://www.mathworks.com/help/matlab/ref/text.html http...

etwa 4 Jahre vor | 0

Beantwortet
How do I split a string using a only *single* whitespace delimiter so any multiple whitespaces are also "split"?
I'm totally not the one to ask for elegant regex, but there are always workarounds. thischar = 'Time Aero Inertial To...

etwa 4 Jahre vor | 1

Beantwortet
plot earth shadow(lighting?)
You can do a couple things. You can adjust the material properties to increase contrast (reduce ka, boost kd). See this docume...

etwa 4 Jahre vor | 0

| akzeptiert

Beantwortet
difference of SSIM and multissim?
The documentation describes the differences: https://www.mathworks.com/help/images/ref/ssim.html https://www.mathworks.com/hel...

etwa 4 Jahre vor | 0

Beantwortet
Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parenthe
I don't see anything that would cause that error, but there are other errors. clc; clf fstr = 'sin(x)'; %input('Fonksiyon de...

etwa 4 Jahre vor | 0

Beantwortet
Unevenly Map Data to an RGB Map?
If you want to take your colormap and shift it toward one end or the other for some reason, you might be able to do something li...

etwa 4 Jahre vor | 0

Beantwortet
Is it possible to go through the elements of an array without resorting to length in a for loop?
You could do something like this a = [1 2; 3 4]; for k = a(:).' % reshape a into a row vector if k>2 fprintf('%d...

etwa 4 Jahre vor | 2

| akzeptiert

Beantwortet
How to order colors (RGB) in my own colorbar?
I think this is an interesting question. Being "interesting" doesn't mean that it's a problem with a unique solution though. A...

etwa 4 Jahre vor | 1

Beantwortet
Writing RMSE fomula in Matlab
Assuming that the inputs are of comparable scale and of floating-point class: rmse = sqrt(mean((A(:)-B(:)).^2))

etwa 4 Jahre vor | 0

Beantwortet
Line Plot with Highest value in the middle
You mean y = [0, 5, 0]; plot(y) If you mean something else, you'll have to elaborate.

etwa 4 Jahre vor | 0

Beantwortet
Locate and extract values from one array to another
Use ismember() or (more likely) ismembertol(). Without knowing what the data and references look like, I'll have to leave that ...

etwa 4 Jahre vor | 1

| akzeptiert

Beantwortet
How can I create a binary mask?
Without having clear technical goals, I'm just going to assume that no technical requirements exist for shape or density. I'm g...

etwa 4 Jahre vor | 0

| akzeptiert

Mehr laden