Réponse apportée
how to divide image into 25 equal parts
If the image geometry is integer-divisible by the tiling, then you can use mat2cell() or direct indexing. Since this question...

environ 4 ans il y a | 0

Réponse apportée
How to divide/split RGB image into two parts and second part GRAY and concatenate them in a single image
Dead post, but answering these things is my hobby now. There are many ways to do the same thing, but let's start simple. W...

environ 4 ans il y a | 1

Réponse apportée
I have a Folder with subfolders of images. The subfolders consist of .JPG, .jpg and .jfif, I need them all to be converted to a single format and returned to their folders?
At least with the JFIF files I have, imread() has no problem reading them. imageDatastore() ignores them, but throws no error (...

environ 4 ans il y a | 0

Réponse apportée
How to change legend entries' order with addaxis function?
Try something like this example: N = 10; HOR = 1:N; D = rand(3,N); for jj=1:9 subaxis(3,3,jj,'MarginRight',0.3,'Margi...

environ 4 ans il y a | 1

Réponse apportée
Unable to get the output image for color transfer.
Again, you still haven't actually said what you are trying to do. I don't have your images either, so I can only guess how the...

environ 4 ans il y a | 0

Réponse apportée
Is it possible to subplot graphs with 7 y-axis in a figure and how ?
I've used addaxis() before: https://www.mathworks.com/matlabcentral/fileexchange/9016-addaxis ... but it hasn't been maintaine...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to use imwrite with image object?
Unless you can find somewhere (e.g. in metadata) to cram the x,y extent vectors, then you may have to store them somewhere separ...

environ 4 ans il y a | 0

Réponse apportée
How do I find the X and Y coordinates of image (want to plot this figure)
To paraphrase prior answers to similar questions: If you want the original data, you're out of luck. It's gone. Simply put, t...

environ 4 ans il y a | 0

Réponse apportée
CRT gamut solid
This wasn't available in 2012, but for anyone looking today, MIMT (on the File Exchange) has a tool that's made for this. The c...

environ 4 ans il y a | 1

Réponse apportée
How to create contour plot to show height?
You can always try just using griddata() S = load('scattered.mat'); % load scattered data n = 100; x = linspace(min(S.x),ma...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How do I find the first of the shortest words in a sentence?
You're not too far off. Tools like min(), max(), find(), etc support the output of the associated index. s = "The quick brow...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Can I convert one image in grayscale to monochrome?
One doesn't normalize data by subtraction. The process as described is common except for that one misunderstanding: A = imread...

environ 4 ans il y a | 0

Réponse apportée
Why binary images are not stored as logical when imwrite is used with .jpg file extension
From the documentation: https://www.mathworks.com/help/matlab/ref/imwrite.html#mw_0762e49f-e3b0-4b66-bcfb-0ef235680b4f For gra...

environ 4 ans il y a | 0

Réponse apportée
Need to calculate continuous pixels of all the dark regions.
My hardware limits how easily I can manage images that large, but I managed. The whole of the code needs cleanup to make this...

environ 4 ans il y a | 0

Réponse apportée
Image Background Overlay Color Changes Why Does It happen?
Dead post, I know. I just love talking to ghosts. Since no source images were ever provided, this was never a directly answera...

environ 4 ans il y a | 0

Réponse apportée
How to reduce random pixel colours in shape and try to blend them together or convert them to average of neighbouring pixels?
Depending on what you're trying to do and what you expect, look at: imfilter() and fspecial() for various averaging filters im...

environ 4 ans il y a | 0

Réponse apportée
How to change the size of a image, which is saved as a .mat file?
Since a .mat file can contain any number of things, I'm going to have to assume that: you know what's in the file and how to op...

environ 4 ans il y a | 0

Réponse apportée
Is it possible to use a function of Matlab toolbox without installing the tolboox itself?
You can just use basic tools to wrap angles. A = -360:40:360 B1 = wrapTo360(A) B2 = mod(A,360); mask = A>0 & B2==0; B2(mask...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
RGB to LAB converting to a weird colour
Image viewing/reading/writing tools are generally only capable of handling either single-channel grayscale images, single-channe...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to Split image based on a blue line in image - so i want to split image into 2 and the cut should be where a blue line is in the image.
Here's this. I'm going to assume that gaps represent a transition between relevant and irrelevant data. If that's not the case...

environ 4 ans il y a | 0

Réponse apportée
How to not display RGB values?
If you're using the "inspect pixel values" button in imtool(), then that's just calling impixelregion(). You should be able t...

environ 4 ans il y a | 0

Réponse apportée
is it possible to add/paint multiple colors(more than 100 up to 10000) to an RGBA image in MATLAB?
First off, a reminder that this is all using MIMT tools. One way would be to do a simple hue rotation to create a series of mod...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
how to solarize and remove background of image
Two things: The thing you're doing here %solar = uint8(255-I3); is not solarization. This is just the additive inverse or co...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Bar plot with a hatched fill pattern
You'd want to avoid hatchfill(). That's so old that it predates the current graphics system. Things like contour and bar plots...

environ 4 ans il y a | 6

| A accepté

Réponse apportée
How to extract the hand out of the background? (homework assignment)
If you're trying to create the composite image: FG = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/924...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
What is missing from MATLAB #2 - the next decade edition
I'm going to be a weirdo and say that I would like it if imshow() supported IA and RGBA inputs. I'm probably the only person wh...

environ 4 ans il y a | 0

Réponse apportée
How can I stack images from multiple folders?
As far as I know, nothing in MATLAB or IPT directly supports images with alpha, though you can certainly tote alpha around as a ...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Problem of using "imagesc" function
You need to reorient the data. You could use permute(), or you can do it with squeeze(): imagesc(imgaussfilt3(max(squeeze(img(...

environ 4 ans il y a | 0

Réponse apportée
How to do background Substraction for any RGB-image image using Matlab ?
You ask for two things: a means to segment a leaf image and a means to segment any image. It should be obvious that the latter...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Apply imfilter on specific regions (ROI) of RGB-image
The output image is class 'double', and you're storing uint8-scale data in it. It will be improperly-scaled for its class and w...

environ 4 ans il y a | 0

Charger plus