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. Since the IT clowns hosed the mail server config, I only check my email once every month or two. If you're sending me questions about the forum, you won't get an answer. If you're sending me questions about my own FEX submissions, feel free, but accept the likely delay. Alternatively, ask a question on the forum and @DGM me so I'll get notified.

Statistics

All
  • Thankful Level 4
  • 12 Month Streak
  • Most Accepted 2021
  • Guiding Light
  • 5-Star Galaxy Level 4
  • Revival Level 3
  • Knowledgeable Level 5
  • Explorer
  • First Answer
  • Personal Best Downloads Level 3
  • First Review
  • First Submission

View badges

Content Feed

View by

Answered
how to remove the white backgroung
I don't know why you have a big white border on your image, or why your binarized image is uint8 RGB -- or why the apparent pixe...

etwa eine Stunde ago | 0

Answered
App Designer change colormap
I'm going to guess it's complaining about the missing handle on the gray2 line. If so, then do this: gray2 = flipud(gray(256))...

etwa 2 Stunden ago | 0

| accepted

Answered
Editing Legend Items for hatchfill2
There are a couple examples in the answers here: https://www.mathworks.com/matlabcentral/answers/478956-getting-hatchfill-to-pr...

etwa 2 Stunden ago | 0

Answered
legend line colors don't change
You need to give the line object handles to legend() to be sure it's picking the right objects. % THE APPLICATION: THIS IS NO...

etwa 3 Stunden ago | 0

Answered
Using imread and plot grayscale image
Tools like imshow(), image(), imagesc() will display single-channel (grayscale) images with the current colormap. In your case,...

etwa 6 Stunden ago | 0

Answered
what percentage of reduction in image size resulting from switching from the YCvCr colour space to RGB ?
If we're talking about "size" as in geometry (i.e. number of pixel elements), then if the YCbCr is not downsampled, then the ima...

etwa 17 Stunden ago | 1

Answered
How do I remove the spaces between concatenated images. they are too wide but i want the image to appear as 1 after concatenation
Depending on what your needs are, you can use montage(), imtile(), or something else. Instead of trying to display images one a...

ein Tag ago | 0

Answered
How can I represent points and lines in 3 dimensions?
Either move the hold on statement after the first call to plot3(), or issue a view(3) command after plotting. Creating a pi...

2 Tage ago | 1

| accepted

Answered
How to scan matrix in spiral way?
There is a demo function that can generate NxN arrays in an outward spiral. That could be used (with some arithmetic and flips/...

2 Tage ago | 0

| accepted

Answered
can someone help me with dithering ? I'm trying to do random dithering, I want to do halftone and pattern too, but I'm stuck at random
I don't know what your setPixel() and getPixel() functions are, or why you're incrementing a counter variable that's apparently ...

3 Tage ago | 0

Answered
hi ,I processed images on a folder. Now I want to save all the processed photos in the folder, but only the last photo is saved, what should I do?
Considering that there's missing code and open scopes, we're left to guess whether anything is inside of a loop or not. Either ...

3 Tage ago | 1

Answered
How can I overlap two images/pictures in Matlab?
There's an awful lot of traffic on this question. I don't know that passers-by actually have the same intent, but let's assume ...

3 Tage ago | 0

Answered
How to crop image by specific size and location ?
The rect parameter given to imcrop is [xoffset yoffset xwidth ywidth] I = imread('https://www.mathworks.com/matlabcentral/answe...

5 Tage ago | 0

| accepted

Answered
Hi, can i know how to find the orientation of an object?
Well, here's this. It's not robust, but then again, the test image isn't a real process image either, so I'm going to consider ...

5 Tage ago | 0

| accepted

Answered
How to make subplot size bigger?
Disregarding subplot arrangement, the edges are obscuring the faces due to the mesh resolution. figure colormap(parula(256))...

6 Tage ago | 0

Answered
Combine masked images into one, with each mask having a unique color.
If those would work for you, then you might also consider something like these: % do a simple mean of colored frames % a set...

6 Tage ago | 0

| accepted

Answered
removing some data in a 4d plot
You have to apply the same operation to all of the vectors. load 4dplot.txt x = X4dplot(:,1); ...

7 Tage ago | 0

| accepted

Answered
How to count the number of pixels in each section of an image set?
Depending on what your images are like and what you need, this may be a start. You can calculate the number of true (nonzero) p...

7 Tage ago | 0

Answered
Mirror about Y axis
Something like this: a = [1 2 3 4 5 6 7 8 9 10 11 12 13 14]; b = [1 2 3 4 5 6 7 8 9 10 11 12 13 14]; plot(a,b); hax = gc...

7 Tage ago | 0

| accepted

Answered
How does imresize() calculate the weights and indices for interpolation?
If I recall, this is essentially a windowed operation on a vector at this point, and you're finding the indices associated with ...

8 Tage ago | 0

Answered
How can the image Processing of .tif file of size 763x1023x4 be done?
Imshow() can only represent 1-channel (grayscale) images or 3-channel images (represented as RGB). So whatever you do to disp...

8 Tage ago | 1

| accepted

Answered
How to change text in plot follow colormap?
Consider the crude example: % you have some plots already plot(-0.5:4.5,0.5:5.5) cmap = winter(5); % use the colormap for ...

8 Tage ago | 0

| accepted

Answered
How to find cumulative sum from from-to matrix?
From the other comment: A = [0 10 20 30; 40 0 50 60; 70 80 0 90; 100 110 120 0]; B = [1 2 3 4;2 4 3 1]; % x (1,2) (2,3) ...

8 Tage ago | 0

Answered
please help me !!!
As mentioned in the comment you left, t is not a nonzero integer, so you can't use it as an index on the LHS of the assignment...

8 Tage ago | 0

Answered
dominant color for an RGB image
For sake of alternatives, MIMT imstats() has a few options that might be of use here. While imstats can obviously calculate t...

8 Tage ago | 0

Answered
How to draw a L*a*b* colour space or HSV colour space (2D)?
One thing that should be pointed out is that when plotting these things in a rectangular image, some consideration should be giv...

9 Tage ago | 0

Answered
How to find cumulative sum in matrix?
Here is one way: A = [10 20 30; 40 50 60; 70 80 90]; B = [1 2 3; 2 3 1; 3 2 1]; nrows = size(A,1); C = cumsum(A((1:nrows)....

9 Tage ago | 0

| accepted

Answered
GUIDE brightness/contrast function explained
I wouldn't say the code "works perfectly", since it doesn't do what is implied that it does -- though in its defense, its lack o...

10 Tage ago | 0

Answered
How do I get the value of C and ws in adaptive thresholding?
You have to select them based on the image content and your own intent. Refer to the documentation: https://homepages.inf.ed.a...

10 Tage ago | 0

Load more