From: Deepak Sankar on 26 Jul 2010 14:56 Hey all, I have a question with cropping images using imcrop interactively. I need to crop a image to user defined size. Is it possible to have a constant crop size but the crop location might be different for different images. By using imcrop, we can specify the size but we also have to include the location, which I dont want to. The location has to be specified by the user interactively. Thanks Deepak
From: Joseph on 26 Jul 2010 15:30 "Deepak Sankar" <deepaksankar(a)yahoo.com> wrote in message <i2kloi$mnn$1(a)fred.mathworks.com>... > Hey all, > > I have a question with cropping images using imcrop interactively. I need to crop a image to user defined size. Is it possible to have a constant crop size but the crop location might be different for different images. By using imcrop, we can specify the size but we also have to include the location, which I dont want to. The location has to be specified by the user interactively. > > > Thanks > Deepak I've done something like this before. Try using "ginput" to get the user to specify the starting position for cropping.
|
Pages: 1 Prev: need a solution regarding video processing Next: AVI files |