Message Boards Message Boards

How to get the X and Y coordinates of ImageData separately ?

Posted 4 years ago

Dear Members, I’m trying to get the coordinates of the ImageData, in term of X and Y separately I have paste my trials and would gratefully need your help.

cc = ColorConvert[imageOfPalmTree, "Grayscale"]; ImageDimensions[cc] imageCoordinates = ImageData[cc]; MatrixForm@ImageData[ImageTake[cc, {353, 367}]]

(exporting coordinates of ImageData) Export["imageCoordinates.csv", imageCoordinates] exportStringimageCoordinates = ExportString[imageCoordinates, "Table"]; Export["exportStringimageCoordinates.csv", exportStringimageCoordinates] imageOfPalmTree

Attachments:
POSTED BY: Manoj Imrith
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract