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.

Statistics

All
  • 3 Month Streak
  • 5-Star Galaxy Level 4
  • Revival Level 3
  • Knowledgeable Level 4
  • Pro
  • Explorer
  • Thankful Level 2
  • First Answer
  • Personal Best Downloads Level 3
  • First Review
  • First Submission

View badges

Content Feed

View by

Answered
circle problem, circumscribed to another circle and the area, area per image detection
This could be improved or elaborated, but it's a simple start: % let's assume that 1px = 1 square meter r = 400; C = rand(10,...

etwa 10 Stunden ago | 0

Answered
How to combine and rgb and a thermal image?
Let's just start with concatenation. We have two test images: an RGB visible image and a single-channel thermal image. How I m...

etwa 11 Stunden ago | 0

Answered
Chang a color in an image to black
Improving selectivity of the orange mask is really only half the battle; you'd need to also restrict the red mask to keep them ...

2 Tage ago | 0

| accepted

Answered
Error: Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 1-by-41.
It's unclear what your intentions are. If I assume you're trying to do this all elementwise WRT h, then you missed an index: p...

3 Tage ago | 0

Answered
How to display multiple ROI (masks) in different colors on one image?
I know this is probably too late to help, but consider this: fontSize = 16; Image = imread('Report_Picture.png'); [rows, colu...

4 Tage ago | 0

Answered
Help correcting the sequence function
% if you're asking the user for a number, use a clear description % "sequence matrix" doesn't tell anyone what the number mea...

4 Tage ago | 0

Answered
Contourf colorbar color range
If you want a discrete colormap with nonuniformly-spaced breakpoints, you're going to have to make one. You're probably using a...

4 Tage ago | 0

Answered
This the main file for hill cipher
uhh okay? f = 1; But if you really want my advice, asking the user to input a bunch of things one element at a time using in...

4 Tage ago | 0

Question


How to find one's own comments on File Exchange
I recall being able to see a list of my own comments and comments i've received on my FEX submissions. Given that FEX comments ...

4 Tage ago | 0 answers | 0

0

answers

Answered
Unable to draw just the boundary of an image
Well, you're loading a grayscale image subject to destructive compression as a jpg file. At no point do you explicitly threshol...

5 Tage ago | 0

| accepted

Answered
Improve the speed of nested for loops through vectorization or similar methods
One big speed improvement you can do is to move the scalar multiplication of Dz outside the loop, but if you don't use a loop, i...

6 Tage ago | 1

| accepted

Answered
Solving for different thetas in an equation.
If you have a sufficient amount of information to describe the number of variables, then yes. If I make some assumptions: % as...

6 Tage ago | 0

Answered
Cell components perpendicular division
Something like: A = num2cell(reshape(1:16,[4 4])) % example array B = cellfun(@rdivide,A,circshift(A,[-1 -1])) % output To de...

6 Tage ago | 2

| accepted

Answered
How do I find the phase of any point in the graph below
Considering that there's only one boundary of interest, it's fairly simple. x=0:10:91; y=0.01*x.^2; xt=[30 70]; yt=[60 2...

6 Tage ago | 0

| accepted

Answered
contourf without isoline but with label
Set linecolor to 'flat' [C,h] = contourf(peaks(20),10); set(h,'LineColor','flat') clabel(C,h,'FontWeight','bold','FontSize',5...

7 Tage ago | 2

| accepted

Question


Inconsistent interpretation of tabs in the forum post editor
To preface, I don't even know if this problem can be replicated by others. Across various Firefox-based browsers, the post edit...

8 Tage ago | 0 answers | 1

0

answers

Answered
I need to add a colorbar to an indexed image showing by imshow()
It seems to me that what you're trying to do is just scale the tick labels and not actually scale the mapping (which is what you...

9 Tage ago | 0

| accepted

Answered
how to send pcolor contour to back when updating contour z value?
If you have the handle of the object which represents the lines, you should be able to reorder the stack: uistack(lineplothandl...

9 Tage ago | 0

| accepted

Answered
How can I add text to an image and make the text become part of the image within MATLAB?
Doing display capture seems like a poor workaround. The suggested method will fail for any practically large images. A reduced...

9 Tage ago | 0

Answered
How do I multiples of a number in an array
Depends how far you want to go with it. You could leverage implicit array expansion to do it in a way that might make a more ge...

9 Tage ago | 0

| accepted

Answered
Change a specific color in an image to another one
Bear with me. My connection is worse than normal, and the scripts on this site simply break below about 300 kbps. I can't affo...

9 Tage ago | 0

| accepted

Answered
Superimpose Image 1 onto bottom right of Image 2
disp() is a function that takes only one argument, yet you're feeding it indices like it's an array. The assignment will try to...

10 Tage ago | 0

| accepted

Answered
is there are a way to take the result of this figure with out input data ?
I've posted similar answers before, and each time I have to point out that the quality of any extracted information will be ques...

13 Tage ago | 1

Answered
How do I plot a function with a variable that has multiple values?
v = [0 0.5 1]; c = [1 1 1]*0.5; subplot(2,1,1) plot(v,c,'x-') subplot(2,1,2) plot(c,v,'x-')

13 Tage ago | 0

Answered
Switch skipping over cases in new loop
That's not how switch-case statements work. The case is only entered when the switch expression (pp is numeric) is equal to the...

13 Tage ago | 1

Answered
Calculate distances from region props centroid data to edge of binary shape
Depends on how your objects are shaped, but this should be a start: inpict = rgb2gray(imread('blobs.png'))>32; S = regionpro...

13 Tage ago | 0

Answered
How to find the index of any maximum matrix?
s = [10 10]; x = randi(100,s) [~,idx] = max(x(:)) % this gets the linear index [row col] = ind2sub(s,idx) % if you want subs...

14 Tage ago | 0

| accepted

Answered
How to remove this small round shaped error highlighted in the image below.
Again, this is subject to questions, and is based on a modified screenshot. % load the image and fix it ip = imread('image.p...

14 Tage ago | 0

Answered
How to specify different colors to multiple shape inserts on an image?
Again, I can't test this because I don't have CVT, but as I understand it, insertShape() should be able to accept multiple color...

14 Tage ago | 0

Answered
How to insert multiple circles on selected points on an image?
I don't have CVT, so I can't test this, but you're never saving the output of shape. Each time, you're starting from the source...

15 Tage ago | 1

Load more