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

más de 3 años hace | 0

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

más de 3 años hace | 1

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

más de 3 años hace | 0

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 1

| aceptada

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

más de 3 años hace | 0

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

más de 3 años hace | 2

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

más de 3 años hace | 0

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

más de 3 años hace | 1

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 1

Respondida
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,...

más de 3 años hace | 0

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

Cargar más