Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private BufferedImage RemoveRequiredMinimalSeamsFromImage() {
- // Fill matrix with energy values - Noy
- // Calculate matrix minimal seam path values - Yoni
- for(int i = 0; i < numOfSeams; i++) {
- // var minimalSeamPath = FindMinimalSeamPath(matrix) - Noy
- // RemoveSeamAndUpdateMatrix(minimalSeamPath, matrix) - Yoni
- }
- var outputImage = imageProcessor.newEmptyOutputSizedImage();
- // TODO: Update outputImage RGB values according to the reduced image values
- return outputImage;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement