Solved

Hi can I change an image(jpeg) to matrix

  • 30 January 2018
  • 3 replies
  • 5 views

Badge

icon

Best answer by daveatsafe 30 January 2018, 19:52

View original

3 replies

Userlevel 2
Badge +17

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.

Badge

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

Userlevel 2
Badge +17

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.

Reply