Beantwortet
Calculating Similarity between a single pixel and a surrounding region
Depends what you mean by 'similarity'. If you just want the mean DE between a pixel and its neighbors? % read the image inpic...

mehr als 2 Jahre vor | 0

Beantwortet
how to change the background color of an image from black to white
This is another lesson in how to make sure nobody bothers answering what might appear to be a simple question. First, it shou...

mehr als 2 Jahre vor | 0

Beantwortet
Moving Standard Deviation issues with NaN values (i.e., Stdfilt). Alternatives and workarounds?
IPT stdfilt() doesn't behave as you describe in any version I've tested. % a float array with a 10x10 NaN block A = magic(130)...

mehr als 2 Jahre vor | 0

Beantwortet
why is the image blurred after rgb to hsi conversion?
The part of the question that nobody answered is "why is it blurry?". The answer is simple. You're looking at a JPG. The loss...

mehr als 2 Jahre vor | 0

Beantwortet
matlab grid problem?
To set the data aspect ratio to unity set axis equal You can also check out the other options for the function axis()

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
How to measure the elongation, rectangularity, circularity, solidity, compactness, and area of the red contour?
If you want to use image processing to solve this sort of problem, that's fine, but don't start with a junk screenshot. Back u...

mehr als 2 Jahre vor | 0

Beantwortet
How to get pixels per millimeter from image of a scale
Why bother with all that for one image? % an image inpict = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_f...

mehr als 2 Jahre vor | 0

Beantwortet
How to make the color gradient gradual. In the plot
I'm going to ignore the fact that using a smooth colorbar with discrete-valued data makes the plot unreadable. If you just want...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
Identify rows of a matrix, which contain 0's, where there are 1's in an array.
Putting indices in the variable names only makes everything worse. FSM = [0 1 0 1 1 1 0 0 0 0 0 0; 0 1 0 1 0 0 1 1 0...

mehr als 2 Jahre vor | 0

Beantwortet
Writing tiff file with multi channel and slices
It's doing exactly what you're telling it to do. You have a stack of size [H W C F]. You're splitting the stack into C*F indiv...

mehr als 2 Jahre vor | 1

| akzeptiert

Beantwortet
How can I make a specific color of an image transparent?
You already have a mask, so I'm not concerned with how to create a mask. As usual, the MIMT way is the easy and universal way. ...

mehr als 2 Jahre vor | 0

Beantwortet
How to find out area under the curved shape of the attached figure?
It's going to be up to you to define where the curve boundary is. It's not clear in concept or in terms of available contrast. ...

mehr als 2 Jahre vor | 0

Beantwortet
Similarity between gaussian noise image and original image
This happens because the output of imnoise() is clamped to the dynamic range expected of the output class -- even for floating-p...

mehr als 2 Jahre vor | 0

Beantwortet
3 images fused into RGB placed upon one another
I can only assume that things have been edited, because as it stands, there isn't really a question. Since it's accepted, I'm g...

mehr als 2 Jahre vor | 0

Beantwortet
Overlaying Two Binary Images with Two Separate Colors
It wasn't an option in R2010a, but I think imfuse() is the expedient answer in modern contexts. As much as I complain about its...

mehr als 2 Jahre vor | 0

Beantwortet
Make the colours of my graph continuous
There's nothing to blur, because you're not creating a raster image. The only raster image is the screenshot, and blurring a sc...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
xcorr results: c written in long format, lags in wide format
I don't see it documented anywhere, but lags is always a row vector, regardless of the orientation of the input. If you want it...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
how to get one shape out of multiple shapes
patch() doesn't create a file. If you created a file somehow, nobody knows how you did it. I'm not sure where this is going,...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
Image Compression Algorithm Error
Your problem is a matter of trying to address the pages of an ND array using a mix of 2D logical addressing and subscript addres...

mehr als 2 Jahre vor | 0

Beantwortet
attach variabe in image
If you want to add labels to a figure, what's wrong with text() or annotation()? If you want to add text directly to an image...

mehr als 2 Jahre vor | 2

Beantwortet
How to find the minimum difference between the 3 elements of a vector in app designer?
I take this to mean the three elements of X with the smallest extreme spread. I don't see that pdist2() would work for that. T...

mehr als 2 Jahre vor | 1

| akzeptiert

Beantwortet
how can i blur an image background only
Using basic tools: % an image (RGB, uint8) inpict = imread('peppers.png'); imshow(inpict,'border','tight') % a mask which se...

mehr als 2 Jahre vor | 0

Beantwortet
Replication of a colorbar in MatLab
I just reconstructed it from the image. See the attached file. Z = peaks(100); imagesc(Z) colorbar colormap(orangeaqua(25...

mehr als 2 Jahre vor | 1

| akzeptiert

Beantwortet
you need to use ascii code too
I fixed the improper concatenation and bad inputs to bar() Program_Pr11('text.rtf.fakeextension.txt') Of course, the bar label...

mehr als 2 Jahre vor | 0

Beantwortet
Binary Image from 2D plot
One way would be to use poly2mask(), but bear in mind that your coordinate space changes. That may complicate the expense of te...

mehr als 2 Jahre vor | 0

Beantwortet
Overlay two images using transparency
How would I do it? If the goal is to produce a raster image as output, and you don't need other corresponding graphics objects ...

mehr als 2 Jahre vor | 0

Beantwortet
Is there a variant of nlfilter for color images?
No, there's not. As far as I'm concerned, nlfilter() is usually not worth using. It's slow, it's crippled by its lack of edge ...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
imwrite result of viscircles instead of creategraphic
Viscircles() does not create raster image data. The only way to capture its output is as you say, a screenshot. I see three op...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
Blend Red,Blue,Green squares
See also: https://www.mathworks.com/matlabcentral/answers/1681419-overlapping-coloured-circles-rgb-circles#answer_927789 https...

mehr als 2 Jahre vor | 0

Beantwortet
How to generate an RGB image from a 8-bit greyscale image that has an uneven background?
I'm not sure where this is going, but maybe this is a start. % read the image inpict = imread('https://www.mathworks.com/mat...

mehr als 2 Jahre vor | 0

| akzeptiert

Mehr laden