Community Profile

# 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.

All

#### Content Feed

View by

I have some thermal images and i need to find the maximum temperature each images and locate that pixel in the image
There are a number of demos for how to do this. I'm pretty sure you've seen some, so I'm assuming that you know the limitations...

1 hour ago | 0

How can I use histogram equalization to enhance the quality of a color image(flower.jpg)? Draw a flowchart & write a matlab program for this.
Define "enhance the quality". There's no reason to expect that leveling the histogram will generally improve the visual appeara...

20 hours ago | 0

Find all top most black colored points in a binary image on MATLAB and draw a curve joining all of them
These two statements are apparently contradictory. "Identify top most point in each character of a word image. Draw a curve tou...

1 day ago | 0

How to divide 256X256 matrix into sixteen 16X16 blocks?
For what it's worth, this is how it'd be done in MIMT. inpict = imread('cameraman.tif'); % 256x256 % detile the image into...

2 days ago | 1

how to get RGB data from image object generated by imagesc()?
I think it's arguable that the purpose of imagesc() involves the handling of arbitrarily-scaled data as images. On that assumpt...

2 days ago | 0

Select pixels from a matrix given the centers ?
For addressing scattered points, use sub2ind(). Here's an example. % this is your array M = reshape(0:99,10,10) % these ar...

3 days ago | 0

| accepted

Maximum number of frames in unint16 class tiff image (using libtiff).
I don't think this is a limitation on the number of channels. I think you're simply running into the 4GB limit and would need t...

3 days ago | 0

| accepted

finding edge/ plot from image/ maze
I'm assuming that the goal is to take the second image and reduce it to plottable data such as would generate a plot like the fi...

3 days ago | 0

How can i plot the YCbCr histograms with the correct colour points (0-255)
Personally, I've always thought those histograms were a bad idea. The fact that the bins are colored against a background of si...

4 days ago | 0

| accepted

I need help writing this function
Break it down into constituent terms to make it easier to write. See if this is what you're after. % some fake data x = 1:10;...

5 days ago | 0

Can't open or create scripts in MATLAB 2023a on Mac.

6 days ago | 0

Hi i have a set of data which is temperatures in degree celsius ranging from 10 deg to 250 deg but i need to plot only the temperatures ranging from 20 and 70 degrees .
I'm just going to throw this out there while I'm waiting. For the moment, I'm going to assume that the image is a pseudocolor...

6 days ago | 0

| accepted

how to Scale the pixel values of the image so that the minimum value be- comes 0 and the maximum value becomes 255
You can do this with imadjust(). outpict = imadjust(inpict,stretchlim(inpict,0)); That will work for gray or RGB images of a...

7 days ago | 0

Exact replication of a colorbar
I'm going to do this differently and attempt to reconstruct the original map from its approximate breakpoints, thus removing muc...

7 days ago | 2

You need to pass the image as an input argument when you call your function -- just as is done in the question you posted. The ...

7 days ago | 0

How do I generate a colorbar for NDVI?
I could be lazy and just assume that it's spring(). That said, if we can assume for a moment that the mapping is linear: A f...

8 days ago | 1

i am trying to read a image file of format result.int that is integer image file not able to open with imread function
I'm going to assume that's an SGI black/white image. Since you didn't provide an example, I have no way of knowing that it's no...

8 days ago | 0

Connect edges in image Matlab
Let's start with what the assignment apparently expected you to do. We can see that the isolated spade will be blob #2, so what...

8 days ago | 0

How to change color in overlapping image ?
Imfuse() does support channel specification. That may suffice in some cases. % read the files frame1 = imread('https://www....

9 days ago | 0

Surf plot of minimum values of four matrices
I don't know how you intend to get that plot from that data, but maybe your actual data has more resolution. ZCV=[1 2 1 2;6 5...

9 days ago | 0

| accepted

How draw spline on image
This is how I would do it. Start by taking the image and converting it to a set of XY data describing each contour. You coul...

9 days ago | 0

Creating a composite 2d image from multiple 2d arrays with a single colormap based on the intensity of each 2d array in each pixel
A given point in the image holds only three values. If you are superimposing more than three images, the color information must...

9 days ago | 0

| accepted

Plot/Draw on image?
Avoid figure capture of images whenever possible. It's the same as taking a screenshot. The image will likely be resized and p...

10 days ago | 0

How to show picture at specified relative position in a plot?
To insert an image does not require an overlaid axes. You can do it as in this example: https://www.mathworks.com/matlabcentra...

10 days ago | 0

How to Place an image over existing plots?
This doesn't necessarily require creating another axes object. This can be done directly by setting xdata/ydata for image/image...

10 days ago | 0

How to save an image with 3D info in 2D form and read the image in a way that not reducing quality?
Do not save images by displaying them and capturing the figure. That's the same as taking a screenshot. It generally will not ...

10 days ago | 0

How to draw a rectangle on a image?
I'm going to guess that whatever the image was, it was either too small for the specified rectangle to be in-frame, or it was la...

10 days ago | 0

Where to find changes in functions in Matlab versions?
The online release notes are maddeningly incomplete and slow, and trying to find the PDF RN is like some kind of ridiculous maze...

10 days ago | 0