MATLAB: How to get the image after using impixel()

Image Processing Toolboximpixel

hi,
I used impixel() to select the particular pixels in an image.
pixelValues = impixel();
My problem is in displaying the selected pixels in the form of a image.
Can any one help me.
Thanks…

Best Answer

They already are in the image. You can't even use impixel() if you don't already have an image.