Community Profile

photo

DGM


Last seen: Today Aktiv seit 2015

Hi, I'm nobody. I don't belong here, but I have nothing better to do. Matlab used to be part of my work. Now it's part of my hobbies. That's pretty sad, really.

Statistiken

All
  • Thankful Level 5
  • Editor's pick for Answers
  • Solver
  • Personal Best Downloads Level 4
  • GitHub Submissions Level 3
  • 24 Month Streak
  • Most Accepted 2022
  • Ace
  • Most Accepted 2021
  • 5-Star Galaxy Level 4
  • Revival Level 3
  • Knowledgeable Level 5

Abzeichen anzeigen

Content Feed

Anzeigen nach

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

ein Tag vor | 0

Beantwortet
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 Tage vor | 0

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

6 Tage vor | 0

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

14 Tage vor | 1

| akzeptiert

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

18 Tage vor | 0

Beantwortet
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,...

18 Tage vor | 0

| akzeptiert

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

18 Tage vor | 1

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

22 Tage vor | 0

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

27 Tage vor | 1

| akzeptiert

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

etwa ein Monat vor | 0

| akzeptiert

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

etwa ein Monat vor | 0

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

etwa ein Monat vor | 0

| akzeptiert

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

etwa ein Monat vor | 0

| akzeptiert

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

etwa 2 Monate vor | 0

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

etwa 2 Monate vor | 0

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

etwa 2 Monate vor | 2

| akzeptiert

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

etwa 2 Monate vor | 0

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

etwa 2 Monate vor | 1

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

etwa 2 Monate vor | 0

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

etwa 2 Monate vor | 0

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

etwa 2 Monate vor | 0

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

etwa 2 Monate vor | 0

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

etwa 2 Monate vor | 0

| akzeptiert

Beantwortet
Checking if two handle objects are identical using 'isequal' and '=='
I don't know if there's a generalized canonical way to compare the similarity of graphics objects, but they're going to differ. ...

etwa 2 Monate vor | 1

Beantwortet
Issue with imresize, resizeParseInputs
See the comments. It ran without errors, but I don't know if the output is right or if I'm using it correctly. %blend the lapl...

etwa 2 Monate vor | 0

| akzeptiert

Beantwortet
Brace indexing into the result of a function call is not supported
Hm. I'm going to guess on this one. function blendedPyramid = blendLaplacianPyramids(pyramids) % the variable is 'pyramids' ...

etwa 2 Monate vor | 0

| akzeptiert

Beantwortet
How do I change a black and white grating to red and green?
I'm going to do this with MIMT tools because I'm lazy, and that's why convenient tools exist. Assume we have a single-channel g...

etwa 2 Monate vor | 0

Beantwortet
Vertical lines artifacts while using ShapeInserter of Vision toolbox ?
See also: https://www.mathworks.com/matlabcentral/answers/411443-problem-with-insertshape It's probably an earlier version th...

etwa 2 Monate vor | 0

Beantwortet
how to delete value of hsv and convert hsv to gray?
This is a nonsense question. In one sentence, your goal is to preserve color information only and delete brightness information...

etwa 2 Monate vor | 0

Beantwortet
I have a binary mask, with let's say 40 images (Mask(:,:,40) and I want to calculate centroids per image.
You aren't using the loop index for anything, so nothing changes. You don't appear to be preallocating anything. Your entire s...

etwa 2 Monate vor | 0

Mehr laden