# DGM

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**

RANG**38**

of 271 028

RÉPUTATION**4 851**

CONTRIBUTIONS

**31** Questions

**1 937** Réponses

ACCEPTATION DE VOS RÉPONSES **
64.52%
**

VOTES REÇUS**512**

RANG**1 530** of 18 282

RÉPUTATION**1 153**

CLASSEMENT MOYEN**5.00**

CONTRIBUTIONS**9** Fichiers

TÉLÉCHARGEMENTS **264**

ALL TIME TÉLÉCHARGEMENTS**7325**

CONTRIBUTIONS**0 Publications**

CONTRIBUTIONS**0** Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS**0** Point fort

NOMBRE MOYEN DE LIKES

**Content Feed**

How to take the color grade from one image and apply it to another?

The paper that @Image Analyst linked is good, but I haven't seen any MATLAB implementation. You're free to post it on the File ...

environ 19 heures il y a | 1

How can I smooth out the colour of a image?

There are a number of things going wrong, but the reason why it's black is simple. FilterRed = picture(:,:,1); % this is uint...

1 jour il y a | 0

i have this code of " Power law transformation " on an image ?? why is the error occuring ??

There are a few things wrong here, but this question demonstrates one thing very clearly. If you can't be bothered to post read...

1 jour il y a | 0

How to calculate the dynamic range of an RGB image

The error occurs because you're trying to do everything with integer data. % read an image inpict = imread('peppers.png'); i...

1 jour il y a | 0

How can I remove the small blobs in ‘Blobs.jpg’? is it using filtering right? i got confused with the step to remove the blob on that image.

Something like this: % read an image inpict = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/148990/im...

1 jour il y a | 0

add transparency to a contourf

The FaceAlpha and EdgeAlpha properties are new in R2022b. I'm not familiar with cotourfm() or mapping tools, so I can't comment...

1 jour il y a | 0

Plotting Mutually-Occluding (Knit) Curves in 2D

I'm going to assume that I'm the only person who would do it by image composition, but I guess that's the niche I've made for my...

2 jours il y a | 0

Plotting Mutually-Occluding (Knit) Curves in 2D

I'm going to take this cursory shot at doing it with plot3(). My curve construction is pretty naive, but I just found it easier...

2 jours il y a | 0

Question

Plotting Mutually-Occluding (Knit) Curves in 2D

I was browsing and doing cleanup earlier, and I came across this misplaced question-as-answer on a question about basic plotting...

2 jours il y a | 2 réponses | 0

### 2

réponsesstacking of large matrix into stack of small column matrix

I'm not really sure what exactly you want, but I'm going to take a guess anyway. I'm going to assume that nele is possibly less...

3 jours il y a | 0

How to look up a smaller array in a larger array while preserving shape

I'm going to demonstrate a couple ways you can do this using neighborhood operations. The case of a solid 2x2 nhood is a bit of...

3 jours il y a | 0

Color in Edge Detection with Sobel Operator on RGB Image Output

There's some confusion going on here. The colors in the two images represent different things. Let's start with the latter. ...

3 jours il y a | 0

Write a matlab function, image processing

There are countless sliding window filter examples here. I'm not going to write another. I don't have much patience for assign...

3 jours il y a | 0

Find width and height of .jpg image

See this https://www.mathworks.com/matlabcentral/answers/81089-finding-the-dimensions-of-an-image That said, how do you find t...

5 jours il y a | 0

resize images with zero padding

There are some things to consider when using padarray() to match image geometries. A = imread('cameraman.tif'); % 256x256x1 (...

5 jours il y a | 0

How to reconstruct the images from the blocks of pixel?

Matt's answer is probably the more general answer, but I'll repeat what he said. We can't know what order you're trying to tile...

5 jours il y a | 2

How to check if each element of a matrix is larger/smaller than the mean of the elements of the respective line?

Here's one way; I'm sure there are plenty of other ways. % some matrix A = magic(5) % row means rmn = mean(A,2) % element i...

6 jours il y a | 2

How can I make this graph with the "for" command?

Good gravy it's been forever since I did any of this. Here's a start. ze = [0 0.2 0.4 0.5 1 1.5]; for k = 1:numel(ze) % ...

6 jours il y a | 1

| A accepté

Separating YCbCr components of an image

See also: https://www.mathworks.com/matlabcentral/answers/580287-how-to-display-y-cb-and-cr-components-of-an-image#answer_95540...

7 jours il y a | 0

how to create color checkerboard any size

I'm going to treat this as two separate questions: How to create a colored checkerboard/chessboard How to make the squares ran...

7 jours il y a | 0

How to draw a shape using * and a loop

I seem to recall more, but I'm pretty sure I also recall some that got erased by the OP. Such are homework questions. https://...

7 jours il y a | 1

How to rotate this 2d matrix with some angle ?

You'll need more than zdata to rotate the plot. You'll need to define the x and y positions of the points. If you just want ...

9 jours il y a | 0

| A accepté

size of the left side is 2-by-1 and the size of the right side is 1-by-1001

I think this is what you're after: err_semi_imp(:,n) = max(abs(u_semi_imp_euler - u_exact(taxis)),[],2);

9 jours il y a | 0

How to display a number of black tiles on a figure

Depends what you mean by "tiles", and it depends what you want to do with the output. This might help. A = ones(100,100); f...

9 jours il y a | 0

Do not use the for loop to calculate the first number greater than 0 in each line

Here's one way. x = randn(10,10) [~,idx] = min(x<=0,[],2) % note the logical inversion firstnz = x(sub2ind(size(x),(1:size(x...

9 jours il y a | 2

How matlab calculate SINR? (Mathematically)

The documentation for sinr is fairly descriptive. From the synopsis: The default propagation model is Longley-Rice when terrai...

9 jours il y a | 0

how to fill the circle with grids?

Not sure where this is going, but here's one way. Instead of doing normal line-circle intersection finding, I'm going to find...

9 jours il y a | 0

i need to pad my matrix only from the ends like this picture

You should be able to use padarray() to pad with constant values. A = magic(5) Apadded = padarray(A,[3 3],0,'post') In this e...

9 jours il y a | 1

How can I set xticklabels to an array?

The array given to xticklabels() doesn't have to be a cell array of chars. It can be a cell vector of chars a cell vector of ...

10 jours il y a | 0

| A accepté

Find the perimeter of the shaded region-- the logical "1."

See bwperim() or regionprops() to get the perimeter. If you want to come up with a different way to define the perimeter, that'...

11 jours il y a | 0