Respondida
Change specific colour in an image
See also: https://www.mathworks.com/matlabcentral/answers/52814-switch-between-colors-on-image https://www.mathworks.com/matla...

27 días hace | 1

Respondida
How to apply adapthisteq only on part of an image
I'm going to assume that this is what you mean when you say "right half and bottom half". This will work regardless of whether ...

28 días hace | 0

Respondida
3d Surface chat, limit then extent the Z axis
In lieu of irrelevant AI-generated link spam, consider the example: % fake xyz data n = 100; x = linspace(0,100,n); % x is 10...

29 días hace | 0

Respondida
Distinguish between ASCII and Binary
See also stlGetFormat() from stltools on the FEX: https://www.mathworks.com/matlabcentral/fileexchange/51200-stltools

30 días hace | 0

Respondida
How should I go about assigning a color to a range of values in a 1800x1200 array?
If you're just trying to make the whole thing pseudocolor based on known limiting values (e.g. the extrema of the image data), t...

30 días hace | 1

Respondida
I want to display images at their original sizes (e.g., new_img is larger than main_img, but when shown, they appear to be the same size).
Consider this as a compromise if the goal is simply to illustrate the relative scale. main_img = imread('peppers.png'); main_i...

30 días hace | 0

Respondida
Create a movie from matrices
It only looks like you're capturing one frame, and you're not closing the writer object. There's an example in the documentatio...

alrededor de 1 mes hace | 1

Respondida
How can I do images averaging after applying different noises?
There are two problems. One is that you're creating a bunch of numbered variables, which is always a great way to complicate th...

alrededor de 1 mes hace | 0

Respondida
How to remove red from the image
If you created the original image, then you shouldn't even be trying to do this. Processing damaged mis-sized screenshots is on...

alrededor de 1 mes hace | 0

| aceptada

Respondida
Increase plot speed in MATLAB
I think Yair's comment is probably a good start, though perhaps the significance of certain parts have changed over time: https...

alrededor de 1 mes hace | 0

Respondida
Why is my diverging colormap not centered as expected?
The problem is caused by when you call crameri(). Remember that a color table is just an ordered progression of color tuples. ...

alrededor de 1 mes hace | 0

| aceptada

Respondida
Isolating objects detected in a binary image
You can use the 'image' property from regionprops() to avoid a lot of hassle here. % a logical image with two blobs whose bound...

alrededor de 1 mes hace | 1

| aceptada

Respondida
How to solve a problem with the generation of multiple-colored segments on one line in Matlab plot
Yeah, you're going to have problems trying to create a bunch of line objects for all the segments. You'll probably have a bette...

alrededor de 2 meses hace | 0

| aceptada

Respondida
Removing unessecary background/ details from the Image
Talk about a trick question. If the attached file were a JPG, you would need to go back to the source in order to get undamaged...

alrededor de 2 meses hace | 1

| aceptada

Respondida
How toimage regional analysis
If all you're trying to do is select red regions with a mask: rgbimg = imread('peppers.png'); hsvimg = rgb2hsv(rgbimg); hue...

alrededor de 2 meses hace | 0

Respondida
Saving concatenated/ stitched elongated image file in high resolution
Do not save images by taking screenshots of figures. No saveas(), no print(), no exportgraphics(). The result is a degraded, pa...

alrededor de 2 meses hace | 1

| aceptada

Respondida
Non-rectangular thermal image crop & matching
There are two CSV files. One is readable. The other is a duplicate with broken formatting. It should have simply been deleted...

alrededor de 2 meses hace | 0

| aceptada

Respondida
How can I force an image to render on the entire axes of a figure?
There are various proposed solutions that I can't remember entirely. If I recall, many don't work consistently across different...

alrededor de 2 meses hace | 0

Respondida
Apply colormap coloring to a particular contour to indicate imaginary component
It can be done, but not with contour() or plot(). % some fake data x = linspace(-1,1,100); y = x.'; z = x.*y + sqrt(x) - sqr...

alrededor de 2 meses hace | 3

| aceptada

Respondida
iterating array over for loop
Two things. 1: you're breaking out of the loop immediately by using the break keyword. 2: you're not addressing the output as ...

alrededor de 2 meses hace | 0

Respondida
Image Selection in freeform
Use drawfreehand() to create an ROI object interactively. Once done, use createMask() to convert the ROI object into a logical ...

2 meses hace | 1

Respondida
Randomly position an ellipse and create a cutout
Depending on what you mean by "crop", this may suffice: https://www.mathworks.com/matlabcentral/answers/314089-how-can-i-apply-...

2 meses hace | 0

Respondida
Image processing for determining endpoints on a line
bwskel() will almost always leave branches on the skeleton. You have to get rid of them. While you can use the minbranchlength...

2 meses hace | 1

| aceptada

Respondida
remove data from fig file after plotting
xlim([17.38 33]) % ?? What's that have to do with "removing data after plotting" though?

3 meses hace | 0

Respondida
which colormap I can chose to draw these figures?
Attached are colormap generators that attempts to make something close to the given colormaps. It's only a blind approximation,...

3 meses hace | 0

| aceptada

Respondida
Using Tiff function to save tiff files
There are at least two ways of doing this. You can try to just cram everything into a single image. As far as I can tell, I ...

3 meses hace | 1

Respondida
How do I remove the Specular reflections in gray scale image as given in this article snippet?
Well forget about trying to use imregionalmax() on that. It looks like a captured frame of interlaced video that's been saved a...

3 meses hace | 0

Respondida
How do I extract data from the graph in this image?
The more I look at this graph, the worse it gets. At least it's a clean PNG, but it's small for what's represented, and there a...

3 meses hace | 1

| aceptada

Respondida
Is there a way to make my picture RGB again? Trying to test hamming code
Well, here's one example. It might not be the most practical sort of thing, but it's probably fairly instructive. I imagine th...

3 meses hace | 0

| aceptada

Respondida
Is it possible to create a 3-D surface plot with black edges and color shading on the faces that corresponds to the data points, instead of solid color faces?
Simply do: sa.FaceColor = 'interp'; That will make the face color graduated, while leaving the edge lines black.

3 meses hace | 0

Cargar más