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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 1

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

| akzeptiert

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

etwa 3 Jahre vor | 0

| akzeptiert

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

| akzeptiert

Beantwortet
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;...

etwa 3 Jahre vor | 0

Beantwortet
Can't open or create scripts in MATLAB 2023a on Mac.
This thread links to a handful of similar threads. https://www.mathworks.com/matlabcentral/answers/1925165-matlab-editor-is-n...

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 1

| akzeptiert

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 2

Beantwortet
May I please ask what's the error of line4 ?
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 ...

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 1

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

| akzeptiert

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

| akzeptiert

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

Beantwortet
How can I draw ovals with insertshape?
According to the documentation for insertShape(), there is no such option for an oval, although I suppose you could consider a c...

etwa 3 Jahre vor | 1

Beantwortet
how can i apply an oval mask to extract face region?
Oh well if you want an oval, you're in luck. This is one way to generate oval masks. inpict = imread('peppers.png'); [rows,...

etwa 3 Jahre vor | 0

Beantwortet
How to automatically input function arguments?
Assuming that allcomb() takes a variable-length argument list, this is one way. % inputs n = 2; a = [1 2]; b = [3 4]; % c...

etwa 3 Jahre vor | 0

| akzeptiert

Beantwortet
count the number a letter appears in a string and plot a histogram
I'm sure there are text analysis tools for this, but here's one basic way. categories = 'ACGT'; % generate a test string ...

etwa 3 Jahre vor | 0

Mehr laden