sir,
As my image is in polygon shape,i m unable to crop the whitespace with imrect().so please suggest me a suitable code to remove the whitespace around the image.
|
|
0
|
|
|
|
Reply
|
nad
|
2/18/2011 5:43:03 AM |
|
On Feb 18, 12:43=A0am, "nad f" <nfhas...@gmail.com> wrote:
> sir,
> =A0 =A0 =A0As my image is in polygon shape,i m unable to crop the whitesp=
ace with imrect().so please suggest me a suitable code to remove the whites=
pace around the image.
-------------------------------------------------
This is so vague. Maybe you just set it to zero???
whitePixels =3D grayImage =3D=3D 255;
grayImage(whitePixels) =3D 0;
If not, then post your image to uploadhouse.com and be more exact in
what you want.
P.S. Please reply to your first post when you want to clarify
something in it. Don't start a completely new thread.
|
|
0
|
|
|
|
Reply
|
ImageAnalyst
|
2/18/2011 11:28:50 AM
|
|