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

4 years ago | 0

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

4 years ago | 1

Answered
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 (...

4 years ago | 0

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

4 years ago | 1

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 1

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

4 years ago | 0

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 1

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 1

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 6

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

| accepted

Answered
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(...

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 0

Load more