I am useing the impixel(image.jpg) to find the intensity of image.It is taking a long time.Is there any other way to find the intensity.

 Akzeptierte Antwort

Image Analyst
Image Analyst am 4 Apr. 2020

0 Stimmen

It depends on your exact definition of "find". Exactly what do you mean by that?
If you just want to mouse around on the image and see the (x,y) and (r,g,b) on the figure window in a status text line, call impixelinfo:
hp = impixelinfo();
You can move it to a different place by setting the Position property of hp:
hp.Units = 'normalized';
hp.Position = [0.2, 0.95, 0.3, 0.05];

5 Kommentare

BILAL HUSSAIN
BILAL HUSSAIN am 5 Apr. 2020
I have more than 1000 images .I need to find the pixel intensity of every image.The command "impixelinfo() is not suitable for it because I want to use this in loop to analysis every image.The impixel(image.jpg) is taking much more time.I just want to know any sutiable method which is more fast and efficient.
Image Analyst
Image Analyst am 5 Apr. 2020
I'm sorry, but we can't help you unless you answer my first question. Because as far as we're concerned, you already HAVE found the intensity of each pixel, and those intensities are stored in the images themselves, so there is nothing more to do.
BILAL HUSSAIN
BILAL HUSSAIN am 5 Apr. 2020
Actually I want to find the intensity of full image in the form of matrix so that I can further use it processing
intensityOfFullImage = imread(fullFileName);
BILAL HUSSAIN
BILAL HUSSAIN am 5 Apr. 2020
THANK YOU

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by