Skip to main content
Solved

Hi can I change an image(jpeg) to matrix


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.

View original
Did this help you find an answer to your question?

3 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 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

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
  • 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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings