Skip to main content
Format code
Source Link
Rohit Namjoshi
  • 10.3k
  • 6
  • 18
  • 69

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.

  • In 3D, the array generated by ImageData [image] is arranged such that the first part corresponds to the top slice, with rows running from back to front, and columns running from left to right.

    cc = ColorConvert[imageOfPalmTree, "Grayscale"]; imageCoordinates = ImageData[cc]; ListPlot3D[imageCoordinates, Mesh -> None]

    Export["imageCoordinates.csv", imageCoordinates]

    exportStringimageCoordinates = ExportString[imageCoordinates, "Table"]; enter image description here Export["exportStringimageCoordinates.csv",
    exportStringimageCoordinates]

In 3D, the array generated by ImageData [image] is arranged such that the first part corresponds to the top slice, with rows running from back to front, and columns running from left to right.

cc = ColorConvert[imageOfPalmTree, "Grayscale"];
imageCoordinates = ImageData[cc];
ListPlot3D[imageCoordinates, Mesh -> None]

Export["imageCoordinates.csv", imageCoordinates]

exportStringimageCoordinates = ExportString[imageCoordinates, "Table"];

Export["exportStringimageCoordinates.csv", exportStringimageCoordinates]

enter image description here

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.

  • In 3D, the array generated by ImageData [image] is arranged such that the first part corresponds to the top slice, with rows running from back to front, and columns running from left to right.

    cc = ColorConvert[imageOfPalmTree, "Grayscale"]; imageCoordinates = ImageData[cc]; ListPlot3D[imageCoordinates, Mesh -> None]

    Export["imageCoordinates.csv", imageCoordinates]

    exportStringimageCoordinates = ExportString[imageCoordinates, "Table"]; enter image description here Export["exportStringimageCoordinates.csv",
    exportStringimageCoordinates]

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.

In 3D, the array generated by ImageData [image] is arranged such that the first part corresponds to the top slice, with rows running from back to front, and columns running from left to right.

cc = ColorConvert[imageOfPalmTree, "Grayscale"];
imageCoordinates = ImageData[cc];
ListPlot3D[imageCoordinates, Mesh -> None]

Export["imageCoordinates.csv", imageCoordinates]

exportStringimageCoordinates = ExportString[imageCoordinates, "Table"];

Export["exportStringimageCoordinates.csv", exportStringimageCoordinates]

enter image description here

Source Link

coordinates of the ImageData

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.

  • In 3D, the array generated by ImageData [image] is arranged such that the first part corresponds to the top slice, with rows running from back to front, and columns running from left to right.

    cc = ColorConvert[imageOfPalmTree, "Grayscale"]; imageCoordinates = ImageData[cc]; ListPlot3D[imageCoordinates, Mesh -> None]

    Export["imageCoordinates.csv", imageCoordinates]

    exportStringimageCoordinates = ExportString[imageCoordinates, "Table"]; enter image description here Export["exportStringimageCoordinates.csv",
    exportStringimageCoordinates]