Skip to main content
Solved

Hi can I change an image(jpeg) to matrix

  • January 30, 2018
  • 3 replies
  • 29 views

Forum|alt.badge.img

Best answer by daveatsafe

Hi @ferjanibarour,

The RasterCellCoercer transformer will convert your image into an array of points, with the pixel value as an attribute on the point. For more detailed information, please see RasterCellCoercer.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 1637 replies
  • Best Answer
  • January 30, 2018

Hi @ferjanibarour,

The RasterCellCoercer transformer will convert your image into an array of points, with the pixel value as an attribute on the point. For more detailed information, please see RasterCellCoercer.


Forum|alt.badge.img
  • Author
  • 7 replies
  • February 12, 2018

Hi DaveAtSafe So, how can I create a raster to use point on raster value extractor to find the place of pixel

imgpsh-fullsize-2.png

imgpsh-fullsize-1.png

imgpsh-fullsize.jpg

imgpsh-fullsize.png


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 1637 replies
  • February 13, 2018

Hi @ferjanibarour,

The JPEG input is already a raster, so you just need to connect it to the Raster input of the PointOnRasterValueExtractor. You can remove the RasterCellCoercer - it's not needed in that location.