Question


Is it just me, or is the most recent poll now broken?
I noticed a couple new replies show up on the recent poll a day or so ago, but since then, the page can't be loaded anymore in a...

3 months ago | 1 answer | 0

1

answer

Answered
Symmetric (Diverging) log color scale
Here's a shoddy example, but at least it does what's described. % let A be your data % note that the data is asymmetric and ...

3 months ago | 1

Answered
Display a bit plane
The given code more or less does what's requested, though it's not generalized. I'm just going to throw this out there. I'm ...

3 months ago | 0

Answered
how to add rician noise in image?
MIMT imnoiseFB() is largely a replacement for IPT imnoise(), though it offers a few new options not offered in the original. On...

3 months ago | 0

Answered
how to convert a grayscale image to rgb image
This answer covers multiple ways, depending on what your expected results are: https://www.mathworks.com/matlabcentral/answers/...

3 months ago | 0

Submitted


Generate synthetic test images of resistors
A tool to generate synthetic images of resistors. Depending on how cruel you are, you may find this useful for creating student...

3 months ago | 2 downloads |

Thumbnail

Answered
Why I recive such an answer:"Incorrect number or types of inputs or outputs for function range."
x = [1 -1.65 2.2 -3.1]; y = range(x) The code you posted should work fine. You probably have something shadowing the intended...

3 months ago | 1

| accepted

Answered
what is the map in this example?
Ah. This is one of the hazards of using load() like this. When you run the line load mri ... you're loading the contents o...

3 months ago | 0

Answered
Image Processing Challenge using edge detection
Well, given that the two images are vastly different, I have no idea where this is going, or what criteria should be used for se...

3 months ago | 0

Answered
Backgroud Added to images after imwrap transformations
Your image has alpha, but you're not using it. % you need to read the whole image [I,~,alpha] = imread('https://www.mathworks....

3 months ago | 1

| accepted

Answered
Image Processing Challenge using edge detection
Without knowing the answers to the clarifications, this is one idea. I recovered a crude image from the damaged screenshot. ...

3 months ago | 0

Answered
cant detect valid coins and segement them fully, have a deadline in 4 days
Hm. Std alone seems a bit marginal given that some of the valid coins are quite overexposed and some of the painted coins have ...

3 months ago | 0

| accepted

Answered
i want to export 3d stl format image into matlab and want to see in matlab
I've used STL Tools from the FEX before. % needed to zip attachments for the forum unzip things.zip % read the file fnam...

3 months ago | 1

Answered
How do I get help on homework questions on MATLAB Answers?
In the hopes that this stays at the bottom of the thread. (i.e. pls no upvote) Don't paste your unembellished homework as an a...

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 0

Answered
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)...

3 months ago | 0

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

3 months ago | 0

Answered
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()

3 months ago | 0

| accepted

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

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 0

| accepted

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

3 months ago | 0

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

3 months ago | 1

| accepted

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

3 months ago | 0

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

3 months ago | 0

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

4 months ago | 0

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

4 months ago | 0

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

4 months ago | 0

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

4 months ago | 0

| accepted

Load more