
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. 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
RANK
41
of 258,102
REPUTATION
4,221
CONTRIBUTIONS
28 Questions
1,632 Answers
ANSWER ACCEPTANCE
71.43%
VOTES RECEIVED
434
RANK
1,841 of 17,785
REPUTATION
919
AVERAGE RATING
5.00
CONTRIBUTIONS
9 Files
DOWNLOADS
213
ALL TIME DOWNLOADS
6125
RANK
of 110,265
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
How to formulate the following vector?
Something like this should work: V = reshape([1:size(R,2); R(4,:)],1,[]);
24 minutes ago | 0
Plot Boxes then Plot them in the original photo ?
The above comment should suffice if all you want is to plot with polyshape. If you actually want to modify the image without ch...
4 hours ago | 0
| accepted
I want to imread multiple selected files via uigetfile
This assumes that the images are all simple I/RGB images (not indexed images, no RGBA images or multiframe GIFs) [fname dirname...
6 hours ago | 0
MATLAB Answers Wish-list #5 (and bug reports)
Well, I skimmed a bunch of these threads (you might have noticed) and I didn't see anything about this sort of thing, so I'll ju...
1 day ago | 0
how to split a string
To address the OP's particular request: linew = 4; teststr = '123456789'; excess = rem(numel(teststr),linew); output = res...
2 days ago | 0
convert vector of character to number
Are the inputs always single characters? Are the inputs only A or B? Are the inputs always letters? Does case matter? Here's...
2 days ago | 0
multi-dimensional array - summing the layers (combining)
To sum along a given dimension: dim3sum = sum(val,3);
2 days ago | 1
| accepted
showing warning in command window
Yes, as I mentioned, you need to rename that file or move it somewhere off the search path so that MATLAB doesn't try to use it....
2 days ago | 0
Please explain the following line
Without any context, all anyone can give is an answer without context. min(inp(:)) % this is the global minimum of inp max(in...
3 days ago | 0
i have an error in imshow
You likely have a user-created file called image.m somewhere on the path. You can try to see what is on the path by doing whic...
3 days ago | 0
Fading/shading an image
A 'multiply' blend is one of the simple and fundamental kinds of image blending. If you have appropriate images to begin with a...
3 days ago | 0
delete an element from string
How do you intend to identify the thing you want to delete? Do you simply want to delete the second string in the array? str...
3 days ago | 1
| accepted
help on graph (w/o common matrix plotting built-in functions)
In the spirit of ridiculousness, here is my attempt: % random binary data data = randi([0 1],10,10) data = 1 1 ...
4 days ago | 0
how to convert rgb to hsi
MATLAB has no tools for HSI or HSL. There are tools on the File Exchange. The ones I use are here: https://www.mathworks.com/...
4 days ago | 0
How to find mean Hue and mean Saturation of an HSI image not HSV image?
MATLAB has no tools for HSI or HSL. There are tools on the File Exchange. The ones I use are here: https://www.mathworks.com/...
4 days ago | 0
Highlighting a Region of interest and getting the average Hue value ?
Taking the mean of hues is not as simple as described, and it's likely an unnecessary complication. H is a circular continuum. ...
4 days ago | 0
row that increases more every element
Here's my guess: A = randi([10 20], 1,10) B = cumsum(A) % cumulative sum of A
5 days ago | 0
extracting mean pixel value from an image
This might be a start, but bear in mind how fragile this will be if the colors change or the swatch becomes rotated or something...
5 days ago | 1
| accepted
Masking multiple parts of image
As for creating a mask with multiple circular regions, you can use the ROI tools. You could do this interactively something l...
5 days ago | 1
| accepted
How to change white on the outside to black?
Some of the objects are connected to the surrounding white blob. You'll need to deal with that. You might be able to do someth...
5 days ago | 0
| accepted
Can I convert shades of red (Pink, Red, Maroon) in this RGB image to one single color, lets say blue?
Greetings from the distant future. Since the question leaves some details unknown and OP likely no longer needs the answer, I'm...
6 days ago | 0
Invert even and odd columns in an image
Depends what you need. "Inverting even and odd column positions" might be interpreted a few different ways. By simply doing a ...
6 days ago | 1
| accepted
Apply Average Filter on Image with just next-before 5 columns
Consider the example: % a simple test image with a single white pixel in the center inpict = zeros(13); inpict(7,7) = 1; %...
6 days ago | 1
| accepted
How to remove the white background blobs touching the border of the image?
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...
6 days ago | 0
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))...
6 days ago | 0
| accepted
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...
6 days ago | 0
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...
6 days ago | 0
| accepted
Using imread and plot grayscale image
Tools like imshow(), image(), imagesc() will display single-channel (grayscale) images with the current colormap. In your case,...
6 days ago | 1
| accepted
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...
7 days ago | 1
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...
7 days ago | 0