![[Graphics:../HTMLFiles/index_256.gif]](../HTMLFiles/index_256.gif)
The selected area by using area selection tool is now returned as an ImageData.
In[97]:=
![]()
The same image is shown again through this ImageData.
In[98]:=
![]()
Function to apply filter operation to the region of interest is defined.
In[99]:=
![]()
In[100]:=
![filterThreshold[image_, roi_] := If[image =!= Null && roi =!= Null, RegionProcessing[Threshold[#, 164, {0, 255}] &, image, roi], Null]](../HTMLFiles/index_265.gif)
The Polygon[ ] poly derived from the Java Photo Editor is used as the region of interest in this case.
In[101]:=
![]()
In[102]:=
![]()
The result ImageData is shown.
In[103]:=
![]()
Converted by Mathematica (July 17, 2003)