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 años 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 años 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 años 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 años 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 años 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 años 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 años 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 años 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 ...

alrededor de 2 años 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-...

alrededor de 2 años 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...

alrededor de 2 años 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?

alrededor de 2 años 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,...

alrededor de 2 años 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 ...

alrededor de 2 años 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...

más de 2 años 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...

más de 2 años 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...

más de 2 años 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.

más de 2 años hace | 0

Respondida
How to recify this error in daughman's rubber sheet model matlab code? : Error using * MTIMES (*) is not fully supported for integer classes.
Well, I have no idea how you're calling this function, but the parameters you're passing are integer-class, when they shouldn't ...

más de 2 años hace | 0

| aceptada

Respondida
how to overlay these two data sets in one image with two different colorbars?
I'm going to just put both colorbars on one side so that they don't get in the way of axis labels. It's just easier. load('lol...

más de 2 años hace | 0

| aceptada

Respondida
What do I need to do when I get this message "Cannot display summaries of variables with more than 524288 elements." ?
What you do depends on what the array is and what exactly you're trying to look at. The browser doesn't support display of larg...

más de 2 años hace | 0

Respondida
error while using imfilter function in matlab
The name of the filter variable is "filter", not "filt". result{i} = imfilter(temp_img, filt, 'replicate', 'conv'); filt() i...

más de 2 años hace | 0

Respondida
Why the error?
The error is (almost) entirely a consequence of the difference in the way you're handling the region boundaries. When the image...

más de 2 años hace | 2

| aceptada

Respondida
convert RGB to YIQ and HSV values without function rgb2ntsc and rgb2hsv ([30,80,30]) search with matlab coding
First off, you're asking for something you can't get. https://www.mathworks.com/matlabcentral/answers/38787-what-can-be-program...

más de 2 años hace | 0

Respondida
Unable to perform assignment because the size of the left side is 588-by-3603 and the size of the right side is 588-by-719-by-3 error
The actual solution is probably to delete AreaUnderCurve() and actually pay attention to what you're doing with your data. Wh...

más de 2 años hace | 1

Respondida
mapping image using pixel values
This question is one in a long set of unclear questions which together likely form an XY problem. This is a rough summary of a ...

más de 2 años hace | 0

Respondida
Matlab code of shape
So the inputs are: the chord length L (they're all equal) one of the interior angle pairs I choose to assume that the given a...

más de 2 años hace | 0

Respondida
How can I deform an image to fit a shape, but keep the same pixel values?
For the moment I'm going to assume that the input and output polygons have the same number of vertices or can be made to have th...

más de 2 años hace | 0

Respondida
Is there any way to convert an image from RGB to CIELUV colorspace? Or read an image in CIELUV colorspace? For details about CIELUV colorspace refer : https://en.wikipedia.org/wiki/CIELUV
There are tools on the File Exchange which can do both transformations. Pascal Getreuer's colorspace() offers conversions in ...

más de 2 años hace | 0

Respondida
assigning values in color bar
Why not just scale it appropriately instead of trying to fake it? Don't need to use surf either. % you have a single-channel i...

más de 2 años hace | 0

| aceptada

Cargar más