Answered
xcorr results: c written in long format, lags in wide format
I don't see it documented anywhere, but lags is always a row vector, regardless of the orientation of the input. If you want it...

4 months ago | 0

| accepted

Answered
how to get one shape out of multiple shapes
patch() doesn't create a file. If you created a file somehow, nobody knows how you did it. I'm not sure where this is going,...

4 months ago | 0

| accepted

Answered
Image Compression Algorithm Error
Your problem is a matter of trying to address the pages of an ND array using a mix of 2D logical addressing and subscript addres...

4 months ago | 0

Answered
attach variabe in image
If you want to add labels to a figure, what's wrong with text() or annotation()? If you want to add text directly to an image...

4 months ago | 2

Answered
How to find the minimum difference between the 3 elements of a vector in app designer?
I take this to mean the three elements of X with the smallest extreme spread. I don't see that pdist2() would work for that. T...

4 months ago | 1

| accepted

Answered
how can i blur an image background only
Using basic tools: % an image (RGB, uint8) inpict = imread('peppers.png'); imshow(inpict,'border','tight') % a mask which se...

4 months ago | 0

Answered
Replication of a colorbar in MatLab
I just reconstructed it from the image. See the attached file. Z = peaks(100); imagesc(Z) colorbar colormap(orangeaqua(25...

4 months ago | 1

| accepted

Answered
you need to use ascii code too
I fixed the improper concatenation and bad inputs to bar() Program_Pr11('text.rtf.fakeextension.txt') Of course, the bar label...

4 months ago | 0

Answered
Binary Image from 2D plot
One way would be to use poly2mask(), but bear in mind that your coordinate space changes. That may complicate the expense of te...

4 months ago | 0

Answered
Overlay two images using transparency
How would I do it? If the goal is to produce a raster image as output, and you don't need other corresponding graphics objects ...

4 months ago | 0

Answered
Is there a variant of nlfilter for color images?
No, there's not. As far as I'm concerned, nlfilter() is usually not worth using. It's slow, it's crippled by its lack of edge ...

4 months ago | 0

| accepted

Answered
imwrite result of viscircles instead of creategraphic
Viscircles() does not create raster image data. The only way to capture its output is as you say, a screenshot. I see three op...

4 months ago | 0

| accepted

Answered
Blend Red,Blue,Green squares
See also: https://www.mathworks.com/matlabcentral/answers/1681419-overlapping-coloured-circles-rgb-circles#answer_927789 https...

4 months ago | 0

Answered
How to generate an RGB image from a 8-bit greyscale image that has an uneven background?
I'm not sure where this is going, but maybe this is a start. % read the image inpict = imread('https://www.mathworks.com/mat...

4 months ago | 0

| accepted

Answered
Write function to convert decimal to binary
Meh. I'm going to ignore negative numbers for now. The question doesn't seem to actually mention it, though I strongly suspect...

4 months ago | 0

Answered
Extract shapes from photos as graphs using MATLAB and express them as functions
This isn't an answer to the curve fitting problem, but first things first. Fix the image so you're not trying to fit a curve to...

4 months ago | 0

| accepted

Answered
how to convert color image to gray in app designer in different windows without using imread and rgb2gray?
EDIT AGAIN: better generalization and broader support for all the oddball things I've included a number of different BMP ima...

4 months ago | 0

Answered
How should the output look like of the MSE of a median filtered image?
The error image is as expected for the thing you did, but I don't know why you're doing it. You're comparing the filtered image...

4 months ago | 0

Answered
How do you apply a 3x3 median filter on an image that is noisy (salt and pepper) , and what is it supposed to do?
This is the third time you've asked this question. Why? https://www.mathworks.com/matlabcentral/answers/2055004-i-am-not-sure-...

4 months ago | 0

Answered
How to apply low pass filter on an image
You can either use imfilter() in conjunction with fspecial() to generate the filter kernel, or in the specific case that you wan...

4 months ago | 0

Answered
I am not sure if my output is correct regarding median filters.
Line 2 creates an anonymous function that calculates the median of a given numeric array. It's what will process the image cont...

4 months ago | 0

Answered
I have a salt and pepper picture, and I need to use a median filter to remove the noise and filter it.
This answer links to demos by both ImageAnalyst and myself. The demos cover fixed-window filters, adaptive filters, and conside...

4 months ago | 0

Answered
how to averging the average the images in the folder
There are plenty of examples of how to do this already on the forum. Here's another. % some example images in the demo directo...

4 months ago | 0

Answered
enhances image by min max values
The reflexive answer would be: inpict = imread('pout.tif'); % uint8 outpict = mat2gray(inpict); % unit-scale double imshow([i...

4 months ago | 0

Answered
Extract data from the image
Why would you save an image by embedding it in a figure? Creating completely pointless obstacles is a great way to make sure no...

4 months ago | 0

Answered
How to extract data from PDF that contains a plot and a table
fname = '35517.001.pdf'; str = extractFileText(fname); % get the main table T = extractBetween(str,'Dmax','AVERAGE'); T = ...

4 months ago | 0

Answered
Change variable name across code lines
This behavior might have changed in the newer versions, but I think I have a way that might work. If you look for a place whe...

4 months ago | 0

| accepted

Answered
I need correction for following simple code of histogram equalization for the image.
It's sunday, so it's time to exercise boredom on dead questions. This is one of those questions where it's clear that the given...

4 months ago | 0

Answered
uint8 vs int8 in imshow
Imshow() is odd in that it does actually support int8 images. It seems most other IPT tools which are class-sensitive don't. A...

4 months ago | 0

Answered
Cyclic colormap for visualizing angles
Here's a comparison, for what it's worth. I'm using multiple FEX tools here, so obviously this won't run if you don't go get th...

4 months ago | 0

Load more