Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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)...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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()

environ 2 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
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. ...

environ 2 ans il y a | 0

Réponse apportée
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. ...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
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,...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 2

Réponse apportée
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...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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 ...

environ 2 ans il y a | 0

Réponse apportée
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 ...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 2 ans il y a | 0

| A accepté

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

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

| A accepté

Charger plus