Community Profile

photo

DGM


Last seen: Today Active since 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. -- I don't reply to email anymore. If you have a question about my questionable FEX submissions, leave a comment on the FEX page and I'll get the notification. Alternatively, ask a question on the forum and @DGM me so I'll get notified.

Statistics

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

View badges

Content Feed

Answered
Line/FreeDrawROI is not visible in axis w/ Point Cloud
I haven't checked the documentation, but I seem to recall that the images.roi tools need an image object in the given axes. It's...

2 dagar ago | 0

Answered
Why does Matlab duplicate the output image ?
There are a number of things going wrong here, none of which should cause an image to be displayed multiple times. ... at least...

2 dagar ago | 0

| accepted

Answered
extract colored image from white background
Checks are (usually) some light pastel color. Sometimes they'll have a helpful dark border, but other times (like this case, th...

2 dagar ago | 0

Answered
Normalizing pixel colours of an RGB image
inpict = imread('peppers.png'); % uint8 inpict = im2double(inpict); % unit-scale float outpict = inpict./sum(inpict,3); % al...

3 dagar ago | 0

| accepted

Answered
how can i create this image in matlab
Without clarification, I'm going to take the liberty to assume that you want a plain line plot with no dimensioning marks. % pa...

3 dagar ago | 1

| accepted

Answered
how to extract images from pure white background
Well if it's a pure white background, you can just create a mask that selects everything that's not white and then ... inpict =...

3 dagar ago | 0

Answered
Problem with making cash change
I see two problems: First, there's no provision for amounts which are not integer-divisible by 0.1. I don't know if that's cus...

4 dagar ago | 0

| accepted

Answered
Find path through logical matrix (only walking right or down)
I think my comment still stands. I believe that this works, but I haven't really proven it. I don't think it's very elegant. ...

4 dagar ago | 0

Answered
how this command works"meanGL = mean(blackMaskedImage(binaryImage));". My input image is a HSV image. How it calculates the mean.
What it means is probably not a good place to start. Let's back up, because we're probably not doing what we think we're doing ...

5 dagar ago | 0

Answered
Why my code calculates values for image statistics, which are far greater or less than the standard ones? Both for encrypted and decrypted images.
Let me guess, they're off by a factor of 255? Pay attention to data scaling and class. Most images you load will be unsigned i...

6 dagar ago | 0

| accepted

Answered
manually cropping an rgb image to get output in rgb
In this line, the image is MxNx3, but the mask is MxNx1. blackMaskedImage(~BW) = 0; So the mask is only applied to the first c...

7 dagar ago | 0

Submitted


Image Manipulation Toolbox
A large collection of image manipulation tools of varying utility

8 dagar ago | 137 downloads |

Thumbnail

Answered
How to display 10 sets of 26 images in a plot?
If you arrange your plots in a regular grid, you don't need all the labels between them. You can move the labels to the edge an...

8 dagar ago | 0

| accepted

Answered
I have a text file that contains the pixel values of an image, how do I convert it into matrix and then form the image.
Assuming you know what the image size is and how it's stored, you read the file, reshape it, and cast it to a class appropriate ...

9 dagar ago | 1

| accepted

Answered
issue with rgb2ind
When I was adding gray2pcolor()/uniquant() to MIMT, I thought about this question. I took the time to add dithering modes to bo...

10 dagar ago | 0

Submitted


Image blending functions
Image blending & compositing with support for 4D images, influence scaling, and several uncommon modes

10 dagar ago | 12 downloads |

Thumbnail

Submitted


Tools to read and write animated gif files
Functions to read and write animated gifs to and from 4-D RGB image arrays

10 dagar ago | 17 downloads |

Thumbnail

Answered
I need help animating the evolution of a polar plot and saving it as a gif.
A few things: You're only plotting one point at a time, so if you use a linestyle but no marker style, there's nothing to plot....

10 dagar ago | 0

Answered
Suppose you thresholded an image at value t1 and thresholded the result at value t2, describe the results if (a) t1>t2 and (b) t2>t1.
Say %B = A >= t1; % threshold A at t1 %C = B >= t2; % threshold B at t2 The relationship between t1,t2 is irrelevant. What ...

11 dagar ago | 1

| accepted

Answered
How to replace range in matrix with specific value?
You can do that like so: A = [1 2 3; 2 3 4; 4 5 6]; A(:,1:2) = 5

12 dagar ago | 0

| accepted

Answered
histogram for images in Y Cb Cr colour space.
See the answer here: https://www.mathworks.com/matlabcentral/answers/1936059-how-can-i-plot-the-ycbcr-histograms-with-the-corre...

12 dagar ago | 0

Answered
Conversion of grayscale image into RGB and CIELAB color space
I would think that the obvious choice would be % an I/RGB image inpict = imread('https://www.mathworks.com/matlabcentral/answ...

12 dagar ago | 0

Answered
Split repetitive image to find pattern
This isn't really an answer so much. I was going to look into it, but I found that it was easier to rewrite it in order to figu...

13 dagar ago | 0

| accepted

Question


What's the lowdown on chinese tag-team accounts posting questions+answers?
I'm sure everyone has seen them. One account posts a question, the other account posts an answer within a minute. Each account...

14 dagar ago | 1 answer | 3

1

answer

Answered
How can I plot overlapping rectangles so that they interact with each other?
Here's a start. w = 4; % ribbon width th = 0.2; % ribbon thickness m = 0; % in-plane distance between bend interior an...

14 dagar ago | 2

| accepted

Answered
How can I rotate my images
The fact that they aren't JPG isn't relevant. If you can read the image as an array of typical numeric class ('double','single'...

14 dagar ago | 0

| accepted

Answered
Kmeans clustering to detect pothole
I don't know why you'd use kmeans to do this. The absolute color of any pixel doesn't really tell you much about whether it bel...

15 dagar ago | 0

Answered
How to draw a CIELAB color chart?
I would argue that a "color wheel" is inappropriate for the task, and in the effort to use it, the example given misrepresents m...

16 dagar ago | 1

Answered
Equation for imgaussfilt?
That file is a plain m-file and can be read. edit(fullfile(matlabroot,'toolbox/images/images/+images/+internal/createGaussian...

18 dagar ago | 0

Answered
How can this code explain the Error in psnr?
I can't run this myself without the wavelet toolbox, and it's a wall of numbered variables and missing input files, so I'm not t...

18 dagar ago | 0

Load more