Displaying a image of given pixel using GUI

3 visualizzazioni (ultimi 30 giorni)
Hello...... Any one help me over this. Iam creating a GUI ,i want to give an input as (x,y) pixel values to an image .Output should display another figure ,i.e that "particular pixel of given image"

Risposta accettata

Image Analyst
Image Analyst il 31 Mar 2018
You might try
thePixel = impixel(yourImage, column, row);
imshow(thePixel, 'InitialMagnification', 1600);
or use a zoom scroll panel. See attached.
  1 Commento
Image Analyst
Image Analyst il 31 Mar 2018
In advance of what? The code I gave you should work. What else do you need? If you need GUIDE help, see GUIDE Tutorial

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by