Réponse apportée
Save a .fig image to a .jpg image while maintaining size and resolution
Unless you have some sort of complicated composition of images and plots and annotations in the figure, avoid saving images by s...

plus de 3 ans il y a | 0

| A accepté

Question


Anyone else having problems moving comments?
I had tried to move this comment to attach it to the corresponding answer, but It seems that I cannot. Every time I try, I just...

plus de 3 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
Alleviate the border effect through extension by repetition and extension by mirroring on image
To see the border effect in question, consider the following example. % a 2D image inpict = imread('cameraman.tif'); % a ...

plus de 3 ans il y a | 0

Réponse apportée
ow to convert a 3Dplot to 2D?
Try this instead. view([0 1 0]) In this case, the parameter is a unit vector defining the view orientation. You're looking ...

plus de 3 ans il y a | 0

Réponse apportée
Fusion of colour PET /MRI image of brain
If you call imshow() and directly give it the path to an indexed-color image, it's smart enough to use the colormap from the fil...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
How do I split an array into small array of fixed size with increments by 1?
I'm sure there are other ways, but here's one way. % the input A = [2 5 6 10 2 4 2 1 -1 -12 0 3 7]; % the parameter blockl...

plus de 3 ans il y a | 1

Réponse apportée
how to combine 2 pictures in Matlab, fuji writing on mount fuji note: the background of the writing of fuji is transparent.
There are many different ways to approach this based on the details of what's required. The typical recommendation is to simp...

plus de 3 ans il y a | 1

Réponse apportée
change the color of the pixels that are present in an image
Updated to accomodate new images and fix the bad masking expression. In this example, I'm going to use this composite image: ...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How do I create a halftoning effect in MATLAB?
I'm going to completely ignore the issue of LPI and DPI. Something tells me that 20 people per month don't actually intend to f...

plus de 3 ans il y a | 0

Réponse apportée
Creation of a mask on RGB image
While this can be done by directly manipulating S in HSV over a restricted area, there are various ways it could be done. See t...

plus de 3 ans il y a | 0

Réponse apportée
How to build a circularly symmetric matrix from a vector
Depends on what exactly you're expecting. w = 20; % filter half-width % some arbitrary profile spread = logspace(0,-0.7,w...

plus de 3 ans il y a | 0

Réponse apportée
Unable to perform assignment because the left and right sides have a different number of elements.
Your array indexes are backwards, so the RHS is zero-length g3_60(qq) = max(wspd3(sp:ep)) / max(wavg1(sp:ep)); I don't know wh...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Delete plot from axes
If you have a handle to the plot object ph = plot(app.UIAxes_5,app.AxeX,app.AxeY,'MarkerSize', 20); then you should be able to...

plus de 3 ans il y a | 0

Réponse apportée
How can I rearrange the RGB planes of an image in MATLAB 7.9 (R2009b)?
Why does this question exist for this specific version? Why does that answer exist? Did I miss something? So you want to perm...

plus de 3 ans il y a | 0

Réponse apportée
Question for MAC and Linux users: get motherboard serial number
One option might be cat /sys/devices/virtual/dmi/id/board_{vendor,name,version,serial} though you would need root privilege to...

plus de 3 ans il y a | 0

Réponse apportée
How to concatenate GRAYSCALE and RGB images?
Alternatively, you can expand the grayscale image. Assuming the images have compatible geometry, they can then be edge-concaten...

plus de 3 ans il y a | 0

Réponse apportée
Combine images to create a composite without imfuse
Imfuse() is a simple visualization tool with limited flexibility. It's not a practical image compositing tool. For an image wi...

plus de 3 ans il y a | 0

Réponse apportée
How to Create function to invert Image colors
If you can be certain of the class of incoming images, you simply subtract the image from the nominal white value associated wit...

plus de 3 ans il y a | 0

Réponse apportée
how to creat a rectangular 100*100 in center of an image?
If you want to create a rectangular region of a fixed geometry: % get a grayscale image inpict = imread('cameraman.tif'); %...

plus de 3 ans il y a | 0

Réponse apportée
Editing Images In Matlab
Addition is probably fine in this case, but it is my hobby to elaborate. I look at this problem as a simple image blending/comp...

plus de 3 ans il y a | 0

Réponse apportée
i am getting this error
Two things: use elementwise multiplication between the sample and the filter kernel sum() normally only takes the sum over th...

plus de 3 ans il y a | 0

Réponse apportée
Automatically crop an image
Depending on the requirements and what the other photos look like, this might be one way, or at least a start % this is an rgb ...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Calculating distance in HSV color space
I think the simple answer is no ... but yes ... with a lingering quizzical look. HSV is not a color space. It's simply a map...

plus de 3 ans il y a | 0

Réponse apportée
Variable z must be of size [41 41]. It is currently of size [2 2]. Check where the variable is assigned a value.
I don't know where you were getting that error or how it's related to the code you posted, since you didn't explain. I did find...

plus de 3 ans il y a | 0

Réponse apportée
How to add text to an image
For passers-by: https://www.mathworks.com/matlabcentral/answers/101413-how-can-i-add-text-to-an-image-and-make-the-text-become-...

plus de 3 ans il y a | 0

Réponse apportée
RGB to Grayscale without using rgb2gray
This answer covers conversions for both BT601 luma (what rgb2gray() and im2gray() use) and BT709 luma. This answer covers conve...

plus de 3 ans il y a | 0

Réponse apportée
Convert an RGB image to grayscale but keep one color?
Refer to this answer for more details on how this can be done. While that link includes multiple methods, I'm going to use MIMT...

plus de 3 ans il y a | 0

Réponse apportée
imshow() poor image quality
Two things: First, by default, imshow() uses nearest-neighbor interpolation for display. Things with fine features will be sub...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How to make decreasing quadratic curve?
Are you after something like this? fs = 10200; % sampling frequency dt = 1/fs; T = 26; % total time rpm2 = 4500; f2 = rpm2...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Why is this block of code giving me an "Undefined function for input arguments of type" error?
Sometimes it's the little things that get ya ... transf_repsonse_plotter()

plus de 3 ans il y a | 0

| A accepté

Charger plus