Resize within Selection?

Perhaps a resize button under the select tab that only resizes the pixels within a selection?